![]() |
VR-Forces 4.3 Class Documentation
|
Represents a widget that can be used as the titleBarWidget. More...

Public Types | |
| enum | DtExtendedTitleBarButtonFlags { NoButtons = 0x0000, PinButton = 0x0001, CollapseButton = 0x0010, FloatButton = 0x0100, CloseButton = 0x1000, AllButtons = PinButton | CollapseButton | CloseButton | FloatButton } |
Signals | |
| void | signal_pinPressed (bool flag) |
| This signal gets emitted when the pin button is pressed. | |
| void | signal_collapsePressed (bool flag) |
| This signal gets emitted when the collapse button is pressed. | |
| void | signal_closePressed () |
| This signal gets emitted when the close button is pressed. | |
| void | signal_floatPressed () |
| This signal gets emitted when the float button is pressed. | |
| void | signal_pinStatusChanged (bool pinned) |
| This signal gets emitted when the pin status of the widget changes. | |
| void | signal_collapseStatusChanged (bool pinned) |
| This signal gets emitted when the collapse status of the widget changes. | |
Public Member Functions | |
| DtExtendedTitleBarWidget (makVrv::DtDe &de, QWidget *parent=NULL, DtExtendedTitleBarButtonFlags flags=NoButtons) | |
| default constructor | |
| virtual | ~DtExtendedTitleBarWidget () |
| destructor | |
| virtual bool | isPinned () |
| Tells the current status of the pin button. | |
| virtual void | setPinned (bool flag) |
| Sets the pinned state. | |
| virtual bool | isCollapsed () |
| Tells the current status of the collapse button. | |
| virtual void | setCollapsed (bool flag) |
| Sets the collapsed state. | |
| virtual const QString | title () |
| Text displayed as the title. | |
| virtual void | setTitle (const QString &text) |
| Sets the text displayed as the title. | |
| virtual void | setDrawBorder (bool flag) |
| Sets drawing a box around the widget. | |
| virtual void | setButtons (DtExtendedTitleBarButtonFlags flags) |
| Sets the buttons to enable/show on this widget. | |
Protected Slots | |
| void | slot_onPinButtonClicked () |
| void | slot_onCloseButtonClicked () |
| void | slot_onCollapseButtonClicked () |
| void | slot_onFloatButtonClicked () |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *p) |
| This automatic event gets triggered every time the widget needs to be painted on the screen. | |
| virtual void | setupGui () |
| Initializes the visuals of this widget. | |
| virtual void | updatePinStatus () |
| Updates the visuals of the pin button depending on whether the status is pinned or not. | |
| virtual void | updateCollapseStatus () |
| Updates the visuals of the collapse button depending on whether the status is pinned or not. | |
Protected Attributes | |
| Ui_dockHideBarWidgetUI | myUiImpl |
| DtExtendedTitleBarButtonFlags | myFlags |
| QPixmap | myPinV |
| QPixmap | myPinL |
| QPixmap | myCollapseOpen |
| QPixmap | myCollapseClosed |
| bool | myIsPinned |
| bool | myIsCollapsed |
| bool | myDrawBorder |
| makVrv::DtDe & | myDe |
Represents a widget that can be used as the titleBarWidget.
of a QtDock widget. This widget allows for four different buttons: pin/unpin, dock/undock, expand/collapse, and close
| makVrf::DtExtendedTitleBarWidget::DtExtendedTitleBarWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = NULL, |
||
| DtExtendedTitleBarButtonFlags | flags = NoButtons |
||
| ) |
default constructor
|
virtual |
destructor
|
virtual |
Tells the current status of the pin button.
|
virtual |
Sets the pinned state.
|
virtual |
Tells the current status of the collapse button.
|
virtual |
Sets the collapsed state.
|
virtual |
Text displayed as the title.
|
virtual |
Sets the text displayed as the title.
|
virtual |
Sets drawing a box around the widget.
|
virtual |
Sets the buttons to enable/show on this widget.
|
protectedvirtual |
This automatic event gets triggered every time the widget needs to be painted on the screen.
|
protectedvirtual |
Initializes the visuals of this widget.
|
protectedvirtual |
Updates the visuals of the pin button depending on whether the status is pinned or not.
|
protectedvirtual |
Updates the visuals of the collapse button depending on whether the status is pinned or not.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
signal |
This signal gets emitted when the pin button is pressed.
|
signal |
This signal gets emitted when the collapse button is pressed.
|
signal |
This signal gets emitted when the close button is pressed.
|
signal |
This signal gets emitted when the float button is pressed.
|
signal |
This signal gets emitted when the pin status of the widget changes.
|
signal |
This signal gets emitted when the collapse status of the widget changes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |