![]() |
VR-Forces Developer's Guide
|
The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget.

Public Member Functions | |
| DtQtPagePanel (DtDe &de, const std::string &panelClassName, QWidget *parent=0) | |
| virtual | ~DtQtPagePanel () |
| virtual int | tabIndex () const |
| virtual DtPageConfiguration::PageCollectionGeometry | dockedGeometry () |
| virtual void | removeContainer () |
| virtual void | bringToTop () |
Public Member Functions inherited from makVrv::DtQtPageCollection | |
| DtQtPageCollection (DtDe &de, const std::string &collectionClassName) | |
| virtual | ~DtQtPageCollection () |
| void | addPage (DtPage *page) |
| void | removePage (DtPage *page, bool deletePage=true) |
| DtPage * | findPage (const std::string &pageClassName) |
| const DtPage * | findPage (const std::string &pageClassName) const |
| const PageMap & | pages () const |
Public Member Functions inherited from makVrv::DtPageCollection | |
| DtPageCollection (DtDe &de, const std::string &collectionClassName) | |
| virtual | ~DtPageCollection () |
| const std::string & | collectionClassName () const |
| const PageClassList & | pageClasses () const |
| void | show (const std::string &page=std::string("")) |
| void | hide () |
| bool | visible () const |
| virtual bool | isTabbed () const |
| DtPageConfiguration::PageCollectionLocation | location () const |
| void | setLocation (DtPageConfiguration::PageCollectionLocation location) |
| DtPageConfiguration::PageCollectionGeometry & | floatingGeometry () |
| void | setFloatingGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| void | setFloatingGeometry (int px, int py, int width, int height) |
| void | setDockedGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| void | setDockedGeometry (int px, int py, int width, int height) |
Public Member Functions inherited from makVrv::DtDockable | |
| DtDockable (DtDe &de, const std::string &className) | |
| virtual | ~DtDockable () |
| const std::string & | className () const |
| void | dock (Qt::DockWidgetArea area) |
| virtual bool | isDocked () const |
| virtual void | setContainerVisible (bool visible) |
| virtual void | setContainerMovable (bool moveable) |
| virtual void | setContainerFloatable (bool floatable) |
| virtual void | setContainerClosable (bool closeable) |
| virtual bool | isContainerHidden () const |
| virtual bool | isContainerMovable () const |
| virtual bool | isContainerFloatable () const |
| virtual bool | isContainerClosable () const |
| virtual void | showContainer () |
| virtual void | hideContainer () |
| virtual void | floatContainer () |
| virtual void | unfloatContainer () |
| virtual bool | initiallyVisible () const |
| virtual Qt::DockWidgetArea | initialDockWidgetLocation () const |
| virtual bool | containerTabbed () const |
| virtual int | containerTabIndex () const |
| virtual void | getContainerTabbedGeometry (int &x, int &y, int &width, int &height) const |
| virtual QWidget * | container () |
| virtual void | setDockWidgetItem (DtDockWidgetItem *item) |
| virtual DtDockWidgetItem * | dockWidgetItem () const |
| virtual void | connectContainerToDockItem () |
Protected Slots | |
| virtual void | onVisibilityChanged (bool visible) |
| virtual void | onCurrentChanged (int index) |
| virtual void | onDockLocationChanged (Qt::DockWidgetArea) |
| virtual void | onTopLevelChanged (bool) |
Protected Member Functions | |
| virtual bool | eventFilter (QObject *obj, QEvent *ev) |
| virtual void | setContainer (QWidget *cont) |
| virtual void | changeVisibility (bool newVisibility) |
| virtual void | changeLocation (DtPageConfiguration::PageCollectionLocation location) |
| virtual void | changeFloatingGeometry (int px, int py, int width, int height) |
| virtual void | changeFloatingGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| virtual void | changeDockedGeometry (int px, int py, int width, int height) |
| virtual void | changeDockedGeometry (const DtPageConfiguration::PageCollectionGeometry &geometry) |
| virtual void | addPageToGui (DtPage *page) |
| virtual void | removePageFromGui (DtPage *page) |
| virtual void | selectPageInGui (DtPage *page) |
Protected Member Functions inherited from makVrv::DtQtPageCollection | |
| virtual void | activatePage (DtPage *) |
| virtual void | deactivatePage (DtPage *) |
| virtual void | selectPage (const std::string &pageClassName) |
Protected Member Functions inherited from makVrv::DtPageCollection | |
| void | addPageClass (const std::string &pageClassName) |
| void | removePageClass (const std::string &pageClassName) |
Protected Member Functions inherited from makVrv::DtDockable | |
| QTabBar * | tabBar () const |
Protected Attributes | |
| DtPage * | myActivePage |
| QTabBar * | myQTabBar |
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 |
Protected Attributes inherited from makVrv::DtDockable | |
| QWidget * | myContainer |
| std::string | myClassName |
| DtDe & | myDe |
| bool | myIsFloatable |
| bool | myIsClosable |
| bool | myIsMovable |
| DtDockWidgetItem * | myDockWidgetItem |
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::signalslib::signal< void()> | signal_shown |
| boost::signalslib::signal< void()> | signal_hidden |
| boost::signalslib::signal < void(const std::string &)> | signal_pageSelected |
| makVrv::DtQtPagePanel::DtQtPagePanel | ( | DtDe & | de, |
| const std::string & | panelClassName, | ||
| QWidget * | parent = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
If this page collection has been tabified, returns the index inside the tab collection where this collection is. Returns -1 if it is not tabified.
Reimplemented from makVrv::DtPageCollection.
|
virtual |
Get the current docked geometry of the collection.
Reimplemented from makVrv::DtPageCollection.
|
virtual |
Removes the panel from the UI.
Reimplemented from makVrv::DtDockable.
|
virtual |
Brings the panel to the front (when it is tabbed)
Reimplemented from makVrv::DtDockable.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Event filter to check for various actions that happen on the panel (move and resize)
|
protectedvirtual |
Override default container set, to allow for hooking up to the visibility signal.
Reimplemented from makVrv::DtDockable.
|
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.
|
protectedvirtual |
Implementation of removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
|
protectedvirtual |
Implementation of selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
|
protected |
|
protected |