ZWindowLayout¶
-
class Tui::ZWindowLayout : public Tui::ZLayout¶
A special layout to place widgets (like scroll bars or status indicators) over the borders of a
Tui::ZWindow
or derived classes.-
void setCentral(ZLayoutItem *li)¶
The central widget or layout is placed in the normal layout area.
-
void setTopBorderWidget(ZWidget *w, Tui::Alignment align = Tui::AlignHCenter)¶
The border widgets are placed over the window border. The alignment
align
allows to align the widget either centered, at the start or at the end.
-
int topBorderLeftAdjust() const¶
-
void setTopBorderLeftAdjust(int topBorderLeftAdjust)¶
The
topBorderLeftAdjust
allows fine adjustment of the top widgets left side placement.
-
int topBorderRightAdjust() const¶
-
void setTopBorderRightAdjust(int topBorderRightAdjust)¶
The
topBorderRightAdjust
allows fine adjustment of the top widgets right side placement.
-
int rightBorderTopAdjust() const¶
-
void setRightBorderTopAdjust(int rightBorderTopAdjust)¶
The
rightBorderTopAdjust
allows fine adjustment of the right widgets top side placement.
-
int rightBorderBottomAdjust() const¶
-
void setRightBorderBottomAdjust(int rightBorderBottomAdjust)¶
The
rightBorderBottomAdjust
allows fine adjustment of the right widgets bottom side placement.
-
int bottomBorderLeftAdjust() const¶
-
void setBottomBorderLeftAdjust(int bottomBorderLeftAdjust)¶
The
bottomBorderLeftAdjust
allows fine adjustment of the bottom widgets left side placement.
-
int bottomBorderRightAdjust() const¶
-
void setBottomBorderRightAdjust(int bottomBorderRightAdjust)¶
The
bottomBorderRightAdjust
allows fine adjustment of the bottom widgets right side placement.
-
void setCentral(ZLayoutItem *li)¶