summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/symboltable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/ui/symboltable.cpp')
-rw-r--r--view/sharedcache/ui/symboltable.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/sharedcache/ui/symboltable.cpp b/view/sharedcache/ui/symboltable.cpp
index c96ce086..0b006fbc 100644
--- a/view/sharedcache/ui/symboltable.cpp
+++ b/view/sharedcache/ui/symboltable.cpp
@@ -118,11 +118,13 @@ SymbolTableView::SymbolTableView(QWidget* parent)
setModel(m_model);
// Configure view settings
- horizontalHeader()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
- horizontalHeader()->setSectionResizeMode(1, QHeaderView::ResizeToContents);
+ horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed);
+ horizontalHeader()->setSectionResizeMode(1, QHeaderView::Fixed);
horizontalHeader()->setSectionResizeMode(2, QHeaderView::Stretch);
+ setEditTriggers(QAbstractItemView::NoEditTriggers);
setSelectionBehavior(QAbstractItemView::SelectRows);
setSelectionMode(QAbstractItemView::SingleSelection);
+ verticalHeader()->setVisible(false);
setSortingEnabled(true);
}