forked from qt-creator/qt-creator
CMake: Filter CMake variables
Add a text field to filter CMake variables in the CMake project configuration view. As in the cmake-gui, the filter does a simple string search over all variable names and values. Task-number: QTCREATORBUG-17973 Change-Id: Id7219c16509c620c39978cb05c5e0e62cf9c19df Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -40,6 +40,8 @@ class QSortFilterProxyModel;
|
||||
class QMenu;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils { class FancyLineEdit; }
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
|
||||
class ConfigModel;
|
||||
@@ -66,6 +68,7 @@ private:
|
||||
QTreeView *m_configView;
|
||||
ConfigModel *m_configModel;
|
||||
QSortFilterProxyModel *m_configFilterModel;
|
||||
QSortFilterProxyModel *m_configTextFilterModel;
|
||||
Utils::ProgressIndicator *m_progressIndicator;
|
||||
QPushButton *m_addButton;
|
||||
QMenu *m_addButtonMenu;
|
||||
@@ -74,6 +77,7 @@ private:
|
||||
QCheckBox *m_showAdvancedCheckBox;
|
||||
QPushButton *m_reconfigureButton;
|
||||
QTimer m_showProgressTimer;
|
||||
Utils::FancyLineEdit *m_filterEdit;
|
||||
QLabel *m_errorLabel;
|
||||
QLabel *m_warningLabel;
|
||||
QLabel *m_errorMessageLabel;
|
||||
|
||||
Reference in New Issue
Block a user