|
|
KTMLayout is layout manager for KTMainWindow. It is customized specifically for KTMainWindow's layout. You can use it for your own widgets but there is probably little use for it. So this class can be regarded as a kdeui internal class.
It currently supports main widget with fixed size, fixed height and widgets with no size requirements. heightForWidth() widgets and fixed width widgets are not yet supported. It is currently unclear whether the concept of widthForHeight() vertical bars can be used in a widthForHeight() dominated world.
IMPORTANT: The layout functions and the corresponding size-calculation functions must always be kept 100% in sync!
|
The constructor. It probably makes no use to call this version.
|
The constructor.
void |
Register the top menu bar. There can only be one.
void |
Register the bottom menu bar. There can only be one.
void |
Call this function to register all bars that are flattened. This can be tool bars as well as menu bars.
void |
Register top tool bars. There is no limit in the number of tool bars that you can register.
void |
Register left hand side tool bars. There is no limit in the number of tool bars that you can register.
void |
Register right hand side tool bars. There is no limit in the number of tool bars that you can register.
void |
Register bottom tool bars. There is no limit in the number of tool bars that you can register.
void |
Use this function to register the main widget. There must be exactly one main widget!
void |
Use this function to register the status bar. There can only be one.
void |
Register the indicator widget. There can only be one.
void |
This function can be used to limit the number of lines/columns that are used by a single block of non-full-width toolbars. When the specified limit is reached the remaining bars will extend outside the window.
void |
This function arranges the widgets. It determines the necessary space for the toolbars and assignes the remainder to the main widget.
Reimplemented from QLayout
QSize |
[const]
Returns the preferred size of the layout.
Reimplemented from QLayoutItem
QSize |
[const]
Returns the minimum required size of the layout.
Reimplemented from QLayout
void |
Never use this function. It is provided to be compliant with Qt.
Reimplemented from QLayout
QLayoutIterator |
Never use this function. It is provided to be compliant with Qt.
Reimplemented from QLayoutItem