VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtBaseConnectionPage Class Reference

The Base connection page provides an base class used by several protocol specific connection pages. More...

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

Public Member Functions

 DtBaseConnectionPage (DtDe &de, const std::string &driverClassName, const std::string &connectionName, QWidget *parent, Qt::WindowFlags f=0)
 CTOR.
virtual ~DtBaseConnectionPage ()
 DTOR.
virtual void addSimulationDriver (const std::string &simulationDriver)
 Add a simulation driver.
virtual void removeSimulationDriver (const std::string &simulationDriver)
 Remove a simulation driver.
virtual void setAutoDriver (const std::string &simulationDriver)
- Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
 DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtSelectedInstanceDialogPage ()
 DTOR.
virtual void addInstance (const std::string &)
 Add an instance.
virtual void removeInstance (const std::string &)
 Remove an instance.
virtual QString currentInstance ()
- 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 QIcon icon ()=0
 Get the icon of the page.
virtual QString title ()=0
 Get the title of the page.
virtual const std::string & pageClassName () const =0
 Get the class name of the 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 QWidgetparentDialog ()
 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 makVrv::DtSimulationSettingsInterface
 DtSimulationSettingsInterface ()
 CTOR.
virtual ~DtSimulationSettingsInterface ()
 DTOR.

Protected Slots

virtual void onInstancesChanged ()
virtual void onNewInstanceRequested ()
virtual void onDeleteInstanceRequested ()
virtual void onRenameInstanceRequested ()
- Protected Slots inherited from makVrv::DtSelectedInstanceDialogPage
virtual void onCurrentInstanceChanged (int)
virtual void onRenameInstanceRequested ()
virtual void onNewInstanceRequested ()
virtual void onDeleteInstanceRequested ()

Protected Member Functions

void setupGui (QWidget *connectionWidget)
 Create and layout the widgets for this page.
virtual void activate ()
 Called by the Pager when this page becomes active.
virtual void deactivate ()
 Called by the Pager when this page becomes active.
virtual void onCurrentInstanceChanged (QString definition)
 Override dialog page handlers.
- Protected Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
void setupGui ()

Protected Attributes

DtSimulationSettingsLogicmyLogic
std::string myClassName
std::string myConnectionName
QLabelmyTitle
- Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage
DtSelectInstanceWidgetmySelectInstanceWidget
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidgetmyParentDialog
PageAction myCurrentPageAction
int myActionFlag

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }

Detailed Description

The Base connection page provides an base class used by several protocol specific connection pages.

Constructor & Destructor Documentation

makVrv::DtBaseConnectionPage::DtBaseConnectionPage ( DtDe de,
const std::string &  driverClassName,
const std::string &  connectionName,
QWidget parent,
Qt::WindowFlags  f = 0 
)

CTOR.

virtual makVrv::DtBaseConnectionPage::~DtBaseConnectionPage ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtBaseConnectionPage::addSimulationDriver ( const std::string &  simulationDriver)
virtual

Add a simulation driver.

Implements makVrv::DtSimulationSettingsInterface.

virtual void makVrv::DtBaseConnectionPage::removeSimulationDriver ( const std::string &  simulationDriver)
virtual

Remove a simulation driver.

Implements makVrv::DtSimulationSettingsInterface.

virtual void makVrv::DtBaseConnectionPage::setAutoDriver ( const std::string &  simulationDriver)
virtual
virtual void makVrv::DtBaseConnectionPage::onInstancesChanged ( )
protectedvirtualslot
virtual void makVrv::DtBaseConnectionPage::onNewInstanceRequested ( )
protectedvirtualslot
virtual void makVrv::DtBaseConnectionPage::onDeleteInstanceRequested ( )
protectedvirtualslot
virtual void makVrv::DtBaseConnectionPage::onRenameInstanceRequested ( )
protectedvirtualslot
void makVrv::DtBaseConnectionPage::setupGui ( QWidget connectionWidget)
protected

Create and layout the widgets for this page.

virtual void makVrv::DtBaseConnectionPage::activate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Reimplemented from makVrv::DtSelectedInstanceDialogPage.

virtual void makVrv::DtBaseConnectionPage::deactivate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Reimplemented from makVrv::DtSelectedInstanceDialogPage.

virtual void makVrv::DtBaseConnectionPage::onCurrentInstanceChanged ( QString  definition)
protectedvirtual

Member Data Documentation

DtSimulationSettingsLogic* makVrv::DtBaseConnectionPage::myLogic
protected
std::string makVrv::DtBaseConnectionPage::myClassName
protected
std::string makVrv::DtBaseConnectionPage::myConnectionName
protected
QLabel* makVrv::DtBaseConnectionPage::myTitle
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)