00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef PROJECTDIALOG_H
00011 #define PROJECTDIALOG_H
00012
00013 #include <qvariant.h>
00014 #include <qdialog.h>
00015
00016 class QVBoxLayout;
00017 class QHBoxLayout;
00018 class QGridLayout;
00019 class QSpacerItem;
00020 class QTabWidget;
00021 class QWidget;
00022 class QLabel;
00023 class QLineEdit;
00024 class QPushButton;
00025 class QGroupBox;
00026 class QComboBox;
00027 class QListBox;
00028 class QListBoxItem;
00029 class QListView;
00030 class QListViewItem;
00031
00032 class ProjectDialog : public QDialog
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 ProjectDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00038 ~ProjectDialog();
00039
00040 QTabWidget* tabGroup;
00041 QWidget* generalTab;
00042 QLabel* textLabel1;
00043 QLineEdit* workingDir;
00044 QPushButton* selectWorkingDirButton;
00045 QGroupBox* groupBox2;
00046 QLabel* textLabel1_2;
00047 QComboBox* config;
00048 QPushButton* pushButton9;
00049 QPushButton* pushButton10;
00050 QLabel* textLabel2;
00051 QWidget* filesTab;
00052 QListBox* files;
00053 QPushButton* addFileButton;
00054 QPushButton* removeFileButton;
00055 QWidget* environmentTab;
00056 QGroupBox* envBox;
00057 QListView* environment;
00058 QPushButton* addVarButton;
00059 QPushButton* changeVarButton;
00060 QPushButton* deleteVarButton;
00061 QWidget* commandsTab;
00062 QLabel* textLabel4;
00063 QLabel* textLabel4_2;
00064 QLabel* textLabel4_3;
00065 QLineEdit* buildCommand;
00066 QLineEdit* compileCommand;
00067 QLineEdit* goCommand;
00068 QPushButton* okButton;
00069 QPushButton* cancelButton;
00070
00071 protected:
00072 QVBoxLayout* ProjectDialogLayout;
00073 QVBoxLayout* generalTabLayout;
00074 QSpacerItem* spacer13_2;
00075 QSpacerItem* spacer6;
00076 QHBoxLayout* layout17;
00077 QSpacerItem* spacer7;
00078 QHBoxLayout* layout12;
00079 QSpacerItem* spacer13;
00080 QVBoxLayout* groupBox2Layout;
00081 QSpacerItem* spacer10;
00082 QHBoxLayout* layout16;
00083 QHBoxLayout* layout14;
00084 QSpacerItem* spacer7_2;
00085 QSpacerItem* spacer8;
00086 QVBoxLayout* filesTabLayout;
00087 QHBoxLayout* layout15;
00088 QVBoxLayout* layout14_2;
00089 QSpacerItem* spacer4;
00090 QVBoxLayout* environmentTabLayout;
00091 QHBoxLayout* envBoxLayout;
00092 QVBoxLayout* layout9;
00093 QSpacerItem* spacer1;
00094 QVBoxLayout* commandsTabLayout;
00095 QSpacerItem* spacer5;
00096 QHBoxLayout* layout18;
00097 QVBoxLayout* layout16_2;
00098 QVBoxLayout* layout17_2;
00099 QHBoxLayout* layout13;
00100 QSpacerItem* spacer2;
00101
00102 protected slots:
00103 virtual void languageChange();
00104
00105 virtual void addFile();
00106 virtual void removeFile();
00107 virtual void addVar();
00108 virtual void changeVar();
00109 virtual void deleteVar();
00110 virtual void addConfig();
00111 virtual void deleteConfig();
00112 virtual void updateConfig();
00113 virtual void updateProject();
00114 virtual void selectWorkingDir();
00115
00116
00117 };
00118
00119 #endif // PROJECTDIALOG_H