VR-Forces Developer's Guide
 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 | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
DtUiSimulationObjectGroupElement Class Reference
Inheritance diagram for DtUiSimulationObjectGroupElement:
Inheritance graph
[legend]

Public Member Functions

 DtUiSimulationObjectGroupElement (makVrv::DtDe &)
 
virtual ~DtUiSimulationObjectGroupElement ()
 
- Public Member Functions inherited from DtUiElement
 DtUiElement (makVrv::DtDe &)
 
virtual ~DtUiElement ()
 
virtual bool blockSignals (bool)
 
virtual void init (QWidget *widget, QWidget *label, DtReaderWriter *originalData, DtReaderWriter *backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _1))
 
virtual void init (QWidget *widget, QWidget *label, const std::vector< DtReaderWriter * > &originalData, const std::vector< DtReaderWriter * > &backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _1))
 
virtual void init (QWidget *widget, QWidget *label, const DtObjectType &, const DtString &platformType, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _1))
 
virtual DtString displayUnits () const
 
virtual void setDisplayUnits (const DtString &units)
 
virtual void setLabelText (const QString &)
 
virtual DtString sourceUnits () const
 
virtual void setSourceUnits (const DtString &units)
 
virtual void setFromSystemParameterData (const DtSystemParameterData *data, const DtComponentSystemDefinition *)
 
virtual void objectParametersModified ()
 
virtual void connectedTo (QObject *)
 
virtual void processUiEvent (const DtUiElementEvent &)
 
virtual void setModelModified (DtModelSetEntry *)
 
virtual DtString uniqueName () const
 
virtual bool supportsSystems () const
 
virtual const DtStringplatformType () const
 
virtual void setPlatformType (const DtString &)
 
virtual void setObjectTypes (const std::vector< DtObjectType > &)
 
virtual void aboutToShow ()
 
const std::vector
< DtReaderWriter * > & 
values () const
 
const std::vector
< DtReaderWriter * > & 
backupValues () const
 
virtual bool isModified () const
 
virtual bool isValid () const
 
virtual void decorateElement ()
 
virtual void setFromParameters (DtReaderWriter *parentRw)
 
virtual void setFromParameters (const std::vector< DtComponentSystemDefinition * > &)
 
virtual bool restoreFromBackup ()
 
QHBoxLayout * findLayoutThatHas (QWidget *w, QBoxLayout *layout)
 
QBoxLayout * findUsableLayoutFor (QWidget *w)
 
const std::vector< DtObjectType > & objectTypes () const
 
const std::vector
< DtComponentSystemDefinition * > & 
systems () const
 
virtual void sendEvent (const DtUiElementEvent &)
 
virtual bool allValuesTheSame () const
 
virtual bool isMixedValue () const
 
virtual void setEnabled (bool)
 
virtual bool enabled () const
 
virtual void setControllingCheckBox (QCheckBox *)
 
QCheckBoxcontrollingCheckBox ()
 
virtual void populateParentValues (std::string elementName)
 

Static Public Member Functions

static DtUiElementCreatorFunction (makVrv::DtDe &)
 
static void stopVrfLauncher (makVrv::DtDe &de, bool fromFrontEnd=false)
 
- Static Public Member Functions inherited from DtUiElement
static void registerUiTypes ()
 
static DtUiElementcreateUiElement (makVrv::DtDe &, const DtString &type)
 
static bool hasCreator (const DtString &)
 
static void theNullFunction (DtUiElement *)
 
static UiElementFactoryMapelementFactory ()
 
static QString mixedText ()
 
static void setMixedText (const QString &)
 

Public Attributes

QLabelmyIconSectionLabel
 
QLabelmyCreateOptionsSectionLabel
 
QLabelmyAltitudeSectionLabel
 
QCheckBoxmySetForceTypeUponCreation
 
QLabelmyAltitudeFlagsLabel
 
QComboBoxmyAltitudeFlags
 
QButtonGroup * myIconWidget
 
QRadioButton * myUseImageForIcon
 
QRadioButton * myUseGroupObjectForIcon
 
QComboBoxmyAvailableObjects
 
QPushButtonmyUseImage
 
QPushButtonmyEditGroup
 
QCheckBoxmyUseGroupNameToDisambiguate
 
QCheckBoxmyCreateSelectionGroup
 
std::vector< QHBoxLayout * > mySpacedLayouts
 
- Public Attributes inherited from DtUiElement
QWidget * myWidget
 
QWidget * myLabel
 

Protected Slots

virtual void iconTypeChanged ()
 
virtual void selectImage ()
 
virtual void forceUsageChanged ()
 
virtual void groupDisambiguateChanged ()
 
virtual void createSelectionGroupChanged ()
 
virtual void altitudeUsageChanged ()
 
virtual void objectTypeIconSet ()
 
virtual void onEditGroup ()
 
virtual void commFileMessagesReceived (const QStringList &messages)
 
- Protected Slots inherited from DtUiElement
virtual void elementChanged ()
 
virtual void enableIfChecked ()
 
virtual void disableIfChecked ()
 

Protected Member Functions

