MCPcopy Create free account
hub / github.com/KDE/kdevelop / fitColumns

Method fitColumns

kdevplatform/util/focusedtreeview.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void FocusedTreeView::fitColumns()
86{
87 if (!model()) {
88 return;
89 }
90
91 for (int c = 0, columnCount = model()->columnCount(); c < columnCount; ++c) {
92 resizeColumnToContents(c);
93 }
94}
95
96void FocusedTreeView::resizeEvent(QResizeEvent* event)
97{

Callers 1

setWordWrapMethod · 0.80

Calls 2

modelFunction · 0.85
columnCountMethod · 0.45

Tested by

no test coverage detected