#include <DockSplitter.h>
Public Member Functions | |
CDockSplitter (Qt::Orientation orientation, QWidget *parent=Q_NULLPTR) | |
CDockSplitter (QWidget *parent=Q_NULLPTR) | |
QWidget * | firstWidget () const |
bool | hasVisibleContent () const |
bool | isResizingWithContainer () const |
QWidget * | lastWidget () const |
virtual | ~CDockSplitter () |
Private Attributes | |
DockSplitterPrivate * | d |
Friends | |
struct | DockSplitterPrivate |
Splitter used internally instead of QSplitter with some additional fuctionality.
Definition at line 44 of file DockSplitter.h.
ads::CDockSplitter::CDockSplitter | ( | QWidget * | parent = Q_NULLPTR | ) |
Definition at line 51 of file DockSplitter.cpp.
ads::CDockSplitter::CDockSplitter | ( | Qt::Orientation | orientation, |
QWidget * | parent = Q_NULLPTR |
||
) |
Definition at line 61 of file DockSplitter.cpp.
|
virtual |
Prints debug info
Definition at line 69 of file DockSplitter.cpp.
QWidget * ads::CDockSplitter::firstWidget | ( | ) | const |
Returns first widget or nullptr if splitter is empty
Definition at line 93 of file DockSplitter.cpp.
bool ads::CDockSplitter::hasVisibleContent | ( | ) | const |
Returns true, if any of the internal widgets is visible
Definition at line 77 of file DockSplitter.cpp.
bool ads::CDockSplitter::isResizingWithContainer | ( | ) | const |
Returns true if the splitter contains central widget of dock manager.
Definition at line 106 of file DockSplitter.cpp.
QWidget * ads::CDockSplitter::lastWidget | ( | ) | const |
Returns last widget of nullptr is splitter is empty
Definition at line 100 of file DockSplitter.cpp.
|
friend |
Definition at line 49 of file DockSplitter.h.
|
private |
Definition at line 48 of file DockSplitter.h.