summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-06 06:16:11 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-06 06:16:11 (GMT)
commite8a208384c77455d51c398132ff487df86a66f89 (patch)
tree89a8753a54708b4ecbe0cf43b3b77d5589b6951b /Source/QtDialog/CMakeSetupDialog.h
parent87e1004f25702d5d21385cd5f616963c67f89b9e (diff)
downloadCMake-e8a208384c77455d51c398132ff487df86a66f89.zip
CMake-e8a208384c77455d51c398132ff487df86a66f89.tar.gz
CMake-e8a208384c77455d51c398132ff487df86a66f89.tar.bz2
ENH: Add menus in menu bar.
Add reload & delete cache options. Add option to quit after generation step (not yet remembered between sessions). Add Help -> About Remove Help button (in menu now) Remove Cancel button (File -> Exit and the Window 'X' button exist)
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h
index db69981..f436481 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -39,8 +39,9 @@ public:
protected slots:
void initialize();
void doConfigure();
- void doOk();
+ void doGenerate();
void doHelp();
+ void doAbout();
void doInterrupt();
void finishConfigure(int error);
void finishGenerate(int error);
@@ -48,12 +49,15 @@ protected slots:
void doSourceBrowse();
void doBinaryBrowse();
+ void doReloadCache();
+ void doDeleteCache();
void updateSourceDirectory(const QString& dir);
void setBinaryDirectory(const QString& dir);
void showProgress(const QString& msg, float percent);
void setEnabledState(bool);
void promptForGenerator();
void updateGeneratorLabel(const QString& gen);
+ void setExitAfterGenerate(bool);
protected:
void closeEvent(QCloseEvent*);
@@ -61,6 +65,7 @@ protected:
QCMakeThread* CMakeThread;
QProgressBar* ProgressBar;
QToolButton* InterruptButton;
+ bool QuitOnConfigure;
};
// QCMake instance on a thread