1 |
#ifndef PACKAGEPAGE4_H |
2 |
#define PACKAGEPAGE4_H |
3 |
|
4 |
#include <QWizardPage> |
5 |
#include <droptablewidget.h> |
6 |
|
7 |
namespace Ui { |
8 |
class PackagePage4; |
9 |
} |
10 |
|
11 |
class PackagePage4 : public QWizardPage |
12 |
{ |
13 |
Q_OBJECT |
14 |
|
15 |
public: |
16 |
const DropTableWidget *commonTable; |
17 |
const DropTableWidget *windowsTable; |
18 |
const DropTableWidget *macTable; |
19 |
explicit PackagePage4(QWidget *parent = 0); |
20 |
~PackagePage4(); |
21 |
|
22 |
private slots: |
23 |
void on_pbSwitchFiles_clicked(); |
24 |
void addResourcesPackage(DropTableWidget *myTable, QStringList resources); //for packages drop |
25 |
|
26 |
void on_tbCommonPlus_clicked(); |
27 |
|
28 |
void on_tbCommonMinus_clicked(); |
29 |
|
30 |
void on_tbWindowsPlus_clicked(); |
31 |
|
32 |
void on_tbWindowsMinus_clicked(); |
33 |
|
34 |
void on_tbMacPlus_clicked(); |
35 |
|
36 |
void on_tbMacMinus_clicked(); |
37 |
|
38 |
private: |
39 |
Ui::PackagePage4 *ui; |
40 |
void connectSlots(); |
41 |
void addTableContents(DropTableWidget *myTable); |
42 |
void removeTableContents(DropTableWidget *myTable); |
43 |
bool validatePage(); |
44 |
}; |
45 |
|
46 |
#endif // PACKAGEPAGE4_H |