![]() |
VR-Forces 4.0.4 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 | |
| DtQtPagePanel (DtDe &de, const std::string &panelClassName, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtQtPagePanel () |
| DTOR. | |
| virtual int | tabIndex () const |
| If this page collection has been tabified, returns the index inside the tab collection where this collection is. | |
| virtual DtPageConfiguration::PageColectionGeometry | dockedGeometry () |
| Get the current docked geometry of the collection. | |
| virtual void | removeContainer () |
| Removes the panel from the UI. | |
| virtual void | bringToTop () |
| Brings the panel to the front (when it is tabbed) | |
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) |
| Event filter to check for various actions that happen on the panel (move and resize) | |
| virtual void | setContainer (QWidget *cont) |
| Override default container set, to allow for hooking up to the visibility signal. | |
| virtual void | changeVisibility (bool newVisibility) |
| Implementation of the visibility change of the widget. | |
| virtual void | changeLocation (DtPageConfiguration::PageCollectionLocation location) |
| Implementation of changing the location of the collection. | |
| virtual void | changeFloatingGeometry (int px, int py, int width, int height) |
| Implement changing the floating geometry of the collection. | |
| virtual void | changeFloatingGeometry (DtPageConfiguration::PageColectionGeometry geometry) |
| Implement changing the floating geometry of the collection. | |
| virtual void | changeDockedGeometry (int px, int py, int width, int height) |
| Implement changing the docked geometry of the collection. | |
| virtual void | changeDockedGeometry (DtPageConfiguration::PageColectionGeometry geometry) |
| Implement changing the docked geometry of the collection. | |
| virtual void | addPageToGui (DtPage *page) |
| Implementation of adding the page to the GUI. | |
| virtual void | removePageFromGui (DtPage *page) |
| Implementation of removing a page from the GUI. | |
| virtual void | selectPageInGui (DtPage *page) |
| Implementation of selecting a page in the GUI. | |
Protected Attributes | |
| DtPage * | myActivePage |
| QTabBar * | myQTabBar |
The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget.
| makVrv::DtQtPagePanel::DtQtPagePanel | ( | DtDe & | de, |
| const std::string & | panelClassName, | ||
| QWidget * | parent = 0 |
||
| ) |
CTOR.
| virtual makVrv::DtQtPagePanel::~DtQtPagePanel | ( | ) | [virtual] |
DTOR.
| virtual int makVrv::DtQtPagePanel::tabIndex | ( | ) | const [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 DtPageConfiguration::PageColectionGeometry makVrv::DtQtPagePanel::dockedGeometry | ( | ) | [virtual] |
Get the current docked geometry of the collection.
Reimplemented from makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::removeContainer | ( | ) | [virtual] |
Removes the panel from the UI.
Reimplemented from makVrv::DtDockable.
| virtual void makVrv::DtQtPagePanel::bringToTop | ( | ) | [virtual] |
Brings the panel to the front (when it is tabbed)
Reimplemented from makVrv::DtDockable.
| virtual void makVrv::DtQtPagePanel::onVisibilityChanged | ( | bool | visible | ) | [protected, virtual, slot] |
| virtual void makVrv::DtQtPagePanel::onCurrentChanged | ( | int | index | ) | [protected, virtual, slot] |
| virtual void makVrv::DtQtPagePanel::onDockLocationChanged | ( | Qt::DockWidgetArea | ) | [protected, virtual, slot] |
| virtual void makVrv::DtQtPagePanel::onTopLevelChanged | ( | bool | ) | [protected, virtual, slot] |
| virtual bool makVrv::DtQtPagePanel::eventFilter | ( | QObject * | obj, |
| QEvent * | ev | ||
| ) | [protected, virtual] |
Event filter to check for various actions that happen on the panel (move and resize)
| virtual void makVrv::DtQtPagePanel::setContainer | ( | QWidget * | cont | ) | [protected, virtual] |
Override default container set, to allow for hooking up to the visibility signal.
Reimplemented from makVrv::DtDockable.
| virtual void makVrv::DtQtPagePanel::changeVisibility | ( | bool | newVisibility | ) | [protected, virtual] |
Implementation of the visibility change of the widget.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::changeLocation | ( | DtPageConfiguration::PageCollectionLocation | location | ) | [protected, virtual] |
Implementation of changing the location of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::changeFloatingGeometry | ( | int | px, |
| int | py, | ||
| int | width, | ||
| int | height | ||
| ) | [protected, virtual] |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::changeFloatingGeometry | ( | DtPageConfiguration::PageColectionGeometry | geometry | ) | [protected, virtual] |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::changeDockedGeometry | ( | int | px, |
| int | py, | ||
| int | width, | ||
| int | height | ||
| ) | [protected, virtual] |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::changeDockedGeometry | ( | DtPageConfiguration::PageColectionGeometry | geometry | ) | [protected, virtual] |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPagePanel::addPageToGui | ( | DtPage * | page | ) | [protected, virtual] |
Implementation of adding the page to the GUI.
Implements makVrv::DtQtPageCollection.
| virtual void makVrv::DtQtPagePanel::removePageFromGui | ( | DtPage * | page | ) | [protected, virtual] |
Implementation of removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
| virtual void makVrv::DtQtPagePanel::selectPageInGui | ( | DtPage * | page | ) | [protected, virtual] |
Implementation of selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
DtPage* makVrv::DtQtPagePanel::myActivePage [protected] |
QTabBar* makVrv::DtQtPagePanel::myQTabBar [protected] |