MCPcopy Create free account
hub / github.com/KDAB/GammaRay / headerView

Function headerView

ui/uistatemanager.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35namespace {
36QAbstractItemView *headerView(QHeaderView *header)
37{
38 QWidget *view = header->parentWidget();
39
40 while (!qobject_cast<QAbstractItemView *>(view))
41 view = view->parentWidget();
42
43 return qobject_cast<QAbstractItemView *>(view);
44}
45
46void distributeSpace(QList<int> &sizes, int size, int handleSize)
47{

Callers 2

foreachFunction · 0.85
restoreHeaderStateMethod · 0.85

Calls 1

parentWidgetMethod · 0.80

Tested by

no test coverage detected