summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-08 15:17:37 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-08 15:17:37 (GMT)
commit9f676df3c6daddc0d6d2d8d2907b2ce707ceebaf (patch)
tree5409c6b3d32eca167ddfe312cb3a9c1df02b7215 /Source/QtDialog/CMakeSetupDialog.cxx
parente3572607f4097fbc07bebbfbfe333adc16e43195 (diff)
downloadCMake-9f676df3c6daddc0d6d2d8d2907b2ce707ceebaf.zip
CMake-9f676df3c6daddc0d6d2d8d2907b2ce707ceebaf.tar.gz
CMake-9f676df3c6daddc0d6d2d8d2907b2ce707ceebaf.tar.bz2
ENH: add context menu for deleting, ignoring, and getting help for cache entries.
ENH: add delete cache button ENH: add information string above configure/generate buttons ENH: change search to search both columns, and from regex to plain string search ENH: add buddy info in cache entry view, so double clicking in the left column starts editing the associated value. BUG: fix file path editor so it goes away when focus is lost
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index 650a7a6..2bb470d 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -77,7 +77,7 @@ CMakeSetupDialog::CMakeSetupDialog()
QWidget* cont = new QWidget(this);
this->setupUi(cont);
- this->Splitter->setStretchFactor(0, 2);
+ this->Splitter->setStretchFactor(0, 3);
this->Splitter->setStretchFactor(1, 1);
this->setCentralWidget(cont);
this->ProgressBar->reset();
@@ -196,6 +196,9 @@ void CMakeSetupDialog::initialize()
this, SLOT(cacheModelDirty()));
QObject::connect(this->CacheValues->cacheModel(), SIGNAL(modelReset()),
this, SLOT(cacheModelDirty()));
+
+ QObject::connect(this->DeleteCacheButton, SIGNAL(clicked(bool)),
+ this, SLOT(doDeleteCache()));
// get the saved binary directories
QStringList buildPaths = this->loadBuildPaths();
@@ -464,6 +467,7 @@ void CMakeSetupDialog::setEnabledState(bool enabled)
this->ConfigureButton->setEnabled(enabled);
this->ReloadCacheAction->setEnabled(enabled);
this->DeleteCacheAction->setEnabled(enabled);
+ this->DeleteCacheButton->setEnabled(enabled);
this->ExitAction->setEnabled(enabled);
this->ConfigureAction->setEnabled(enabled);
// generate button/action are handled separately