MAK RTIspy API Documentation for HLA 1.3
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:

List of all members.

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
MAKCommonWidgets::DtPropertyEditView * propertyEditView ()
 Return a pointer to the internal DtPropertyEditView object.
const
MAKCommonWidgets::DtPropertyEditView * 
propertyEditView () const

Protected Member Functions

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

Protected Attributes

MAKCommonWidgets::DtPropertyEditView * myPropertyEditView
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.

References init().

Destructor.

References myImpl.


Member Function Documentation

void DtGenericConfigDialog::addProperty ( const DtProperty &  p)

Add a DtProperty to the property list.

References myPropertyEditView.

void DtGenericConfigDialog::addToProperty ( const DtProperty &  p)

Extend existing DtProperty.

References myPropertyEditView.

void DtGenericConfigDialog::init ( ) [protected, virtual]

Initialize internal data. Called from the constructors.

References connect(), myImpl, myPropertyEditView, and myViewOnly.

Referenced by DtGenericConfigDialog().

bool DtGenericConfigDialog::property ( QString  name,
int &  value 
) const [virtual]

References myPropertyEditView.

bool DtGenericConfigDialog::property ( QString  name,
QString &  value 
) const [virtual]

References myPropertyEditView.

bool DtGenericConfigDialog::property ( QString  name,
double value 
) const [virtual]

References myPropertyEditView.

bool DtGenericConfigDialog::property ( QString  name,
bool value 
) const [virtual]

References myPropertyEditView.

bool DtGenericConfigDialog::property ( QString  name,
QStringList &  value 
) const [virtual]

References myPropertyEditView.

bool DtGenericConfigDialog::property ( QString  name) const [virtual]

References myPropertyEditView.

MAKCommonWidgets::DtPropertyEditView * DtGenericConfigDialog::propertyEditView ( )

Return a pointer to the internal DtPropertyEditView object.

References myPropertyEditView.

const MAKCommonWidgets::DtPropertyEditView * DtGenericConfigDialog::propertyEditView ( ) const

References myPropertyEditView.

void DtGenericConfigDialog::setProperty ( QString  prop,
int  value 
)

References myPropertyEditView.

void DtGenericConfigDialog::setProperty ( QString  prop,
QString  value 
)

References myPropertyEditView.

void DtGenericConfigDialog::setProperty ( QString  prop,
bool  value 
)

References myPropertyEditView.

void DtGenericConfigDialog::setProperty ( QString  prop,
double  value 
)

References myPropertyEditView.

void DtGenericConfigDialog::setProperty ( QString  prop,
const QStringList &  value 
)

References myPropertyEditView.


Member Data Documentation

Ui_genericConfigDialogUi* DtGenericConfigDialog::myImpl [protected]

Referenced by init(), and ~DtGenericConfigDialog().

MAKCommonWidgets::DtPropertyEditView* DtGenericConfigDialog::myPropertyEditView [protected]

Referenced by init().


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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)