VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtQtPagePanel 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::DtQtPagePanel:
Inheritance graph
[legend]

List of all members.

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

DtPagemyActivePage
QTabBarmyQTabBar

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::DtQtPagePanel::DtQtPagePanel ( DtDe de,
const std::string &  panelClassName,
QWidget parent = 0 
)

CTOR.

DTOR.


Member Function Documentation

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.

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.

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.

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.

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.


Member Data Documentation


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)