mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1898 Curve Creator: Add basic search fields above all the lists
This commit is contained in:
parent
df6262c043
commit
32b9b6d1b0
@ -184,10 +184,10 @@ QWidget* PdmUiTreeSelectionEditor::createEditorWidget(QWidget* parent)
|
||||
|
||||
connect(m_toggleAllCheckBox, SIGNAL(clicked(bool)), this, SLOT(slotToggleAll()));
|
||||
|
||||
// m_textFilterLineEdit = new QLineEdit();
|
||||
// headerLayout->addWidget(m_textFilterLineEdit);
|
||||
//
|
||||
// connect(m_textFilterLineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotTextFilterChanged()));
|
||||
m_textFilterLineEdit = new QLineEdit();
|
||||
headerLayout->addWidget(m_textFilterLineEdit);
|
||||
|
||||
connect(m_textFilterLineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotTextFilterChanged()));
|
||||
}
|
||||
|
||||
QTreeViewHeightHint* treeViewHeightHint = new QTreeViewHeightHint(parent);
|
||||
@ -363,6 +363,8 @@ void PdmUiTreeSelectionEditor::slotTextFilterChanged()
|
||||
searchString += "*";
|
||||
|
||||
m_proxyModel->setFilterWildcard(searchString);
|
||||
|
||||
updateUi();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user