VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfObserverViewsPanel Class Reference

Panel class to create derived observer views widget. More...

Inheritance diagram for makVrf::DtVrfObserverViewsPanel:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObserverViewsPanel (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
virtual ~DtVrfObserverViewsPanel ()
- Public Member Functions inherited from makVrv::DtObserverViewsPanel
virtual ~DtObserverViewsPanel ()
 DTOR.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
virtual PageAction pageAction ()
 return the current action on the page
virtual void setPageAction (PageAction action)
 set the curret action on the page
virtual void setActionFlag (int flag)
 set the action flag of the page
virtual int actionFlag ()
 return the action flag of the page
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page
virtual QWidget * parentDialog ()
 return the parent dialog that own this page
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it.
virtual void resumeLastAction ()
 resume the last action of the page
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.

Protected Member Functions

virtual void activate ()
 Called when the page is displayed.
- Protected Member Functions inherited from makVrv::DtObserverViewsPanel
 DtObserverViewsPanel (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR takes a referent to the DtDe object.
virtual void deactivate ()
 Called when the page is hidden.
virtual void resizeEvent (QResizeEvent *event)
 Reimplementation of QWidget::resizeEvent() to redraw the gradient preview.

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
- Public Attributes inherited from makVrv::DtObserverViewsPanel
boost::signal< void(const QRect *)> signal_resized
 Signal emitted when the count panel receives a resize event.
- Protected Attributes inherited from makVrv::DtObserverViewsPanel
std::string myClassName
QVBoxLayout * myLayout
DtObserverViewsWidgetmyWidget
DtObserverViewsWidgetLogicmyLogic

Detailed Description

Panel class to create derived observer views widget.

Constructor & Destructor Documentation

makVrf::DtVrfObserverViewsPanel::DtVrfObserverViewsPanel ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
virtual makVrf::DtVrfObserverViewsPanel::~DtVrfObserverViewsPanel ( )
virtual

Member Function Documentation

virtual void makVrf::DtVrfObserverViewsPanel::activate ( )
protectedvirtual

Called when the page is displayed.

Reimplemented from makVrv::DtObserverViewsPanel.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)