-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdlgsongshop.h
51 lines (39 loc) · 984 Bytes
/
dlgsongshop.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef DLGSONGSHOP_H
#define DLGSONGSHOP_H
#include <QDialog>
#include "shopsortfilterproxymodel.h"
#include "songshopmodel.h"
#include "dlgsongshoppurchase.h"
#include "settings.h"
namespace Ui {
class DlgSongShop;
}
class DlgSongShop : public QDialog
{
Q_OBJECT
public:
explicit DlgSongShop(QWidget *parent = 0);
~DlgSongShop();
private slots:
void on_btnClose_clicked();
void on_lineEditSearch_textChanged(const QString &arg1);
void on_btnPurchase_clicked();
private:
Ui::DlgSongShop *ui;
SongShopModel *modelSongs;
ShopSortFilterProxyModel *sortFilterModel;
DlgSongShopPurchase *dlgPurchase;
SongShop *shop;
Settings *settings;
// QMessageBox *msgLoading;
// QWidget interface
public slots:
void setVisible(bool visible);
void autoSizeView();
signals:
void karaokeSongDownloaded(QString path);
// QWidget interface
protected:
void resizeEvent(QResizeEvent *event);
};
#endif // DLGSONGSHOP_H