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

The DtTaskStatePage class will show information for all currently running tasks and reactive tasks that are also executing tasks. More...

Inheritance diagram for exampleInfoPage::DtExampleInfoPage:
Inheritance graph
[legend]

Public Member Functions

 DtExampleInfoPage (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::SubWindow)
 CTOR.
virtual ~DtExampleInfoPage ()
 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 makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
 DtInformationDialogPage (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::SubWindow)
 CTOR.
virtual ~DtInformationDialogPage ()
 DTOR.
virtual ShowStatus setupGui (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *)
virtual QTreeWidgetdataItems ()
virtual void activate (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *state)
 Activates page for given state.
virtual void stateViewRemoved ()
virtual void updateData ()
virtual bool mouseEnterEvent ()
virtual bool mouseLeaveEvent ()
virtual void setFixedItemHeight (int)
 Override for global fixed height if non -1.
virtual void setFixedItemWidth (int)
 Override for global fixed width if non -1.
virtual void addDataItems (const makVrv::DtPageConfiguration::PagePathList &)
virtual bool selectElement (const std::string &)
 If this element exists then make sure it is visible.
virtual bool isSubElementSelected (const std::string &) const
 Returns true if the sub element is selected.
virtual void unknownDataItem (const std::string &)
 Called when an unknown data item is received. Default does nothing.
virtual const
makVrv::DtPageConfiguration::PagePathList
informationItems () const
virtual QWidget * createWidgetRepresentation (QWidget *parent, makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *, const std::string &keywords)
 Default is no-op. For single line displays this will return a widget that shows minimal data of this page.
virtual QWidget * widgetRepresentation (QWidget *parent, makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *)
virtual QSize minimumSizeHint () const
virtual void setMaximumSize (const QSize &size)
virtual void setMinimumSize (const QSize &size)
virtual QRect geometry () const
virtual void setMinimumHeight (int)
virtual void setMinimumWidth (int)
virtual void setMaximumHeight (int)
virtual void setMaximumWidth (int)
virtual void removeTitle ()
virtual void adjustWidgetForColumnSpan (int colSpan)
virtual void adjustWidgetForRowSpan (int rowSpan)
virtual void setLineBreak (int)
 If there is a widget representation, set a line break for this widget representation that has the given thickness.
virtual
DtInformationDialogPageLogic
createLogic ()
virtual void dialogAboutToShow (DtInformationDialog *)
 The dialog is about to show for the first time, and this is the first page to show. Allows for sizing of dialog, if need be.
DtInformationDialogPageLogiclogic () const
virtual void setLogic (DtInformationDialogPageLogic *)
virtual void forceRemove ()
virtual void signalToAddWhenReady (bool, const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s)
 Setup condition to show page when met. Default is no-op.
virtual void setSizeHint (const QSize &)
 Sets the size hint. If either width or height is -1 then base is used for the one that is -1.
virtual QSize sizeHint () const
virtual void mainWindowHidden ()
virtual void mainWindowShown ()
- 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.
- Public Member Functions inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationSectionMouseEventHandler
 DtInformationSectionMouseEventHandler ()
 CTOR.
virtual ~DtInformationSectionMouseEventHandler ()
 DTOR.
int fixedItemWidth () const
int fixedItemHeight () const
virtual void setKeywords (const std::string &)
virtual bool hasKeyword (const std::string &) const
virtual std::string keywords () const
virtual bool mouseReleaseEvent ()
 Mouse events.

Static Public Member Functions

static const std::string & thePageClassName ()
 Static accessor for the class name.

Protected Member Functions

virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Deactivates page.
- Protected Member Functions inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
virtual QWidget * createPageContents (ShowStatus &status)
 Fill in status (default is AlwaysShow) if there is to be a different show status.
virtual void updateShowState (const std::string &s, bool b)
virtual bool keepInformationDialogUpOnRewind () const

Additional Inherited Members

- Public Types inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
enum  ShowStatus { AlwaysShow = 0, NeverShow = 1, InitiallyHideAndCheckToShow = 2 }
- Public Attributes inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
boost::signal< void(DtInformationDialogPage *)> signal_readyToShow
boost::signal< void()> signal_stateViewUpdated
boost::signal< void(std::string,
DtInformationSectionDisplayHandler *)> 
signal_showInformationPage
boost::signal< void(std::string,
bool)> 
signal_expandSection
QVBoxLayout * myMainLayout
QVBoxLayout * myContentsLayout
QTreeWidgetmyDataItems
QWidget * myWidgetRepresentation
DtLineBreakWidgetmyLineBreakWidget
- Static Public Attributes inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationSectionMouseEventHandler
static int theFixedItemHeight
static int theFixedItemWidth
- Protected Slots inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
virtual void lineBreakDestroyed ()
- Protected Attributes inherited from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage
DtInformationDialogPageLogicmyLogic
makVrv::DtPageConfiguration::PagePathList myInformationItems
int myLineBreak
bool myDeleting
QSize mySizeHint

Detailed Description

The DtTaskStatePage class will show information for all currently running tasks and reactive tasks that are also executing tasks.

Constructor & Destructor Documentation

exampleInfoPage::DtExampleInfoPage::DtExampleInfoPage ( makVrv::DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = Qt::SubWindow 
)

CTOR.

virtual exampleInfoPage::DtExampleInfoPage::~DtExampleInfoPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon exampleInfoPage::DtExampleInfoPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString exampleInfoPage::DtExampleInfoPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& exampleInfoPage::DtExampleInfoPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& exampleInfoPage::DtExampleInfoPage::thePageClassName ( )
static

Static accessor for the class name.

virtual void exampleInfoPage::DtExampleInfoPage::activate ( )
protectedvirtual

Called when the page is displayed.

Reimplemented from makVrf::makVrfGuiObjectInformationQt::DtInformationDialogPage.

virtual void exampleInfoPage::DtExampleInfoPage::deactivate ( )
protectedvirtual

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)