MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtGenericConfigDialog Class Reference

Base class for GenericConfig dialogs The superclass is generated from Qt Designer, and has a central QListView widget. More...

+ Inheritance diagram for DtGenericConfigDialog:
+ Collaboration diagram for DtGenericConfigDialog:

Public Member Functions

 DtGenericConfigDialog (bool viewOnly, QWidget *parent=0)
 Construct a base GenericConfig dialog.
 ~DtGenericConfigDialog ()
 Destructor.
void addProperty (const DtProperty &p)
 Add a DtProperty to the property list.
void addToProperty (const DtProperty &p)
 Extend existing DtProperty.
void setProperty (QString prop, int value)
void setProperty (QString prop, QString value)
void setProperty (QString prop, bool value)
void setProperty (QString prop, double value)
void setProperty (QString prop, const QStringList &value)
virtual bool property (QString name, int &value) const
virtual bool property (QString name, QString &value) const
virtual bool property (QString name, double &value) const
virtual bool property (QString name, bool &value) const
virtual bool property (QString name, QStringList &value) const
virtual bool property (QString name) const
DtPropertyEditViewpropertyEditView ()
 Return a pointer to the internal DtPropertyEditView object.
const DtPropertyEditViewpropertyEditView () const

Protected Member Functions

virtual void init ()
 Initialize internal data. Called from the constructors.

Protected Attributes

DtPropertyEditViewmyPropertyEditView
bool myViewOnly
Ui_genericConfigDialogUi * myImpl

Detailed Description

Base class for GenericConfig dialogs The superclass is generated from Qt Designer, and has a central QListView widget.

This class adds some convenience functions for setting important data properties. This class is not intended to be used on its own, but rather provide a base interface.

Constructor & Destructor Documentation

DtGenericConfigDialog::DtGenericConfigDialog ( bool  viewOnly,
QWidget parent = 0 
)

Construct a base GenericConfig dialog.

DtGenericConfigDialog::~DtGenericConfigDialog ( )

Destructor.

Member Function Documentation

void DtGenericConfigDialog::addProperty ( const DtProperty p)

Add a DtProperty to the property list.

void DtGenericConfigDialog::addToProperty ( const DtProperty p)

Extend existing DtProperty.

virtual void DtGenericConfigDialog::init ( )
protectedvirtual

Initialize internal data. Called from the constructors.

virtual bool DtGenericConfigDialog::property ( QString  name,
int &  value 
) const
virtual
virtual bool DtGenericConfigDialog::property ( QString  name,
QString &  value 
) const
virtual
virtual bool DtGenericConfigDialog::property ( QString  name,
double &  value 
) const
virtual
virtual bool DtGenericConfigDialog::property ( QString  name,
bool &  value 
) const
virtual
virtual bool DtGenericConfigDialog::property ( QString  name,
QStringList &  value 
) const
virtual
virtual bool DtGenericConfigDialog::property ( QString  name) const
virtual
DtPropertyEditView* DtGenericConfigDialog::propertyEditView ( )

Return a pointer to the internal DtPropertyEditView object.

const DtPropertyEditView* DtGenericConfigDialog::propertyEditView ( ) const
void DtGenericConfigDialog::setProperty ( QString  prop,
int  value 
)
void DtGenericConfigDialog::setProperty ( QString  prop,
QString  value 
)
void DtGenericConfigDialog::setProperty ( QString  prop,
bool  value 
)
void DtGenericConfigDialog::setProperty ( QString  prop,
double  value 
)
void DtGenericConfigDialog::setProperty ( QString  prop,
const QStringList &  value 
)

Member Data Documentation

Ui_genericConfigDialogUi* DtGenericConfigDialog::myImpl
protected
DtPropertyEditView* DtGenericConfigDialog::myPropertyEditView
protected
bool DtGenericConfigDialog::myViewOnly
protected

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

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)