![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class implements an overlay bar which will show overlay layers on a bar strip and scroll arrows if the strip is too long to display.

Static Public Member Functions | |
| static DtOverlayBar * | instance (makVrv::DtDe &) |
Public Attributes | |
| QMenu * | myRightClickMenu |
| QAction * | myShowHide |
| QAction * | myLockUnlock |
| QAction * | myHideAllButThis |
| QAction * | myShowAll |
| QAction * | myHideAll |
| QAction * | mySaveAsShapeFiles |
| QAction * | myShapeFilesImport |
| QAction * | mySetDefaultHidden |
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 |
Protected Slots | |
| virtual void | onShowHideLayer () |
| virtual void | onLockUnlockLayer () |
| virtual void | onHideAllButThis () |
| virtual void | onShowAllLayers () |
| virtual void | onHideAllLayers () |
| virtual void | onSaveOverlayAsShapeFiles () |
| virtual void | onImportShapeFileOntoOverlay () |
| virtual void | onChangeDefaultHidden (bool) |
| virtual void | onChangeLayerVisibility () |
| virtual void | updateCheckBoxSelectedState (int) |
Protected Member Functions | |
| virtual void | updateIconsForMode () |
| virtual void | updateIconForMode (int index, bool hidden) |
| virtual void | showEvent (QShowEvent *) |
| virtual void | hideEvent (QHideEvent *) |
| virtual void | finalizeSetup () |
| virtual void | createRightClickMenu () |
| virtual void | guiSettingsChanged (const DtVrfGuiSettingsRecord &) |
| virtual void | changeVisibility (bool) |
| virtual void | slot_mainWidgetSet (QWidget *) |
| virtual void | slot_changingMainWidget (QWidget *old, QWidget *aboutToBe) |
| virtual void | changeLocation (makVrv::DtPageConfiguration::PageCollectionLocation) |
| virtual void | changeFloatingGeometry (int px, int py, int width, int height) |
| virtual void | changeFloatingGeometry (const makVrv::DtPageConfiguration::PageCollectionGeometry &geometry) |
| virtual void | changeDockedGeometry (int px, int py, int width, int height) |
| virtual void | changeDockedGeometry (const makVrv::DtPageConfiguration::PageCollectionGeometry &geometry) |
| virtual void | selectPage (const std::string &pageClassName) |
| virtual void | addPageToGui (makVrv::DtPage *) |
| virtual void | removePageFromGui (makVrv::DtPage *) |
| virtual void | selectPageInGui (makVrv::DtPage *page) |
| virtual void | slot_layerAdded (const std::string &) |
| virtual void | slot_layerRemoved (const std::string &) |
| virtual void | slot_layerRenamed (const std::string &, const std::string &) |
| virtual void | slot_layerVisibilityChanged (const std::string &, int) |
| virtual void | slot_overlayVisibilityChanged (const std::string &, bool) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | slot_overlayHidden (const std::string &s, bool b) |
| virtual int | positionOfTab (const std::string &) const |
| virtual int | indexOfTab (const std::string &) const |
| virtual std::string | overlayName (int index) const |
| virtual void | slot_defaultHiddenChanged (const std::string &layer, bool b) |
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 | |
| int | myLastSelectedIndex |
| makVrv::DtSignalConnectionManager | myConnections |
| QSize | myIconSize |
| int | myRightClickMenuIndex |
| std::set< std::string > | myHideTabs |
| std::set< std::string > | myHiddenTabs |
| std::map< std::string, QCheckBox * > | myVisibilityStates |
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 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 |
| makVrf::DtOverlayBar::DtOverlayBar | ( | makVrv::DtDe & | de, |
| const std::string & | name, | ||
| makVrv::DtQtDeMainWindow * | parent | ||
| ) |
|
virtual |
|
static |
Returns this instance.
|
virtual |
Sets the size of the icons in the toolbar. Will also change the geometry and font size.
|
virtual |
If this tab is shown, hides it, else if it will be shown will not allow it to be shown.
|
virtual |
If this tab is hidden shows it, else removes from the hideTab list.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Implement the visibility change of the widget.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
No-op. Cannot change location or geometry.
Implement changing the location of the collection
Implements makVrv::DtPageCollection.
|
inlineprotectedvirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineprotectedvirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineprotectedvirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineprotectedvirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
inlineprotectedvirtual |
Implement selecting a page by name.
Reimplemented from makVrv::DtQtPageCollection.
|
inlineprotectedvirtual |
Implement adding the page to the GUI.
Implements makVrv::DtQtPageCollection.
|
inlineprotectedvirtual |
Implement removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
|
inlineprotectedvirtual |
Implement selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Given the layer name, where in the tab order should this go.
|
protectedvirtual |
Given the layer name, what index is the tab on the tab bar.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| QMenu* makVrf::DtOverlayBar::myRightClickMenu |
| QAction* makVrf::DtOverlayBar::myShowHide |
| QAction* makVrf::DtOverlayBar::myLockUnlock |
| QAction* makVrf::DtOverlayBar::myHideAllButThis |
| QAction* makVrf::DtOverlayBar::myShowAll |
| QAction* makVrf::DtOverlayBar::myHideAll |
| QAction* makVrf::DtOverlayBar::mySaveAsShapeFiles |
| QAction* makVrf::DtOverlayBar::myShapeFilesImport |
| QAction* makVrf::DtOverlayBar::mySetDefaultHidden |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |