Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
QToolBarExtensionWidget (QWidget *w) | |
void | setOrientation (Orientation o) |
QToolButton * | button () const |
Métodos protegidos | |
void | resizeEvent (QResizeEvent *e) |
QToolBarExtensionWidget::QToolBarExtensionWidget | ( | QWidget * | w | ) |
QToolButton* QToolBarExtensionWidget::button | ( | ) | const [inline] |
void QToolBarExtensionWidget::resizeEvent | ( | QResizeEvent * | ) | [inline, protected, virtual] |
This event handler can be reimplemented in a subclass to receive widget resize events. When resizeEvent() is called, the widget already has its new geometry. The old size is accessible through QResizeEvent::oldSize().
The widget will be erased and receive a paint event immediately after processing the resize event. No drawing need be (or should be) done inside this handler.
Widgets that have been created with the WNoAutoErase
flag will not be erased. Nevertheless, they will receive a paint event for their entire area afterwards. Again, no drawing needs to be done inside this handler.
The default implementation calls updateMask() if the widget has automatic masking enabled.
Reimplementado de QWidget.
void QToolBarExtensionWidget::setOrientation | ( | Orientation | o | ) |