mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2024-11-28 02:43:49 -06:00
interface/qt: disallow editing and hide header
This commit is contained in:
parent
846a760ec6
commit
9f0490af5a
@ -91,6 +91,7 @@ void AssignableWidget::genAssignableTree(QTreeView *treeView) {
|
||||
}
|
||||
|
||||
m_assignableTreeView->setModel(assignableModel);
|
||||
|
||||
// connect(m_assignableTreeWidget, &QTreeWidget::currentItemChanged, []() {qDebug("item changed");});
|
||||
m_assignableTreeView->setHeaderHidden(true);
|
||||
// Don't allow editing the item names
|
||||
m_assignableTreeView->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user