A table showing a list of vertices in a Geometry objects.
More...
|
| | VertexTable (const DynamicPointer< QTDesignObject > &root, QWidget *parent=nullptr) |
| | Constructs a vertex table targeting a specific design object.
|
| | VertexTable (QWidget *parent=nullptr) |
| | Constructs an empty vertex table.
|
|
void | autoPopulateColumns () |
| | Automatically populates the table columns based on the target geometry data.
|
| bool | event (QEvent *event) override |
| | Handles Qt events, including retranslation events.
|
| void | setEditable (bool editable) |
| | Enables or disables editing of vertex data in the table.
|
| void | setParameters (const Buffer< DesignParameter > ¶ms, bool enable_vertex_edit, bool enable_primitive_edit) |
| | Sets the displayed parameters and editing permissions for the table.
|
|
void | setParametersToGlobalLinework () |
| | Configures the table to display global linework data for each vertex.
|
|
void | setParametersToGlobalLocations () |
| | Configures the table to display global location coordinates for each vertex.
|
| void | setTarget (const DynamicPointer< QTDesignObject > &root) |
| | Sets the target design object whose vertices are displayed.
|
|
void | updateHeaderSizes () |
| | Updates the column header sizes to fit the current content.
|
|
|
void | init () |
| | Initializes the table view and internal model.
|
A table showing a list of vertices in a Geometry objects.
Definition at line 42 of file VertexTable.h.
◆ VertexTable() [1/2]
| VertexTable::VertexTable |
( |
QWidget * | parent = nullptr | ) |
|
Constructs an empty vertex table.
- Parameters
-
| [in] | parent | The parent widget. |
◆ VertexTable() [2/2]
Constructs a vertex table targeting a specific design object.
- Parameters
-
| [in] | root | The design object whose geometry vertices are displayed. |
| [in] | parent | The parent widget. |
◆ event()
| bool VertexTable::event |
( |
QEvent * | event | ) |
|
|
override |
Handles Qt events, including retranslation events.
- Parameters
-
| [in] | event | The event to process. |
- Returns
- True if the event was handled.
References event().
Referenced by event().
◆ setEditable()
| void VertexTable::setEditable |
( |
bool | editable | ) |
|
Enables or disables editing of vertex data in the table.
- Parameters
-
| [in] | editable | Whether the table cells should be editable. |
◆ setParameters()
| void VertexTable::setParameters |
( |
const Buffer< DesignParameter > & | params, |
|
|
bool | enable_vertex_edit, |
|
|
bool | enable_primitive_edit ) |
Sets the displayed parameters and editing permissions for the table.
- Parameters
-
| [in] | params | The design parameters to display as columns. |
| [in] | enable_vertex_edit | Whether vertex data cells are editable. |
| [in] | enable_primitive_edit | Whether primitive data cells are editable. |
◆ setTarget()
Sets the target design object whose vertices are displayed.
- Parameters
-
| [in] | root | The design object to display vertices for. |
The documentation for this class was generated from the following file: