summaryrefslogtreecommitdiff
path: root/Source/QtDialog/QCMakeCacheView.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-07 10:09:02 -0500
committerClinton Stimpson <clinton@elemtech.com>2007-11-07 10:09:02 -0500
commit31d4280bf3c1c0b24cd586b17c8d34cdb2f09647 (patch)
tree32cae121731a2da75c3b63d2706f33c3b6e997a4 /Source/QtDialog/QCMakeCacheView.h
parent696a016444192e49557c4ad747362d925b778538 (diff)
downloadcmake-31d4280bf3c1c0b24cd586b17c8d34cdb2f09647.tar.gz
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h
index 5ea671f0a8..52b154e7e6 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)