![]() |
VR-Forces Developer's Guide
|
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.

Signals | |
| void | signal_enter (DtAutoHidePanelItem *) |
| void | signal_leave (DtAutoHidePanelItem *) |
| void | signal_toggled (DtAutoHidePanelItem *) |
| void | signal_clicked (DtAutoHidePanelItem *) |
| void | signal_availabilityChanged (DtAutoHidePanelItem *) |
Public Member Functions | |
| DtAutoHidePanelItem (makVrv::DtDe &de, QWidget *parent, QString title, const std::string &className) | |
| virtual | ~DtAutoHidePanelItem () |
| DtAutoHideDock * | dockToManage () |
| virtual void | setDockToManage (DtAutoHideDock *widget) |
| virtual const makVrv::DtQIconConfigurations & | icon () const |
| virtual void | setIcon (const makVrv::DtQIconConfigurations &p) |
| const std::string & | className () const |
| virtual QString | iconText () |
| virtual void | setIconText (const QString &s) |
| virtual bool | toggled () const |
| virtual void | setToggled (bool flag) |
| virtual void | setAvailable (bool visible, bool updateVisibilityState=true) |
| virtual bool | available () const |
| virtual void | setAboutToBeShown (bool flag) |
| virtual void | refreshSize (int minsize=-1) |
| virtual void | setToggle (bool flag) |
Protected Slots | |
| virtual void | toggleItem () |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *o, QEvent *e) override |
| virtual void | enterEvent (QEvent *e) |
| virtual void | leaveEvent (QEvent *) |
| virtual void | paintEvent (QPaintEvent *p) |
| virtual void | refreshIcon () |
Protected Attributes | |
| makVrv::DtQIconConfigurations | myIconConfigurations |
| QIcon | myIcon |
| int | myIconSize |
| QString | myIconText |
| int | myLeftMargin |
| int | myRightMargin |
| int | myTopMargin |
| int | myBottomMargin |
| int | mySpacing |
| DtAutoHideDock * | myAutoHideDock |
| bool | myAboutToBeShown |
| bool | myIsToggleType |
| bool | myIsAvailable |
| makVrv::DtDe & | myDe |
| std::string | myClassName |
| makVrv::DtSignalConnectionManager | myConnections |
| makVrf::DtAutoHidePanelItem::DtAutoHidePanelItem | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| QString | title, | ||
| const std::string & | className | ||
| ) |
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 |
|
inline |
Class name.
|
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 visibility of the item inside the panel. If updateVisibilityState is true, also update in layout manager.
|
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.
|
overrideprotectedvirtual |
|
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 widget is about to be drawn on the screen.
|
protectedvirtual |
|
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.
|
protectedvirtualslot |
Event that happens when the mouse is released on this widget.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |