![]() |
VR-Forces 4.2 Class Documentation
|
Represents an element of the autoHidePanel. More...

Signals | |
| void | signal_enter (DtAutoHidePanelItem *) |
| This signal gets emitted when the mouse enters the widget. | |
| void | signal_leave (DtAutoHidePanelItem *) |
| This signal gets emitted when the mouse leaves the widget. | |
| void | signal_toggled (DtAutoHidePanelItem *) |
| This signal gets emitted when the mouse is pressed over an instance of this class -only- applies when the type of item is Toggle. | |
| void | signal_clicked (DtAutoHidePanelItem *) |
| This signal gets emitted when the mouse is pressed over an instance of this class -only- applies when the type of item is not Toggle. | |
| void | signal_availabilityChanged (DtAutoHidePanelItem *) |
| This signal gets emitted when the item's availability changes. | |
Public Member Functions | |
| DtAutoHidePanelItem (makVrv::DtDe &de, QWidget *parent, QString title) | |
| Constructor. | |
| virtual | ~DtAutoHidePanelItem () |
| Destructor. | |
| DtAutoHideDock * | dockToManage () |
| Set/Get the dock widget associated with this item. | |
| virtual void | setDockToManage (DtAutoHideDock *widget) |
| virtual const QPixmap & | icon () const |
| Set/Get the display icon. | |
| virtual void | setIcon (const QIcon &p) |
| virtual QString | iconText () |
| Set/Get the text that gets displayed vertically next to the icon. | |
| virtual void | setIconText (const QString &s) |
| virtual bool | toggled () const |
| Set/Get the toggled status of the item. | |
| virtual void | setToggled (bool flag) |
| virtual void | setSelected (bool flag) |
| Sets the selected status of the item. | |
| virtual void | setAvailable (bool visible) |
| Sets the visibility of the item inside the panel. | |
| virtual bool | available () const |
| virtual void | setAboutToBeShown (bool flag) |
| Sets whether this item is about to be shown or not. | |
| virtual void | refreshSize (int minsize=-1) |
| Calculates how large the area needs to be to display both the icon and the text. | |
| virtual void | setToggle (bool flag) |
| Sets the type of item. | |
Protected Member Functions | |
| virtual void | enterEvent (QEvent *e) |
| Event that happens when the mouse enters this widget. | |
| virtual void | leaveEvent (QEvent *) |
| Event that happens when the mouse leaves this widget. | |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| Event that happens when the mouse is released on this widget. | |
| virtual void | paintEvent (QPaintEvent *p) |
| Event that happens when the widget is about to be drawn on the screen. | |
Protected Attributes | |
| QPixmap | myIcon |
| QString | myIconText |
| int | myLeftMargin |
| int | myRightMargin |
| int | myTopMargin |
| int | myBottomMargin |
| int | mySpacing |
| bool | myIsSelected |
| bool | myIsToggled |
| DtAutoHideDock * | myAutoHideDock |
| bool | myAboutToBeShown |
| bool | myIsToggleType |
| bool | myIsAvailable |
| makVrv::DtDe & | myDe |
Represents an element of the autoHidePanel.
This element is represented as an icon + an icon text. The icon is displayed on top and the text is displayed below the icon vertically
| makVrf::DtAutoHidePanelItem::DtAutoHidePanelItem | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| QString | title | ||
| ) |
Constructor.
The title represents the text to be shown when the item is displayed.
|
virtual |
Destructor.
| DtAutoHideDock* makVrf::DtAutoHidePanelItem::dockToManage | ( | ) |
Set/Get the dock widget associated with this item.
|
virtual |
|
virtual |
Set/Get the display icon.
|
virtual |
|
virtual |
Set/Get the text that gets displayed vertically next to the icon.
|
virtual |
|
virtual |
Set/Get the toggled status of the item.
This only applies when the item type is set to Toggled (setToggle(true))
|
virtual |
|
virtual |
Sets the selected status of the item.
|
virtual |
Sets the visibility of the item inside the panel.
|
virtual |
|
virtual |
Sets whether this item is about to be shown or not.
|
virtual |
Calculates how large the area needs to be to display both the icon and the text.
|
virtual |
Sets the type of item.
|
protectedvirtual |
Event that happens when the mouse enters this widget.
|
protectedvirtual |
Event that happens when the mouse leaves this widget.
|
protectedvirtual |
Event that happens when the mouse is released on this widget.
|
protectedvirtual |
Event that happens when the widget is about to be drawn on the screen.
|
signal |
This signal gets emitted when the mouse enters the widget.
|
signal |
This signal gets emitted when the mouse leaves the widget.
|
signal |
This signal gets emitted when the mouse is pressed over an instance of this class -only- applies when the type of item is Toggle.
|
signal |
This signal gets emitted when the mouse is pressed over an instance of this class -only- applies when the type of item is not Toggle.
|
signal |
This signal gets emitted when the item's availability changes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |