0
|
1 |
#ifndef WIDGETCREATOR_H
|
|
2 |
#define WIDGETCREATOR_H
|
|
3 |
|
|
4 |
#include <QObject>
|
|
5 |
|
|
6 |
#include "mainwindow.h"
|
|
7 |
|
|
8 |
class QString;
|
|
9 |
|
|
10 |
class WidgetCreator : public QObject
|
|
11 |
{
|
|
12 |
Q_OBJECT
|
|
13 |
public:
|
|
14 |
explicit WidgetCreator( MainWindow& aUi, QObject *parent = 0);
|
|
15 |
|
|
16 |
signals:
|
|
17 |
|
|
18 |
public slots:
|
|
19 |
|
|
20 |
private:
|
|
21 |
void generateFolders();
|
|
22 |
void generateBuildFile();
|
|
23 |
void generateHSPSManifest();
|
|
24 |
void generateEmptyDat();
|
|
25 |
void generateHSPSConf();
|
|
26 |
void generateXml();
|
|
27 |
void generateCss();
|
|
28 |
void generateDat();
|
|
29 |
void generateDtd();
|
|
30 |
void generatePkg();
|
|
31 |
void generateBur();
|
|
32 |
|
|
33 |
QString widgetName();
|
|
34 |
QString widgetUid();
|
|
35 |
QString widgetLayout();
|
|
36 |
|
|
37 |
private:
|
|
38 |
MainWindow& iUi;
|
|
39 |
|
|
40 |
};
|
|
41 |
|
|
42 |
#endif // WIDGETCREATOR_H
|