MAK RTIspy API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtGenericConfigWidget Class Reference

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

+ Inheritance diagram for DtGenericConfigWidget:
+ Collaboration diagram for DtGenericConfigWidget:

Public Member Functions

 DtGenericConfigWidget (bool viewOnly, QWidget *parent=0)
 Construct a base GenericConfig widget.
 ~DtGenericConfigWidget ()
 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_genericConfigWidgetUi * myImpl

Detailed Description

Base class for GenericConfig widgets 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

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

Construct a base GenericConfig widget.

References init().

DtGenericConfigWidget::~DtGenericConfigWidget ( )

Destructor.

References myImpl.

Member Function Documentation

void DtGenericConfigWidget::addProperty ( const DtProperty p)
void DtGenericConfigWidget::addToProperty ( const DtProperty p)
void DtGenericConfigWidget::init ( )
protectedvirtual

Initialize internal data. Called from the constructors.

Reimplemented in DtRidWidget.

References myImpl, myPropertyEditView, myViewOnly, and DtPropertyEditView::setEditable().

Referenced by DtGenericConfigWidget().

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

References myPropertyEditView.

void DtGenericConfigWidget::setProperty ( QString  prop,
int  value 
)
void DtGenericConfigWidget::setProperty ( QString  prop,
QString  value 
)
void DtGenericConfigWidget::setProperty ( QString  prop,
bool  value 
)
void DtGenericConfigWidget::setProperty ( QString  prop,
double  value 
)
void DtGenericConfigWidget::setProperty ( QString  prop,
const QStringList &  value 
)

Member Data Documentation

Ui_genericConfigWidgetUi* DtGenericConfigWidget::myImpl
protected
DtPropertyEditView* DtGenericConfigWidget::myPropertyEditView
protected
bool DtGenericConfigWidget::myViewOnly
protected

Referenced by init(), and DtRidWidget::init().


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

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)