27 #include <ArmarXGui/gui-plugins/ScenarioManager/gui/ui_applicationdatabaseview.h>
39 ui->treeView->setModel(model.get());
41 ui->treeView->header()->setSortIndicator(0, Qt::SortOrder::AscendingOrder);
42 ui->treeView->setSortingEnabled(
true);
44 ui->treeView->setSelectionMode(QAbstractItemView::ExtendedSelection);
45 ui->treeView->setDragEnabled(
true);
46 ui->treeView->setAcceptDrops(
false);
47 ui->treeView->setDropIndicatorShown(
false);
49 connect(
this, SIGNAL(
testSignal()), ui->treeView, SLOT(repaint()));
61 model->setSortCaseSensitivity(Qt::CaseInsensitive);
63 ui->treeView->setModel(model.get());
64 ui->treeView->setColumnWidth(0, 200);
65 ui->treeView->expandAll();
70 void ApplicationDatabaseView::on_lineEdit_textEdited(
const QString& text)
72 model->setFilterRegExp(QRegExp(text, Qt::CaseInsensitive, QRegExp::FixedString));
73 ui->treeView->expandAll();
76 void ApplicationDatabaseView::on_treeView_clicked(
const QModelIndex&
index)