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
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. More...
 
 ~DtGenericConfigWidget ()
 Destructor. More...
 
void addProperty (const DtProperty &p)
 Add a DtProperty to the property list. More...
 
void addToProperty (const DtProperty &p)
 Extend existing DtProperty. More...
 
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. More...
 
const DtPropertyEditViewpropertyEditView () const
 

Protected Member Functions

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

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.

DtGenericConfigWidget::~DtGenericConfigWidget ( )

Destructor.

Member Function Documentation

void DtGenericConfigWidget::addProperty ( const DtProperty p)

Add a DtProperty to the property list.

void DtGenericConfigWidget::addToProperty ( const DtProperty p)

Extend existing DtProperty.

virtual void DtGenericConfigWidget::init ( )
protectedvirtual

Initialize internal data. Called from the constructors.

Reimplemented in DtRidWidget.

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

Return a pointer to the internal DtPropertyEditView object.

const DtPropertyEditView* DtGenericConfigWidget::propertyEditView ( ) const
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

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

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)