![]() |
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 | |
| DtQtPageDialog (DtDe &de, const std::string &panelClassName, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtQtPageDialog () |
| DTOR. | |
| 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) | |
| bool | iconsPerpendicularToTab () const |
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. | |
| 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 *) |
| Implementation of adding the page to the GUI. | |
| virtual void | removePageFromGui (DtPage *) |
| Implementation of removing a page from the GUI. | |
| virtual void | selectPageInGui (DtPage *page) |
| Implementation of selecting a page in the GUI. | |
| virtual void | closeEvent (QCloseEvent *e) |
| Override the close event. | |
| virtual void | reject () |
| Override the reject event. | |
| void | setupGui () |
| Creates the widgets. | |
| void | rotateIcon (int, int deg) |
| Gets the icon at the specified position and rotates it by the specified amount and replaces. | |
| virtual void | keyPressEvent (QKeyEvent *e) |
| Override base implementation to stop Escape & Enter closing the dialog. | |
Protected Attributes | |
| QVBoxLayout * | myMainLayout |
| QTabWidget * | myTabs |
| QFrame * | myHorizontalLine |
| QHBoxLayout * | myBottomLayout |
| QLabel * | myStatusLabel |
| QDialogButtonBox * | myCloseButton |
| DtPage * | myActivePage |
| bool | myIconsPerpendicularToTab |
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 makVrv::DtQtPageDialog::~DtQtPageDialog | ( | ) | [virtual] |
DTOR.
| void makVrv::DtQtPageDialog::setStatus | ( | const QString & | status | ) |
| virtual void makVrv::DtQtPageDialog::setIconsPerpendicularToTab | ( | bool | ) | [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)
| virtual void makVrv::DtQtPageDialog::onVisibilityChanged | ( | bool | visible | ) | [protected, virtual, slot] |
| virtual void makVrv::DtQtPageDialog::onCurrentChanged | ( | int | index | ) | [protected, virtual, slot] |
| virtual void makVrv::DtQtPageDialog::changeVisibility | ( | bool | newVisibility | ) | [protected, virtual] |
Implementation of the visibility change of the widget.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPageDialog::changeLocation | ( | DtPageConfiguration::PageCollectionLocation | location | ) | [protected, virtual] |
Implementation of changing the location of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPageDialog::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::DtQtPageDialog::changeFloatingGeometry | ( | DtPageConfiguration::PageColectionGeometry | geometry | ) | [protected, virtual] |
Implement changing the floating geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPageDialog::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::DtQtPageDialog::changeDockedGeometry | ( | DtPageConfiguration::PageColectionGeometry | geometry | ) | [protected, virtual] |
Implement changing the docked geometry of the collection.
Implements makVrv::DtPageCollection.
| virtual void makVrv::DtQtPageDialog::addPageToGui | ( | DtPage * | ) | [protected, virtual] |
Implementation of adding the page to the GUI.
Implements makVrv::DtQtPageCollection.
| virtual void makVrv::DtQtPageDialog::removePageFromGui | ( | DtPage * | ) | [protected, virtual] |
Implementation of removing a page from the GUI.
Implements makVrv::DtQtPageCollection.
| virtual void makVrv::DtQtPageDialog::selectPageInGui | ( | DtPage * | page | ) | [protected, virtual] |
Implementation of selecting a page in the GUI.
Implements makVrv::DtQtPageCollection.
| virtual void makVrv::DtQtPageDialog::closeEvent | ( | QCloseEvent * | e | ) | [protected, virtual] |
Override the close event.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationDialog.
| virtual void makVrv::DtQtPageDialog::reject | ( | ) | [protected, virtual] |
Override the reject event.
| void makVrv::DtQtPageDialog::setupGui | ( | ) | [protected] |
Creates the widgets.
| void makVrv::DtQtPageDialog::rotateIcon | ( | int | , |
| int | deg | ||
| ) | [protected] |
Gets the icon at the specified position and rotates it by the specified amount and replaces.
| virtual void makVrv::DtQtPageDialog::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
Override base implementation to stop Escape & Enter closing the dialog.
QVBoxLayout* makVrv::DtQtPageDialog::myMainLayout [protected] |
QTabWidget* makVrv::DtQtPageDialog::myTabs [protected] |
QFrame* makVrv::DtQtPageDialog::myHorizontalLine [protected] |
QHBoxLayout* makVrv::DtQtPageDialog::myBottomLayout [protected] |
QLabel* makVrv::DtQtPageDialog::myStatusLabel [protected] |
QDialogButtonBox* makVrv::DtQtPageDialog::myCloseButton [protected] |
DtPage* makVrv::DtQtPageDialog::myActivePage [protected] |