![]() |
VR-Forces 4.8 Class Documentation
|
The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget. More...

Public Member Functions | |
| DtQtPageDialog (DtDe &de, const std::string &panelClassName, QWidget *parent=0) | |
| CTOR. More... | |
| virtual | ~DtQtPageDialog () |
| DTOR. More... | |
| virtual void | setStatus (const QString &status) |
| virtual void | setIconsPerpendicularToTab (bool) |
| If layout of tabs is in West or East mode, and, this flag is true, rotate icons to be perpendicular to the tab (90 degrees) More... | |
| bool | iconsPerpendicularToTab () const |
| virtual void | resume () |
| resume to the last page More... | |
| virtual void | hide () |
| hide the dialog More... | |
Public Member Functions inherited from makVrv::DtQtPageCollection | |
| DtQtPageCollection (DtDe &de, const std::string &collectionClassName) | |
| CTOR. More... | |
| virtual | ~DtQtPageCollection () |
| DTOR, this will delete all currently added pages. More... | |
| void | addPage (DtPage *page) |
| Add a page to the collection, the collection will assume ownership of the pointer. More... | |
| void | removePage (DtPage *page, bool deletePage=true) |
| Remove a page that was previously added. More... | |
| DtPage * | findPage (const std::string &pageClassName) |
| Find a page. Returns 0 if the page wasn't added. More... | |
| const DtPage * | findPage (const std::string &pageClassName) const |
| Find a page. Returns 0 if the page wasn't added. More... | |
| const PageMap & | pages () const |
| Get the currently available pages. More... | |
| virtual void | removeContainer () |
| Removes the collection from the GUI (does not delete it) More... | |
| virtual void | bringToTop () |
| Brings the panel to the front (when it is tabbed) More... | |
Public Member Functions inherited from makVrv::DtPageCollection | |
| DtPageCollection (DtDe &de, const std::string &collectionClassName) | |
| CTOR, this automatically registers the interface with the makVrv::DtPageCollectionManager instance. More... | |
| virtual | ~DtPageCollection () |
| DTOR, this automatically unregisters the interface with the makVrv::DtPageCollectionManager instance. More... | |
| const std::string & | collectionClassName () const |
| Get the collection class name. More... | |
| const PageClassList & | pageClasses () const |
| Get a list of all the page classes contained in this collection. More... | |
| void | show (const std::string &page=std::string("")) |
| Show the collection of pages. More... | |
| void | hide () |
| Hide the collection of pages. More... | |
| bool | visible () const |
| Get whether the collection is currently visible. More... | |
| virtual int | tabIndex () const |
| If this page collection has been tabified, returns the index inside the tab collection where this collection is. More... | |
| virtual bool | isTabbed () const |
| Returns true if this collection has been tabified. More... | |
| DtPageConfiguration::PageCollectionLocation | location () const |
| Get the current location of the collection. More... | |
| void | setLocation (DtPageConfiguration::PageCollectionLocation location) |
| Set the current location of the collection. More... | |
| DtPageConfiguration::PageCollectionGeometry & | floatingGeometry () |
| Get the current geometry of the collection. More... | |
| void | setFloatingGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| //! Set the current floating geometry for the collection More... | |
| void | setFloatingGeometry (int px, int py, int width, int height) |
| Set the current floating geometry for the collection. More... | |
| virtual DtPageConfiguration::PageCollectionGeometry | dockedGeometry () |
| Get the current docked geometry of the collection. More... | |
| void | setDockedGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| Set the current docked geometry for the collection. More... | |
| void | setDockedGeometry (int px, int py, int width, int height) |
| Set the current docked geometry for the collection. More... | |
Protected Slots | |
| virtual void | onVisibilityChanged (bool visible) |
| virtual void | onCurrentChanged (int index) |
Protected Member Functions | |
| virtual void | changeVisibility (bool newVisibility) |
| Implementation of the visibility change of the widget. More... | |
| virtual void | changeLocation (DtPageConfiguration::PageCollectionLocation location) |
| Implementation of changing the location of the collection. More... | |
| virtual void | changeFloatingGeometry (int px, int py, int width, int height) |
| Implement changing the floating geometry of the collection. More... | |
| virtual void | changeFloatingGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| Implement changing the floating geometry of the collection. More... | |
| virtual void | changeDockedGeometry (int px, int py, int width, int height) |
| Implement changing the docked geometry of the collection. More... | |
| virtual void | changeDockedGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| Implement changing the docked geometry of the collection. More... | |
| virtual void | addPageToGui (DtPage *) |
| Implementation of adding the page to the GUI. More... | |
| virtual void | removePageFromGui (DtPage *) |
| Implementation of removing a page from the GUI. More... | |
| virtual void | selectPageInGui (DtPage *page) |
| Implementation of selecting a page in the GUI. More... | |
| virtual void | closeEvent (QCloseEvent *e) |
| Override the close event. More... | |
| virtual void | reject () |
| Override the reject event. More... | |
| void | setupGui () |
| Creates the widgets. More... | |
| void | rotateIcon (int, int deg) |
| Gets the icon at the specified position and rotates it by the specified amount and replaces. More... | |
| virtual void | keyPressEvent (QKeyEvent *e) |
| Override base implementation to stop Escape & Enter closing the dialog. More... | |
Protected Member Functions inherited from makVrv::DtQtPageCollection | |
| virtual void | activatePage (DtPage *) |
| virtual void | deactivatePage (DtPage *) |
| virtual void | selectPage (const std::string &pageClassName) |
| Implements selecting a page by name. More... | |
Protected Member Functions inherited from makVrv::DtPageCollection | |
| void | addPageClass (const std::string &pageClassName) |
| Subclasses must call this when a page is added. More... | |
| void | removePageClass (const std::string &pageClassName) |
| Subclasses must call this when a page is removed. More... | |
Protected Attributes | |
| QVBoxLayout * | myMainLayout |
| QTabWidget * | myTabs |
| QFrame * | myHorizontalLine |
| QHBoxLayout * | myBottomLayout |
| QLabel * | myStatusLabel |
| QDialogButtonBox * | myCloseButton |
| DtPage * | myActivePage |
| bool | myIconsPerpendicularToTab |
| int | myLastPageIndex |
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 |
Public Attributes inherited from makVrv::DtPageCollection | |
| boost::signal< void()> | signal_shown |
| boost::signal< void()> | signal_hidden |
| boost::signal< void(const std::string &)> | signal_pageSelected |
The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget.
| makVrv::DtQtPageDialog::DtQtPageDialog | ( | DtDe & | de, |
| const std::string & | panelClassName, | ||
| QWidget * | parent = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationDialog.
|
virtual |
If layout of tabs is in West or East mode, and, this flag is true, rotate icons to be perpendicular to the tab (90 degrees)
| bool makVrv::DtQtPageDialog::iconsPerpendicularToTab | ( | ) | const |
|
virtual |
resume to the last page
|
virtual |
hide the dialog
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationDialog.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Implementation of the visibility change of the widget.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implementation of changing the location of the collection.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
|
protectedvirtual |
Implementation of adding the page to the GUI.
Implements makVrv::DtQtPageCollection.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationDialog.
|
protectedvirtual |
Implementation of removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
|
protectedvirtual |
Implementation of selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
|
protectedvirtual |
Override the close event.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationDialog.
|
protectedvirtual |
Override the reject event.
|
protected |
Creates the widgets.
Gets the icon at the specified position and rotates it by the specified amount and replaces.
|
protectedvirtual |
Override base implementation to stop Escape & Enter closing the dialog.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |