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

Public Types | |
| enum | DtAppearanceOptions { Hidden = 0, Pinned, Docked, Floating } |
| typedef std::list < DtAutoHidePanelItem * > | DtAutoHidePanelItemList |
| typedef DtAutoHidePanelItemList::iterator | DtAutoHidePanelItemListIterator |
| typedef std::list < DtAutoHideDock * > | DtAutoHideDockList |
| typedef DtAutoHideDockList::iterator | DtAutoHideDockListIterator |
| typedef std::map< std::string, DtAppearanceOptions > | DtAppearanceList |
| typedef std::map< std::string, DtAppearanceOptions > ::iterator | DtAppearanceListIterator |
Public Types inherited from makVrv::DtQtPageCollection | |
| typedef boost::unordered_map < std::string, DtPage * > | PageMap |
Public Types inherited from makVrv::DtPageCollection | |
| typedef std::vector< std::string > | PageClassList |
Static Public Member Functions | |
| static DtAutoHidePanel * | instance (makVrv::DtDe &) |
Protected Slots | |
| virtual void | slot_onItemToggled (DtAutoHidePanelItem *) |
| virtual void | slot_onItemClicked (DtAutoHidePanelItem *) |
| 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 () |
| virtual bool | eventFilter (QObject *p, QEvent *e) override |
| virtual void | installEventFilters () |
| virtual void | removeDock (DtAutoHideDock *dock) |
| virtual void | relocateAnyPinnedDock () |
| virtual void | refreshItems (int minsize) |
| virtual void | refreshAppearanceOfItem (DtAutoHidePanelItem *autoHideItemWidget, bool forceVisible) |
| virtual void | addPageToGui (makVrv::DtPage *) override |
| virtual void | removePageFromGui (makVrv::DtPage *) override |
| virtual void | selectPageInGui (makVrv::DtPage *page) override |
Protected Member Functions inherited from makVrv::DtQtPageCollection | |
| virtual void | activatePage (DtPage *) |
| virtual void | deactivatePage (DtPage *) |
Protected Member Functions inherited from makVrv::DtPageCollection | |
| void | addPageClass (const std::string &pageClassName) |
| void | removePageClass (const std::string &pageClassName) |
Protected Attributes | |
| QMainWindow * | myMainWindow |
| QWidget * | myCentralWidget |
| DtAutoHidePanelItemList | myItems |
| DtAutoHideDockList | myDocks |
| DtAppearanceList | myItemsAppearance |
| DtWidgetAnimator * | myWidgetAnimator |
| DtAutoHidePanelItem * | myCurrentItem |
| DtAutoHidePanelItem * | myDockToClose |
| QTimer | myTimer |
| QTimer | myCloseTimer |
| makVrv::DtSignalConnectionManager | myConnections |
| DtAutoHideDock * | myCloseIfMousePressOutside |
Protected Attributes inherited from makVrv::DtQtPageCollection | |
| PageMap | myPages |
Protected Attributes inherited from makVrv::DtPageCollection | |
| DtDe & | myDe |
| std::string | myClassName |
| bool | myVisibility |
| PageClassList | myPageClasses |
| DtPageConfiguration::PageCollectionLocation | myLocation |
| DtPageConfiguration::PageCollectionGeometry | myFloatingGeometry |
| DtPageConfiguration::PageCollectionGeometry | myDockedGeometry |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtPageCollection | |
| boost::signalslib::signal< void()> | signal_shown |
| boost::signalslib::signal< void()> | signal_hidden |
| boost::signalslib::signal < void(const std::string &)> | signal_pageSelected |
| typedef std::list<DtAutoHidePanelItem*> makVrf::DtAutoHidePanel::DtAutoHidePanelItemList |
| typedef DtAutoHidePanelItemList::iterator makVrf::DtAutoHidePanel::DtAutoHidePanelItemListIterator |
| typedef std::list<DtAutoHideDock*> makVrf::DtAutoHidePanel::DtAutoHideDockList |
| typedef DtAutoHideDockList::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, |
| const std::string & | name, | ||
| makVrv::DtQtDeMainWindow * | parent | ||
| ) |
|
overridevirtual |
|
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 |
|
virtual |
Sets the particular panel item to be visible or not. If updateVisibilityState is true, also update in layout manager.
|
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 |
Returns a list of panels (keyword/title) that can be used on a create menu. Currently these are only subclasses of DtCreateObjectPalette.
|
overridevirtual |
Implement the visibility change of the widget.
Implements makVrv::DtPageCollection.
|
virtual |
|
inlineoverridevirtual |
No-op. Cannot change location or geometry.
Implement changing the location of the collection
Implements makVrv::DtPageCollection.
|
inlineoverridevirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineoverridevirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineoverridevirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineoverridevirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineoverridevirtual |
Implement selecting a page by name.
Reimplemented from makVrv::DtQtPageCollection.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return the entity create palette.
|
inlinevirtual |
|
inlinevirtual |
Return the prop create palette.
|
inlinevirtual |
|
virtual |
Sets whether or not the item is pinned. If not visible when pinned is true will show item.
|
virtual |
|
protectedvirtual |
Initializes the GUI for the panel.
|
overrideprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Implement adding the page to the GUI.
Implements makVrv::DtQtPageCollection.
|
overrideprotectedvirtual |
Implement removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
|
inlineoverrideprotectedvirtual |
Implement selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
|
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 |
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 |
The item that wants to be closed.
|
protected |
Controls the 1 second delay before showing a dock.
|
protected |
Controls the 1 second delay before hiding a dock.
|
protected |