33 #include <QChildEvent> 55 setProperty(
"ads-splitter",
true);
56 setChildrenCollapsible(
false);
62 : QSplitter(orientation, parent),
80 for (
int i = 0; i < count(); ++i)
82 if (!widget(i)->isHidden())
95 return (count() > 0) ? widget(0) :
nullptr;
102 return (count() > 0) ? widget(count() - 1) :
nullptr;
108 for (
auto area : findChildren<CDockAreaWidget*>())
110 if(area->isCentralWidgetArea())
CDockSplitter(QWidget *parent=Q_NULLPTR)
QWidget * lastWidget() const
bool hasVisibleContent() const
Declaration of CDockSplitter.
bool isResizingWithContainer() const
DockSplitterPrivate(CDockSplitter *_public)
QWidget * firstWidget() const