![]() |
VR-Forces 4.1 Class Documentation
|
This class implements the panel where auto hide dialogs are placed when they are hidden. More...

Public Types | |
| enum | DtAppearanceOptions { Hidden = 0, Pinned, Docked, Floating } |
| typedef std::list < DtAutoHidePanelItem * > | DtAutoHidePanelItemList |
| typedef std::list < DtAutoHidePanelItem * > ::iterator | DtAutoHidePanelItemListIterator |
| typedef std::list < DtAutoHideDock * > | DtAutoHideDockList |
| typedef std::list < DtAutoHideDock * >::iterator | DtAutoHideDockListIterator |
| typedef std::map< std::string, DtAppearanceOptions > | DtAppearanceList |
| typedef std::map< std::string, DtAppearanceOptions > ::iterator | DtAppearanceListIterator |
Public Member Functions | |
| DtAutoHidePanel (makVrv::DtDe &de, makVrv::DtQtDeMainWindow *parent) | |
| ~DtAutoHidePanel () | |
| virtual void | addItem (DtAutoHideDock *dock, bool forceVisible=false) |
| Registers the dock to be managed by the panel. | |
| virtual void | clear () |
| Removes all the items from the panel. | |
| virtual DtAutoHidePanelItem * | findItemForDock (const DtAutoHideDock *dock) |
| virtual void | hideAllDocks () |
| Hides all the dialogs on display for any of the items, as long as the item is not marked as pinned. | |
| virtual int | itemCount () |
| Returns the total of items currently in the panel. | |
| virtual void | placeItems () |
| Displays all the items of the panel. | |
| virtual void | removeItem (DtAutoHidePanelItem *item) |
| Removes the given item from the panel. | |
| virtual void | showDockForItem (DtAutoHidePanelItem *item, bool animate=true) |
| Shows the dock associated with the given item. | |
| virtual void | hideDockForItem (DtAutoHidePanelItem *item, bool animate=true) |
| Hides the dock associated with the item only if the item is not pinned. | |
| virtual DtEntityCreatePalette * | entityCreatePalette () |
| Return the entity create palette. | |
| virtual void | setEntityCreationDock (DtAutoHideDock *) |
| virtual DtAutoHideDock * | entityCreationDock () |
| virtual DtTacticalGraphicCreatePalette * | tacticalGraphicCreatePalette () |
| Return the tactical graphic create palette. | |
| virtual void | setTacticalGraphicCreationDock (DtAutoHideDock *) |
| virtual DtAutoHideDock * | tacticalGraphicCreationDock () |
| virtual DtPropCreatePalette * | propCreatePalette () |
| Return the prop create palette. | |
| virtual void | setPropCreationDock (DtAutoHideDock *) |
| virtual DtAutoHideDock * | propCreationDock () |
| virtual void | setItemPinned (DtAutoHidePanelItem *, bool) |
| Sets whether or not the item is pinned. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtAutoHidePanel * | instance (makVrv::DtDe &) |
| Returns this instance. | |
Protected Slots | |
| virtual void | slot_onItemToggled (DtAutoHidePanelItem *) |
| This slot is executed when the mouse is pressed over any item of the panel. | |
| virtual void | slot_onItemClicked (DtAutoHidePanelItem *) |
| This slot is executed when the mouse is pressed over any item of the panel. | |
| virtual void | slot_dockClosed (DtAutoHideDock *dockWidget) |
| virtual void | slot_dockEntered (DtAutoHideDock *dockWidget) |
| virtual void | slot_dockLeft (DtAutoHideDock *dockWidget) |
| virtual void | slot_dockResized (DtAutoHideDock *dockWidget) |
| virtual void | slot_dockDestroyed (DtAutoHideDock *dockWidget) |
| virtual void | slot_showDockOfCurrentItem (bool lockIt=false) |
| virtual void | slot_closeTimerTimeout () |
| virtual void | slot_onItemAvailabilityChanged (DtAutoHidePanelItem *dockWidget) |
| virtual void | slot_observerModeSettingChanged (makVrv::DtObserverObject *, int setting, bool value) |
| virtual void | placeCompass () |
| virtual void | finalizeSetup () |
Protected Member Functions | |
| virtual void | setupGui () |
| Initializes the GUI for the panel. | |
| virtual bool | eventFilter (QObject *p, QEvent *e) |
| virtual void | installEventFilters () |
| virtual int | maxItemWidth () |
| virtual int | findDock (const DtAutoHideDock *dock) |
| virtual void | removeDock (DtAutoHideDock *dock) |
| virtual void | relocateAnyPinnedDock () |
| virtual void | refreshItems (int minsize) |
| virtual void | refreshAppearanceOfItem (DtAutoHidePanelItem *autoHideItemWidget, bool forceVisible) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QMainWindow * | myMainWindow |
| QWidget * | myCentralWidget |
| DtAutoHidePanelItemList | myItems |
| DtAutoHideDockList | myDocks |
| List with all the items currently on display. | |
| DtAppearanceList | myItemsAppearance |
| List with all the docks registered with this panel. | |
| DtWidgetAnimator * | myWidgetAnimator |
| Keeps track of the last appearance of the items (hidden, pinned, docked, floating) | |
| DtAutoHidePanelItem * | myCurrentItem |
| Animates the display of a dock. | |
| QTimer | myTimer |
| Current item to be shown. | |
| QTimer | myCloseTimer |
| Controls the 1 second delay before showing a dock. | |
| makVrv::DtSignalConnectionManager | myConnections |
| Controls the 1 second delay before hiding a dock. | |
| DtAutoHideDock * | myEntityCreationDock |
| DtAutoHideDock * | myTacticalGraphicCreationDock |
| DtAutoHideDock * | myPropCreationDock |
This class implements the panel where auto hide dialogs are placed when they are hidden.
This panel is located on the right side of the app.
| typedef std::list<DtAutoHidePanelItem*> makVrf::DtAutoHidePanel::DtAutoHidePanelItemList |
| typedef std::list<DtAutoHidePanelItem*>::iterator makVrf::DtAutoHidePanel::DtAutoHidePanelItemListIterator |
| typedef std::list<DtAutoHideDock*> makVrf::DtAutoHidePanel::DtAutoHideDockList |
| typedef std::list<DtAutoHideDock*>::iterator makVrf::DtAutoHidePanel::DtAutoHideDockListIterator |
| typedef std::map<std::string, DtAppearanceOptions> makVrf::DtAutoHidePanel::DtAppearanceList |
| typedef std::map<std::string, DtAppearanceOptions>::iterator makVrf::DtAutoHidePanel::DtAppearanceListIterator |
| makVrf::DtAutoHidePanel::DtAutoHidePanel | ( | makVrv::DtDe & | de, |
| makVrv::DtQtDeMainWindow * | parent | ||
| ) |
| makVrf::DtAutoHidePanel::~DtAutoHidePanel | ( | ) |
|
virtual |
Registers the dock to be managed by the panel.
When added the dock is hidden by default. Use the forceVisible flag to tell the panel to force the panel to be shown after adding it.
|
virtual |
Removes all the items from the panel.
|
virtual |
|
virtual |
Hides all the dialogs on display for any of the items, as long as the item is not marked as pinned.
|
virtual |
Returns the total of items currently in the panel.
|
virtual |
Displays all the items of the panel.
|
virtual |
Removes the given item from the panel.
|
virtual |
Shows the dock associated with the given item.
|
virtual |
Hides the dock associated with the item only if the item is not pinned.
|
static |
Returns this instance.
|
virtual |
Return the entity create palette.
|
virtual |
|
virtual |
|
virtual |
Return the tactical graphic create palette.
|
virtual |
|
virtual |
|
virtual |
Return the prop create palette.
|
virtual |
|
virtual |
|
virtual |
Sets whether or not the item is pinned.
If not visible when pinned is true will show item
|
protectedvirtual |
Initializes the GUI for the panel.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
This slot is executed when the mouse is pressed over any item of the panel.
|
protectedvirtualslot |
This slot is executed when the mouse is pressed over any item of the panel.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
List with all the items currently on display.
|
protected |
List with all the docks registered with this panel.
|
protected |
Keeps track of the last appearance of the items (hidden, pinned, docked, floating)
|
protected |
Animates the display of a dock.
|
protected |
Current item to be shown.
|
protected |
Controls the 1 second delay before showing a dock.
|
protected |
Controls the 1 second delay before hiding a dock.
|
protected |
|
protected |
|
protected |