![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qlayoutitem.h>
Public Member Functions | |
| QWidgetItemV2 (QWidget *widget) | |
| ~QWidgetItemV2 () | |
| QSize | sizeHint () const override |
| \reimp | |
| QSize | minimumSize () const override |
| \reimp | |
| QSize | maximumSize () const override |
| \reimp | |
| int | heightForWidth (int width) const override |
| \reimp | |
| Public Member Functions inherited from QWidgetItem | |
| QWidgetItem (QWidget *w) | |
| Creates an item containing the given widget. | |
| ~QWidgetItem () | |
| Destructor. | |
| Qt::Orientations | expandingDirections () const override |
| \reimp | |
| bool | isEmpty () const override |
Returns true if the widget is hidden; otherwise returns false. | |
| void | setGeometry (const QRect &) override |
| \reimp | |
| QRect | geometry () const override |
| \reimp | |
| QWidget * | widget () const override |
| Returns the widget managed by this item. | |
| bool | hasHeightForWidth () const override |
| \reimp | |
| int | minimumHeightForWidth (int) const override |
| Returns the minimum height this widget needs for the given width, w. | |
| QSizePolicy::ControlTypes | controlTypes () const override |
| Returns the control type associated with the widget for which this size policy applies. | |
| Public Member Functions inherited from QLayoutItem | |
| QLayoutItem (Qt::Alignment alignment=Qt::Alignment()) | |
| Constructs a layout item with an alignment. | |
| virtual | ~QLayoutItem () |
| Destroys the QLayoutItem. | |
| virtual void | invalidate () |
| Invalidates any cached information in this layout item. | |
| virtual QLayout * | layout () |
| If this item is a QLayout, it is returned as a QLayout; otherwise \nullptr is returned. | |
| virtual QSpacerItem * | spacerItem () |
| If this item is a QSpacerItem, it is returned as a QSpacerItem; otherwise \nullptr is returned. | |
| Qt::Alignment | alignment () const |
| Returns the alignment of this item. | |
| void | setAlignment (Qt::Alignment a) |
| Sets the alignment of this item to alignment. | |
Friends | |
| class | QWidgetPrivate |
Additional Inherited Members | |
| Protected Attributes inherited from QWidgetItem | |
| QWidget * | wid |
| Protected Attributes inherited from QLayoutItem | |
| Qt::Alignment | align |
Definition at line 111 of file qlayoutitem.h.
|
explicit |
Definition at line 755 of file qlayoutitem.cpp.
| QWidgetItemV2::~QWidgetItemV2 | ( | ) |
Definition at line 769 of file qlayoutitem.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
friend |
Definition at line 140 of file qlayoutitem.h.