VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtQtPageDialog Class Reference

The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget. More...

Inheritance diagram for makVrv::DtQtPageDialog:
Inheritance graph
[legend]

List of all members.

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
QTabWidgetmyTabs
QFramemyHorizontalLine
QHBoxLayout * myBottomLayout
QLabelmyStatusLabel
QDialogButtonBox * myCloseButton
DtPagemyActivePage
bool myIconsPerpendicularToTab

Detailed Description

The Qt Page Panel, is a generic docked widget that contains a number of DtPages that it displays individually using a Tabbed Widget.


Constructor & Destructor Documentation

makVrv::DtQtPageDialog::DtQtPageDialog ( DtDe de,
const std::string &  panelClassName,
QWidget parent = 0 
)

CTOR.

DTOR.


Member Function Documentation

void makVrv::DtQtPageDialog::setStatus ( const QString &  status)

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.

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.

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.

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.


Member Data Documentation

QVBoxLayout* makVrv::DtQtPageDialog::myMainLayout [protected]
QHBoxLayout* makVrv::DtQtPageDialog::myBottomLayout [protected]
QDialogButtonBox* makVrv::DtQtPageDialog::myCloseButton [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)