diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-03 14:30:52 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-03 14:30:52 (GMT) |
commit | 77ad85a6ab00959b972f5f2ad86382e2161b92b6 (patch) | |
tree | dffe50dd916306eefcefd39e0f7fb20dc375bc27 /Source/QtDialog/CMakeSetupDialog.h | |
parent | c139a096c7cb73a8184b69f20a837d97c00b5a96 (diff) | |
download | CMake-77ad85a6ab00959b972f5f2ad86382e2161b92b6.zip CMake-77ad85a6ab00959b972f5f2ad86382e2161b92b6.tar.gz CMake-77ad85a6ab00959b972f5f2ad86382e2161b92b6.tar.bz2 |
ENH: Add interrupt button near progress bar.
Implement help button.
Implement cancel button.
Add scrollable output window.
Replace ON/OFF & combobox editors with checkboxes.
Tab/backtab in cache table jumps between values (not names and values)
Add tooltips to show help strings.
Add application icon and qtmain for Windows.
BUG: Fix save of cache values on configure.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h index 5ae32cd..7dec607 100644 --- a/Source/QtDialog/CMakeSetupDialog.h +++ b/Source/QtDialog/CMakeSetupDialog.h @@ -22,6 +22,7 @@ class QCMakeThread; class CMakeCacheModel; class QProgressBar; +class QToolButton; /// Qt user interface for CMake class CMakeSetupDialog : public QMainWindow, public Ui::CMakeSetupDialog @@ -31,18 +32,13 @@ public: CMakeSetupDialog(); ~CMakeSetupDialog(); -signals: - void configure(); - void ok(); - void cancel(); - void propertiesChanged(const QCMakeCachePropertyList&); - protected slots: void initialize(); void doConfigure(); void doOk(); void doCancel(); void doHelp(); + void doInterrupt(); void finishConfigure(int error); void finishGenerate(int error); void error(const QString& title, const QString& message, bool* cancel); @@ -51,13 +47,13 @@ protected slots: void doBinaryBrowse(); void updateSourceDirectory(const QString& dir); void setBinaryDirectory(const QString& dir); - void showProgress(const QString& msg, float percent); + void setEnabledState(bool); protected: QCMakeThread* CMakeThread; QProgressBar* ProgressBar; - + QToolButton* InterruptButton; }; |