Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Properties | Private Attributes | List of all members
StructuralComponentDCProperties Class Reference

The class StructuralComponentDCProperties defines an QObject that allows user interaction with properties of a structural component (in an automatically generated UI) More...

#include <StructuralComponentDCProperties.h>

+ Inheritance diagram for StructuralComponentDCProperties:

Public Member Functions

virtual bool event (QEvent *e)
 intercept signal for dynamic property changed. More...
 
QString getName () const
 get the atom's index in a form the property editor understands More...
 
void setName (const QString)
 Set and get method for all the properties. More...
 
 StructuralComponentDCProperties (StructuralComponentDC *)
 Default construtor (give it he SCDC to edit) More...
 
void updateProperties (StructuralComponentDC *)
 change the currently managed SCDC and update the value of the properties More...
 
 ~StructuralComponentDCProperties ()
 the destructor (oauh, really?!!) More...
 

Properties

QString name
 the name property that will be managed in the property dialog More...
 

Private Attributes

StructuralComponentDCmyDC
 

Detailed Description

The class StructuralComponentDCProperties defines an QObject that allows user interaction with properties of a structural component (in an automatically generated UI)

The default structural component properties are created thanks to Q_PROPERTY. The extra properties found in the PML document are also available thanks to the dynamic features of the Qt's Property System (see qt documentation).

Constructor & Destructor Documentation

StructuralComponentDCProperties::StructuralComponentDCProperties ( StructuralComponentDC )

Default construtor (give it he SCDC to edit)

StructuralComponentDCProperties::~StructuralComponentDCProperties ( )
inline

the destructor (oauh, really?!!)

Member Function Documentation

virtual bool StructuralComponentDCProperties::event ( QEvent *  e)
virtual

intercept signal for dynamic property changed.

QString StructuralComponentDCProperties::getName ( ) const

get the atom's index in a form the property editor understands

void StructuralComponentDCProperties::setName ( const QString  )

Set and get method for all the properties.

change the cell's name (if name is not an index)

void StructuralComponentDCProperties::updateProperties ( StructuralComponentDC )

change the currently managed SCDC and update the value of the properties

Member Data Documentation

StructuralComponentDC* StructuralComponentDCProperties::myDC
private

Property Documentation

QString StructuralComponentDCProperties::name
readwrite

the name property that will be managed in the property dialog


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