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