diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2008-02-07 22:58:57 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2008-02-07 22:58:57 (GMT) |
commit | dcd29a14b0ab92f6a509d4d1176979975b687b89 (patch) | |
tree | 830305a03c59fa03ff5ad8587f62347cf9902646 /Source/QtDialog/QCMakeCacheView.h | |
parent | 410d7b0f364e94ae53c2e1e99a3876c3199d4e44 (diff) | |
download | CMake-dcd29a14b0ab92f6a509d4d1176979975b687b89.zip CMake-dcd29a14b0ab92f6a509d4d1176979975b687b89.tar.gz CMake-dcd29a14b0ab92f6a509d4d1176979975b687b89.tar.bz2 |
ENH: Show cache variable name in title of file dialogs.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.h')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h index fcf73cf..8a6e1de 100644 --- a/Source/QtDialog/QCMakeCacheView.h +++ b/Source/QtDialog/QCMakeCacheView.h @@ -114,19 +114,20 @@ class QCMakeCacheFileEditor : public QLineEdit { Q_OBJECT public: - QCMakeCacheFileEditor(QWidget* p); + QCMakeCacheFileEditor(QWidget* p, const QString& var); protected slots: virtual void chooseFile() = 0; protected: void resizeEvent(QResizeEvent* e); QToolButton* ToolButton; + QString Variable; }; class QCMakeCachePathEditor : public QCMakeCacheFileEditor { Q_OBJECT public: - QCMakeCachePathEditor(QWidget* p = NULL); + QCMakeCachePathEditor(QWidget* p = NULL, const QString& var = QString()); void chooseFile(); }; @@ -134,7 +135,7 @@ class QCMakeCacheFilePathEditor : public QCMakeCacheFileEditor { Q_OBJECT public: - QCMakeCacheFilePathEditor(QWidget* p = NULL); + QCMakeCacheFilePathEditor(QWidget* p = NULL, const QString& var = QString()); void chooseFile(); }; |