diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-12 22:41:15 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-12 22:41:15 (GMT) |
commit | fcc62c6d0dc4dd514a0588ff21339d39b7e641f2 (patch) | |
tree | 77e907941122b1172e6901b5a23e39e280e73eaa /Source/QtDialog/CMakeSetupDialog.h | |
parent | f97dddf0eecfd0b4a50166420ae8aabcb5571027 (diff) | |
download | CMake-fcc62c6d0dc4dd514a0588ff21339d39b7e641f2.zip CMake-fcc62c6d0dc4dd514a0588ff21339d39b7e641f2.tar.gz CMake-fcc62c6d0dc4dd514a0588ff21339d39b7e641f2.tar.bz2 |
BUG: Fix pause at shutdown.
ENH: Remove interrupt button and make configure/generate turn to stop during runs.
ENH: Add text to remove cache entry button.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h index cf298f3..d8bea36 100644 --- a/Source/QtDialog/CMakeSetupDialog.h +++ b/Source/QtDialog/CMakeSetupDialog.h @@ -61,7 +61,6 @@ protected slots: void promptForGenerator(); void updateGeneratorLabel(const QString& gen); void setExitAfterGenerate(bool); - void setGenerateEnabled(bool); void addBinaryPath(const QString&); QStringList loadBuildPaths(); void saveBuildPaths(const QStringList&); @@ -72,6 +71,10 @@ protected slots: void selectionChanged(); protected: + + enum State { Interrupting, ReadyConfigure, ReadyGenerate, Configuring, Generating }; + void enterState(State s); + void closeEvent(QCloseEvent*); void dragEnterEvent(QDragEnterEvent*); void dropEvent(QDropEvent*); @@ -84,6 +87,8 @@ protected: QAction* ExitAction; QAction* ConfigureAction; QAction* GenerateAction; + State CurrentState; + }; // QCMake instance on a thread |