![]() |
Qt 4.8
|
#include <qtoolbarlayout_p.h>
Public Functions | |
| bool | isEmpty () const |
| Returns true if the widget is hidden; otherwise returns false. More... | |
| QToolBarItem (QWidget *widget) | |
Public Functions inherited from QWidgetItem | |
| Qt::Orientations | expandingDirections () const |
| Reimplemented Function More... | |
| QRect | geometry () const |
| Reimplemented Function More... | |
| bool | hasHeightForWidth () const |
| Reimplemented Function More... | |
| int | heightForWidth (int) const |
| Reimplemented Function More... | |
| QSize | maximumSize () const |
| Reimplemented Function More... | |
| QSize | minimumSize () const |
| Reimplemented Function More... | |
| QWidgetItem (QWidget *w) | |
| Creates an item containing the given widget. More... | |
| void | setGeometry (const QRect &) |
| Reimplemented Function More... | |
| QSize | sizeHint () const |
| Reimplemented Function More... | |
| virtual QWidget * | widget () |
| Returns the widget managed by this item. More... | |
Public Functions inherited from QLayoutItem | |
| Qt::Alignment | alignment () const |
| Returns the alignment of this item. More... | |
| QSizePolicy::ControlTypes | controlTypes () const |
| Returns the control type(s) for the layout item. More... | |
| virtual void | invalidate () |
| Invalidates any cached information in this layout item. More... | |
| virtual QLayout * | layout () |
| If this item is a QLayout, it is returned as a QLayout; otherwise 0 is returned. More... | |
| virtual int | minimumHeightForWidth (int) const |
| Returns the minimum height this widget needs for the given width, w. More... | |
| QLayoutItem (Qt::Alignment alignment=0) | |
| Constructs a layout item with an alignment. More... | |
| void | setAlignment (Qt::Alignment a) |
| Sets the alignment of this item to alignment. More... | |
| virtual QSpacerItem * | spacerItem () |
| If this item is a QSpacerItem, it is returned as a QSpacerItem; otherwise 0 is returned. More... | |
| virtual | ~QLayoutItem () |
| Destroys the QLayoutItem. More... | |
Public Variables | |
| QAction * | action |
| bool | customWidget |
Additional Inherited Members | |
Protected Variables inherited from QWidgetItem | |
| QWidget * | wid |
Protected Variables inherited from QLayoutItem | |
| Qt::Alignment | align |
Definition at line 68 of file qtoolbarlayout_p.h.
| QToolBarItem::QToolBarItem | ( | QWidget * | widget | ) |
Definition at line 67 of file qtoolbarlayout.cpp.
|
virtual |
Returns true if the widget is hidden; otherwise returns false.
Reimplemented from QWidgetItem.
Definition at line 72 of file qtoolbarlayout.cpp.
Referenced by QToolBarLayout::updateGeomArray().
| QAction* QToolBarItem::action |
Definition at line 74 of file qtoolbarlayout_p.h.
Referenced by QToolBarLayout::createItem(), defaultWidgetAction(), QToolBarLayout::indexOf(), isEmpty(), QToolBarLayout::layoutActions(), QToolBarLayout::takeAt(), and QToolBarLayout::~QToolBarLayout().
| bool QToolBarItem::customWidget |
Definition at line 75 of file qtoolbarlayout_p.h.
Referenced by QToolBarLayout::createItem(), QToolBarLayout::takeAt(), and QToolBarLayout::~QToolBarLayout().