![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The QDesignerLayoutDecorationExtension class provides extensions for layouts in Qt Designer. More...
#include <QDesignerLayoutDecorationExtension>
Part of the QtDesigner module.
The QDesignerLayoutDecorationExtension class provides extensions for layouts in Qt Designer.
This enum describes the modes that are used to insert items into a layout.
Constant | Value | Description |
---|---|---|
QDesignerLayoutDecorationExtension::InsertWidgetMode | 0 | Widgets are inserted into empty cells in a layout. |
QDesignerLayoutDecorationExtension::InsertRowMode | 1 | Whole rows are inserted into a vertical or grid layout. |
QDesignerLayoutDecorationExtension::InsertColumnMode | 2 | Whole columns are inserted into a horizontal or grid layout. |
Destroys the extension.
Adjusts the indicator for the specified widget so that it lies at the given position on the form.
Returns a pair containing the row and column of the current cell in the layout.
Returns the current index in the layout.
Returns the current insertion mode.
Returns the index of the item in the layout that covers the given position.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Returns the item in the layout that occupies the specified row and column in the layout.
Currently, this only applies to grid layouts.
Returns the index of the specified widget in the layout.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Returns the index of the specified layout item.
Inserts a new column into the form at the position specified by column.
Inserts a new row into the form at the position specified by row.
Inserts the given widget into the specified cell in the layout.
See also removeWidget().
Returns the rectangle covered by the item at the given index in the layout.
Removes the specified widget from the layout.
See also insertWidget().
Simplifies the layout by removing unnecessary empty rows and columns, and by changing the number of rows or columns spanned by widgets.
Returns the widgets that are managed by the given layout.
See also insertWidget() and removeWidget().
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0 |