MCPcopy Create free account
hub / github.com/KDE/labplot / hasVisibleContent

Method hasVisibleContent

src/3rdparty/Qt-Advanced-Docking-System/src/DockSplitter.cpp:77–89  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

75
76//============================================================================
77bool CDockSplitter::hasVisibleContent() const
78{
79 // TODO Cache or precalculate this to speed up
80 for (int i = 0; i < count(); ++i)
81 {
82 if (!widget(i)->isHidden())
83 {
84 return true;
85 }
86 }
87
88 return false;
89}
90
91
92//============================================================================

Callers 2

hideEmptyParentSplittersFunction · 0.80
contentRectMethod · 0.80

Calls 1

isHiddenMethod · 0.45

Tested by

no test coverage detected