VertexTable(QWidget *parent=nullptr)
Constructs an empty vertex table.
void autoPopulateColumns()
Automatically populates the table columns based on the target geometry data.
void init()
Initializes the table view and internal model.
void setParametersToGlobalLinework()
Configures the table to display global linework data for each vertex.
void setEditable(bool editable)
Enables or disables editing of vertex data in the table.
bool event(QEvent *event) override
Handles Qt events, including retranslation events.
void setTarget(const DynamicPointer< QTDesignObject > &root)
Sets the target design object whose vertices are displayed.
void setParametersToGlobalLocations()
Configures the table to display global location coordinates for each vertex.
VertexTable(const DynamicPointer< QTDesignObject > &root, QWidget *parent=nullptr)
Constructs a vertex table targeting a specific design object.
QTVertexManagerView * m_manager
The vertex manager view model backing this table.
void updateHeaderSizes()
Updates the column header sizes to fit the current content.
void setParameters(const Buffer< DesignParameter > ¶ms, bool enable_vertex_edit, bool enable_primitive_edit)
Sets the displayed parameters and editing permissions for the table.