widgetcreator.h
author jake
Tue, 26 Oct 2010 15:51:44 +0300
changeset 7 640db2c8587d
parent 0 b856a9924bbc
permissions -rw-r--r--
widget icon and description added to manifest.dat
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b856a9924bbc initial contribution
jake
parents:
diff changeset
     1
#ifndef WIDGETCREATOR_H
b856a9924bbc initial contribution
jake
parents:
diff changeset
     2
#define WIDGETCREATOR_H
b856a9924bbc initial contribution
jake
parents:
diff changeset
     3
b856a9924bbc initial contribution
jake
parents:
diff changeset
     4
#include <QObject>
b856a9924bbc initial contribution
jake
parents:
diff changeset
     5
b856a9924bbc initial contribution
jake
parents:
diff changeset
     6
#include "mainwindow.h"
b856a9924bbc initial contribution
jake
parents:
diff changeset
     7
b856a9924bbc initial contribution
jake
parents:
diff changeset
     8
class QString;
b856a9924bbc initial contribution
jake
parents:
diff changeset
     9
b856a9924bbc initial contribution
jake
parents:
diff changeset
    10
class WidgetCreator : public QObject
b856a9924bbc initial contribution
jake
parents:
diff changeset
    11
{
b856a9924bbc initial contribution
jake
parents:
diff changeset
    12
    Q_OBJECT
b856a9924bbc initial contribution
jake
parents:
diff changeset
    13
public:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    14
    explicit WidgetCreator( MainWindow& aUi, QObject *parent = 0);
b856a9924bbc initial contribution
jake
parents:
diff changeset
    15
b856a9924bbc initial contribution
jake
parents:
diff changeset
    16
signals:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    17
b856a9924bbc initial contribution
jake
parents:
diff changeset
    18
public slots:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    19
b856a9924bbc initial contribution
jake
parents:
diff changeset
    20
private:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    21
    void generateFolders();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    22
    void generateBuildFile();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    23
    void generateHSPSManifest();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    24
    void generateEmptyDat();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    25
    void generateHSPSConf();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    26
    void generateXml();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    27
    void generateCss();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    28
    void generateDat();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    29
    void generateDtd();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    30
    void generatePkg();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    31
    void generateBur();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    32
b856a9924bbc initial contribution
jake
parents:
diff changeset
    33
    QString widgetName();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    34
    QString widgetUid();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    35
    QString widgetLayout();
b856a9924bbc initial contribution
jake
parents:
diff changeset
    36
b856a9924bbc initial contribution
jake
parents:
diff changeset
    37
private:
b856a9924bbc initial contribution
jake
parents:
diff changeset
    38
    MainWindow& iUi;
b856a9924bbc initial contribution
jake
parents:
diff changeset
    39
b856a9924bbc initial contribution
jake
parents:
diff changeset
    40
};
b856a9924bbc initial contribution
jake
parents:
diff changeset
    41
b856a9924bbc initial contribution
jake
parents:
diff changeset
    42
#endif // WIDGETCREATOR_H