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::ZWindowor 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
alignallows to align the widget either centered, at the start or at the end.
-
int topBorderLeftAdjust() const¶
-
void setTopBorderLeftAdjust(int topBorderLeftAdjust)¶
The
topBorderLeftAdjustallows fine adjustment of the top widgets left side placement.
-
int topBorderRightAdjust() const¶
-
void setTopBorderRightAdjust(int topBorderRightAdjust)¶
The
topBorderRightAdjustallows fine adjustment of the top widgets right side placement.
-
int rightBorderTopAdjust() const¶
-
void setRightBorderTopAdjust(int rightBorderTopAdjust)¶
The
rightBorderTopAdjustallows fine adjustment of the right widgets top side placement.
-
int rightBorderBottomAdjust() const¶
-
void setRightBorderBottomAdjust(int rightBorderBottomAdjust)¶
The
rightBorderBottomAdjustallows fine adjustment of the right widgets bottom side placement.
-
int bottomBorderLeftAdjust() const¶
-
void setBottomBorderLeftAdjust(int bottomBorderLeftAdjust)¶
The
bottomBorderLeftAdjustallows fine adjustment of the bottom widgets left side placement.
-
int bottomBorderRightAdjust() const¶
-
void setBottomBorderRightAdjust(int bottomBorderRightAdjust)¶
The
bottomBorderRightAdjustallows fine adjustment of the bottom widgets right side placement.
-
void setCentral(ZLayoutItem *li)¶