add search function to tree view

This commit is contained in:
wmayer
2018-11-13 11:27:34 +01:00
parent 401dbc53dc
commit fe016510ec
4 changed files with 187 additions and 5 deletions

View File

@@ -64,10 +64,7 @@ CombiView::CombiView(Gui::Document* pcDocument, QWidget *parent)
splitter->setOrientation(Qt::Vertical);
// tree widget
tree = new TreeWidget(this);
//tree->setRootIsDecorated(false);
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/TreeView");
tree->setIndentation(hGrp->GetInt("Indentation", tree->indentation()));
tree = new TreePanel(this);
splitter->addWidget(tree);
// property view