diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-07 15:09:02 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-07 15:09:02 (GMT) |
commit | 31d4280bf3c1c0b24cd586b17c8d34cdb2f09647 (patch) | |
tree | 32cae121731a2da75c3b63d2706f33c3b6e997a4 /Source/QtDialog/QCMakeCacheView.h | |
parent | 696a016444192e49557c4ad747362d925b778538 (diff) | |
download | CMake-31d4280bf3c1c0b24cd586b17c8d34cdb2f09647.zip CMake-31d4280bf3c1c0b24cd586b17c8d34cdb2f09647.tar.gz CMake-31d4280bf3c1c0b24cd586b17c8d34cdb2f09647.tar.bz2 |
BUG: Fix behavior of CMakeSetupDialog::set{Binary|Source}Directory
so they work right when called externally.
Disable the generate button when one hits configure again.
ENH: Some UI tweaks for spacing.
Allow viewing cache values while configure/generate (but not edit).
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.h')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h index 5ea671f..52b154e 100644 --- a/Source/QtDialog/QCMakeCacheView.h +++ b/Source/QtDialog/QCMakeCacheView.h @@ -65,6 +65,7 @@ public: public slots: void setProperties(const QCMakeCachePropertyList& props); void clear(); + void setEditEnabled(bool); public: // satisfy [pure] virtuals @@ -80,11 +81,15 @@ public: bool modifiedValues() const; // get the properties QCMakeCachePropertyList properties() const; + + // editing enabled + bool editEnabled() const; protected: QCMakeCachePropertyList Properties; int NewCount; bool ModifiedValues; + bool EditEnabled; }; /// Qt delegate class for interaction (or other customization) |