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

#include <QTDesignObject.h>

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

Public Slots

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

Signals

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

UUID m_id
 
QTModelManagerm_manager
 

Friends

class QTModelManager
 

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 files: