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

A widget class for managing simulation back-ends. More...

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

Public Member Functions

 DtBackEndSelectionCombo (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR. More...
 
virtual ~DtBackEndSelectionCombo ()
 DTOR. More...
 
virtual DtSimulationAddress simulationAddress () const
 
virtual void setSimulationAddress (const DtSimulationAddress &)
 
virtual void setAllowAutomaticSelection (bool)
 Whether or not the "Automatic" back-end will show as a selection. More...
 
bool allowAutomaticSelection () const
 
virtual int backendCount () const
 
virtual bool hasBackend (const DtSimulationAddress &) const
 
virtual void setCanChangeSelectedBackend (bool)
 Whether or not changing this combo box will also change the system wide currently selected back-end. Default is true. More...
 
- Public Member Functions inherited from makVrf::DtBackEndSelectionListInterface
virtual ~DtBackEndSelectionListInterface ()
 Virtual DTOR. More...
 

Public Attributes

QHBoxLayout * myMainLayout
 
QLabelmyLabel
 
QComboBoxmyBackEnds
 
- Public Attributes inherited from makVrf::DtBackEndSelectionListInterface
boost::signalslib::signal
< void(const
DtSimulationAddress &)> 
signal_backEndSelected
 

Protected Slots

virtual void onItemSelectionChanged ()
 

Protected Member Functions

void setupUi (QWidget *p)
 Sets up the contents of the widget onto the supplied parent. More...
 
virtual void addBackend (const std::string &backend, const DtBackend &)
 
virtual void removeBackend (const std::string &backend)
 
virtual std::string statusFor (const std::string &backend)
 
virtual void setStatusFor (const std::string &backend, const std::string &status)
 

Protected Attributes

makVrv::DtDemyDe
 
DtBackEndSelectionListLogicmyLogic
 

Detailed Description

A widget class for managing simulation back-ends.

Constructor & Destructor Documentation

makVrf::DtBackEndSelectionCombo::DtBackEndSelectionCombo ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtBackEndSelectionCombo::~DtBackEndSelectionCombo ( )
virtual

DTOR.

Member Function Documentation

virtual DtSimulationAddress makVrf::DtBackEndSelectionCombo::simulationAddress ( ) const
virtual
virtual void makVrf::DtBackEndSelectionCombo::setSimulationAddress ( const DtSimulationAddress &  )
virtual
virtual void makVrf::DtBackEndSelectionCombo::setAllowAutomaticSelection ( bool  )
virtual

Whether or not the "Automatic" back-end will show as a selection.

This will only show if there is more than one back-end (and will be removed if there was more than one back-end and one back-end only becomes available)

Implements makVrf::DtBackEndSelectionListInterface.

bool makVrf::DtBackEndSelectionCombo::allowAutomaticSelection ( ) const
virtual int makVrf::DtBackEndSelectionCombo::backendCount ( ) const
virtual
virtual bool makVrf::DtBackEndSelectionCombo::hasBackend ( const DtSimulationAddress &  ) const
virtual
virtual void makVrf::DtBackEndSelectionCombo::setCanChangeSelectedBackend ( bool  )
virtual

Whether or not changing this combo box will also change the system wide currently selected back-end. Default is true.

Implements makVrf::DtBackEndSelectionListInterface.

void makVrf::DtBackEndSelectionCombo::setupUi ( QWidget *  p)
protected

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtBackEndSelectionCombo::addBackend ( const std::string &  backend,
const DtBackend  
)
protectedvirtual
virtual void makVrf::DtBackEndSelectionCombo::removeBackend ( const std::string &  backend)
protectedvirtual
virtual std::string makVrf::DtBackEndSelectionCombo::statusFor ( const std::string &  backend)
protectedvirtual
virtual void makVrf::DtBackEndSelectionCombo::setStatusFor ( const std::string &  backend,
const std::string &  status 
)
protectedvirtual
virtual void makVrf::DtBackEndSelectionCombo::onItemSelectionChanged ( )
protectedvirtualslot

Member Data Documentation

makVrv::DtDe& makVrf::DtBackEndSelectionCombo::myDe
protected
DtBackEndSelectionListLogic* makVrf::DtBackEndSelectionCombo::myLogic
protected
QHBoxLayout* makVrf::DtBackEndSelectionCombo::myMainLayout
QLabel* makVrf::DtBackEndSelectionCombo::myLabel
QComboBox* makVrf::DtBackEndSelectionCombo::myBackEnds

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)