API Documentation
Loading...
Searching...
No Matches
QTVertexManagerView Class Referencefinal

#include <QTVertexManagerView.h>

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

Signals

void contentsChanged ()
 

Public Member Functions

 QTVertexManagerView (QObject *parent=nullptr)
 
 QTVertexManagerView (const DynamicPointer< QTDesignObject > &root, QObject *parent=nullptr)
 
virtual ~QTVertexManagerView ()
 
void setTarget (const DynamicPointer< QTDesignObject > &root)
 
DynamicPointer< QTDesignObjecttarget () const
 
void setParametersToGlobalLinework ()
 
void setParametersToGlobalLocations ()
 
void setParametersToLocalLocations ()
 
void autoPopulateColumns ()
 
void setUseGlobalTransform (bool toggle)
 
bool isSpecialCallbackIndex (const QModelIndex &index) const
 
void setParameters (const Buffer< DesignParameter > &params, bool enable_edit, bool enable_primitive_edit)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
void onClicked (const QModelIndex &index, QRect rect)
 
void onHovered (const QModelIndex &index, QRect rect)
 
void setEditable (bool editable)
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
Model model () const
 
void displayLineworkEditor (uint04 vertex_index, PopupInfo info)
 
bool isEditable () const
 

Protected Slots

void updateSlot ()
 
void deletedSlot ()
 

Protected Member Functions

void cacheValues ()
 

Protected Attributes

UUID m_vertex_highlight_id = Constant<UUID>::NaN
 
Buffer< uint04m_cached_indices
 
Buffer< DesignParameterAccumulatorm_properties
 
DynamicPointer< QTDesignObjectm_root
 
uint04 m_num_of_decimal
 
bool m_is_editable = false
 
bool m_is_global = false
 
bool m_has_vertex_edit_column = false
 
bool m_has_primitive_edit_column = false
 
bool m_is_linework = false
 

Constructor & Destructor Documentation

◆ QTVertexManagerView() [1/2]

QTVertexManagerView ( QObject * parent = nullptr)

◆ QTVertexManagerView() [2/2]

QTVertexManagerView ( const DynamicPointer< QTDesignObject > & root,
QObject * parent = nullptr )

◆ ~QTVertexManagerView()

~QTVertexManagerView ( )
virtual

Member Function Documentation

◆ autoPopulateColumns()

void autoPopulateColumns ( )

◆ cacheValues()

void cacheValues ( )
protected

◆ columnCount()

int columnCount ( const QModelIndex & parent = QModelIndex()) const
override

◆ contentsChanged

void contentsChanged ( )
signal

◆ data()

QVariant data ( const QModelIndex & index,
int role = Qt::DisplayRole ) const
override

◆ deletedSlot

void deletedSlot ( )
protectedslot

◆ displayLineworkEditor()

void displayLineworkEditor ( uint04 vertex_index,
PopupInfo info )

◆ flags()

Qt::ItemFlags flags ( const QModelIndex & index) const
override

◆ headerData()

QVariant headerData ( int section,
Qt::Orientation orientation,
int role = Qt::DisplayRole ) const
override

◆ isEditable()

bool isEditable ( ) const
inline

◆ isSpecialCallbackIndex()

bool isSpecialCallbackIndex ( const QModelIndex & index) const

◆ model()

Model model ( ) const

◆ onClicked()

void onClicked ( const QModelIndex & index,
QRect rect )

◆ onHovered()

void onHovered ( const QModelIndex & index,
QRect rect )

◆ rowCount()

int rowCount ( const QModelIndex & parent = QModelIndex()) const
override

◆ setData()

bool setData ( const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole )
override

◆ setEditable()

void setEditable ( bool editable)

◆ setParameters()

void setParameters ( const Buffer< DesignParameter > & params,
bool enable_edit,
bool enable_primitive_edit )

◆ setParametersToGlobalLinework()

void setParametersToGlobalLinework ( )

◆ setParametersToGlobalLocations()

void setParametersToGlobalLocations ( )

◆ setParametersToLocalLocations()

void setParametersToLocalLocations ( )

◆ setTarget()

void setTarget ( const DynamicPointer< QTDesignObject > & root)

◆ setUseGlobalTransform()

void setUseGlobalTransform ( bool toggle)
inline

◆ target()

DynamicPointer< QTDesignObject > target ( ) const

◆ updateSlot

void updateSlot ( )
protectedslot

Member Data Documentation

◆ m_cached_indices

Buffer<uint04> m_cached_indices
protected

◆ m_has_primitive_edit_column

bool m_has_primitive_edit_column = false
protected

◆ m_has_vertex_edit_column

bool m_has_vertex_edit_column = false
protected

◆ m_is_editable

bool m_is_editable = false
protected

◆ m_is_global

bool m_is_global = false
protected

◆ m_is_linework

bool m_is_linework = false
protected

◆ m_num_of_decimal

uint04 m_num_of_decimal
protected

◆ m_properties

Buffer<DesignParameterAccumulator> m_properties
protected

◆ m_root

DynamicPointer<QTDesignObject> m_root
protected

◆ m_vertex_highlight_id

UUID m_vertex_highlight_id = Constant<UUID>::NaN
protected

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