diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-07 00:25:43 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-07 00:25:43 (GMT) |
commit | 1e91100599d88ba12dd7a91db17e47d8d9110914 (patch) | |
tree | 6f5e53337315dd750981bcdead388fffb6806efb /Source/QtDialog/CMakeSetupDialog.h | |
parent | 433a9149108c88d4fb715331f97ee079fa16fe10 (diff) | |
download | CMake-1e91100599d88ba12dd7a91db17e47d8d9110914.zip CMake-1e91100599d88ba12dd7a91db17e47d8d9110914.tar.gz CMake-1e91100599d88ba12dd7a91db17e47d8d9110914.tar.bz2 |
ENH: Disable menu/buttons when doing configure.
Also disable generate until configure is done.
Save more settings (last 10 binary directories, exit after generate,
last generator)
Some UI tweaks for better layout.
Support drag & drop of CMakeLists.txt/CMakeCache.txt files.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h index f436481..250be16 100644 --- a/Source/QtDialog/CMakeSetupDialog.h +++ b/Source/QtDialog/CMakeSetupDialog.h @@ -58,14 +58,24 @@ protected slots: void promptForGenerator(); void updateGeneratorLabel(const QString& gen); void setExitAfterGenerate(bool); + void cacheModelDirty(); + void setGenerateEnabled(bool); + void addBinaryPath(const QString&); protected: void closeEvent(QCloseEvent*); + void dragEnterEvent(QDragEnterEvent*); + void dropEvent(QDropEvent*); QCMakeThread* CMakeThread; QProgressBar* ProgressBar; QToolButton* InterruptButton; - bool QuitOnConfigure; + bool ExitAfterGenerate; + QAction* ReloadCacheAction; + QAction* DeleteCacheAction; + QAction* ExitAction; + QAction* ConfigureAction; + QAction* GenerateAction; }; // QCMake instance on a thread |