API Documentation
Loading...
Searching...
No Matches
QTDesignObject Class Reference

A pointer to a DesignObject within a QTModelManager that recieves and emits update signals based on the state of the object. More...

#include <QTDesignObject.h>

Inheritance diagram for QTDesignObject:
[legend]
Collaboration diagram for QTDesignObject:
[legend]

Public Slots

void deleteObject ()
 
void setFocus (bool focus)
 
void setSelected (bool is_selected)
 
void update ()
 

Signals

void deletedSignal (UUID id)
 
void descendentUpdatedSignal (UUID id)
 
void selectedSignal (UUID id)
 
void updatedSignal (UUID id)
 

Public Member Functions

void deleteModel (UUID id)
 
TranslatedString displayName () const
 
void exportToFile ()
 
DesignObject get () const
 
template<class t_type >
t_type getAs () const
 
DesignSelection getAsSelection () const
 
template<class t_type >
t_type getGeometryProperty (Geometry::GeometryProperty property) const
 
template<class t_type >
t_type getMaterialProperty (Material::MaterialProperties property) const
 
template<class t_type >
t_type getModelProperty (Model::ModelProperty property) const
 
template<class t_type >
t_type getProperty (DesignObject::DesignProperty property) const
 
UUID id () const
 
template<class t_type >
bool is () const
 
QTModelManagermanager () const
 
QTDesignObjectoperator= (const QTDesignObject &other)
 
void postCommand (const DynamicPointer< DesignCommand > &command)
 
void runCommand (const DynamicPointer< DesignCommand > &command)
 
void showProperties (const PopupInfo &location=PopupInfo())
 
void updateDescendent ()
 
void updateObject ()
 
void updateSelected (UUID id, bool is_selected)
 
UUID uuid () const
 
 ~QTDesignObject ()
 

Protected Member Functions

 QTDesignObject (const QTDesignObject &object)
 
 QTDesignObject (const UUID &object, QTModelManager *manager)
 

Protected Attributes

UUID m_id
 
QTModelManagerm_manager
 

Friends

class QTModelManager
 

Detailed Description

A pointer to a DesignObject within a QTModelManager that recieves and emits update signals based on the state of the object.


Constructor & Destructor Documentation

◆ QTDesignObject() [1/2]

QTDesignObject ( const UUID & object,
QTModelManager * manager )
inlineprotected

◆ QTDesignObject() [2/2]

QTDesignObject ( const QTDesignObject & object)
inlineprotected

◆ ~QTDesignObject()

~QTDesignObject ( )
inline

Member Function Documentation

◆ deletedSignal

void deletedSignal ( UUID id)
signal

◆ deleteModel()

void deleteModel ( UUID id)
inline

◆ deleteObject

void deleteObject ( )
inlineslot

◆ descendentUpdatedSignal

void descendentUpdatedSignal ( UUID id)
signal

◆ displayName()

TranslatedString displayName ( ) const
inline

◆ exportToFile()

void exportToFile ( )

◆ get()

DesignObject get ( ) const
inline

◆ getAs()

template<class t_type >
t_type getAs ( ) const
inline

◆ getAsSelection()

DesignSelection getAsSelection ( ) const

◆ getGeometryProperty()

template<class t_type >
t_type getGeometryProperty ( Geometry::GeometryProperty property) const
inline

◆ getMaterialProperty()

template<class t_type >
t_type getMaterialProperty ( Material::MaterialProperties property) const
inline

◆ getModelProperty()

template<class t_type >
t_type getModelProperty ( Model::ModelProperty property) const
inline

◆ getProperty()

template<class t_type >
t_type getProperty ( DesignObject::DesignProperty property) const
inline

◆ id()

UUID id ( ) const
inline

◆ is()

template<class t_type >
bool is ( ) const
inline

◆ manager()

QTModelManager * manager ( ) const
inline

◆ operator=()

QTDesignObject & operator= ( const QTDesignObject & other)
inline

◆ postCommand()

void postCommand ( const DynamicPointer< DesignCommand > & command)

◆ runCommand()

void runCommand ( const DynamicPointer< DesignCommand > & command)

◆ selectedSignal

void selectedSignal ( UUID id)
signal

◆ setFocus

void setFocus ( bool focus)
inlineslot

◆ setSelected

void setSelected ( bool is_selected)
inlineslot

◆ showProperties()

void showProperties ( const PopupInfo & location = PopupInfo())

◆ update

void update ( )
inlineslot

◆ updateDescendent()

void updateDescendent ( )
inline

◆ updatedSignal

void updatedSignal ( UUID id)
signal

◆ updateObject()

void updateObject ( )
inline

◆ updateSelected()

void updateSelected ( UUID id,
bool is_selected )
inline

◆ uuid()

UUID uuid ( ) const
inline

Friends And Related Symbol Documentation

◆ QTModelManager

friend class QTModelManager
friend

Member Data Documentation

◆ m_id

UUID m_id
protected

◆ m_manager

QTModelManager* m_manager
protected

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