virtual void setFromParameters (const std::vector< DtReaderWriter * > &parentRw)
 
virtual void createControls (QWidget *widget)
 
virtual void startVrfLauncher ()
 
virtual bool checkAlive (double timeout)
 
- Protected Member Functions inherited from DtUiElement
virtual double sourceToDisplayUnits (double) const
 
virtual double displayToSourceUnits (double) const
 
virtual QString units () const
 
virtual void updateLabelTitle ()
 
virtual QString labelTitle () const
 

Protected Attributes

bool myAlive
 
- Protected Attributes inherited from DtUiElement
DtString myDisplayUnits
 
DtString mySourceUnits
 
std::vector< DtReaderWriter * > myValues
 
std::vector< DtReaderWriter * > myBackupValues
 
DtReaderWritermyParentValue
 
bool myIsNew
 
DtElementChangedCallbackFcn myElementChangedCallbackFunction
 
DtUnit mySource
 
DtUnit myDestination
 
makVrv::DtDemyDe
 
DtString myPlatformType
 
std::vector< DtObjectTypemyObjectTypes
 
std::vector
< DtComponentSystemDefinition * > 
mySystems
 
const DtComponentSystemDefinitionmySystemDefinition
 
bool myEnabled
 
std::vector< QObject * > myConnectedTo
 
int myUniqueId
 
QCheckBoxmyControllingCheckBox
 
QToolButtonmyRevertToParentButton
 

Additional Inherited Members

- Public Types inherited from DtUiElement
typedef boost::function
< DtUiElement *(makVrv::DtDe &)> 
CreatorFunction
 
typedef std::map< std::string,
CreatorFunction
UiElementFactoryMap
 
- Public Slots inherited from DtUiElement
virtual void toggleDisplayed (bool display)
 
- Signals inherited from DtUiElement
void uiEvent (const DtUiElementEvent &)
 
void changed ()
 
- Static Protected Attributes inherited from DtUiElement
static UiElementFactoryMap theFactory
 

Constructor & Destructor Documentation

DtUiSimulationObjectGroupElement::DtUiSimulationObjectGroupElement ( makVrv::DtDe )

Constructor.

virtual DtUiSimulationObjectGroupElement::~DtUiSimulationObjectGroupElement ( )
virtual

Destructor.

Member Function Documentation

static void DtUiSimulationObjectGroupElement::stopVrfLauncher ( makVrv::DtDe de,
bool  fromFrontEnd = false 
)
static
virtual void DtUiSimulationObjectGroupElement::setFromParameters ( const std::vector< DtReaderWriter * > &  parentRw)
protectedvirtual

Reimplemented from DtUiElement.

virtual void DtUiSimulationObjectGroupElement::createControls ( QWidget *  widget)
protectedvirtual

If any additional controls or initialization needs to be done, it is done here.

Reimplemented from DtUiElement.

virtual void DtUiSimulationObjectGroupElement::startVrfLauncher ( )
protectedvirtual
virtual bool DtUiSimulationObjectGroupElement::checkAlive ( double  timeout)
protectedvirtual

Checks to see if the gui is still alive using the comm channel. If not will present a new launcher. Gives 3 seconds to decide, so if the GUI is doing something, the launcher might start again.

virtual void DtUiSimulationObjectGroupElement::iconTypeChanged ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::selectImage ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::forceUsageChanged ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::groupDisambiguateChanged ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::createSelectionGroupChanged ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::altitudeUsageChanged ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::objectTypeIconSet ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::onEditGroup ( )
protectedvirtualslot
virtual void DtUiSimulationObjectGroupElement::commFileMessagesReceived ( const QStringList &  messages)
protectedvirtualslot

Member Data Documentation

QLabel* DtUiSimulationObjectGroupElement::myIconSectionLabel
QLabel* DtUiSimulationObjectGroupElement::myCreateOptionsSectionLabel
QLabel* DtUiSimulationObjectGroupElement::myAltitudeSectionLabel
QCheckBox* DtUiSimulationObjectGroupElement::mySetForceTypeUponCreation
QLabel* DtUiSimulationObjectGroupElement::myAltitudeFlagsLabel
QComboBox* DtUiSimulationObjectGroupElement::myAltitudeFlags
QButtonGroup* DtUiSimulationObjectGroupElement::myIconWidget
QRadioButton* DtUiSimulationObjectGroupElement::myUseImageForIcon
QRadioButton* DtUiSimulationObjectGroupElement::myUseGroupObjectForIcon
QComboBox* DtUiSimulationObjectGroupElement::myAvailableObjects
QPushButton* DtUiSimulationObjectGroupElement::myUseImage
QPushButton* DtUiSimulationObjectGroupElement::myEditGroup
QCheckBox* DtUiSimulationObjectGroupElement::myUseGroupNameToDisambiguate
QCheckBox* DtUiSimulationObjectGroupElement::myCreateSelectionGroup
std::vector<QHBoxLayout*> DtUiSimulationObjectGroupElement::mySpacedLayouts
bool DtUiSimulationObjectGroupElement::myAlive
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)