A QTableView for showing Model or DesignObject properties.
More...
|
| void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector< int > &roles) override |
| | Handles data changes to auto-resize affected columns.
|
| void | rowsInserted (const QModelIndex &parent, int start, int end) override |
| | Handles row insertions to auto-resize columns.
|
A QTableView for showing Model or DesignObject properties.
Definition at line 90 of file DesignPropertyTable.h.
◆ DesignPropertyTableView()
| DesignPropertyTableView::DesignPropertyTableView |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ dataChanged()
| void DesignPropertyTableView::dataChanged |
( |
const QModelIndex & | topLeft, |
|
|
const QModelIndex & | bottomRight, |
|
|
const QVector< int > & | roles ) |
|
overrideprotected |
Handles data changes to auto-resize affected columns.
- Parameters
-
| [in] | topLeft | The top-left index of the changed range. |
| [in] | bottomRight | The bottom-right index of the changed range. |
| [in] | roles | The roles that changed. |
◆ minimumSizeHint()
| QSize DesignPropertyTableView::minimumSizeHint |
( |
| ) |
const |
|
override |
Returns the minimum size hint for this table view.
- Returns
- The minimum QSize.
◆ model()
◆ rowsInserted()
| void DesignPropertyTableView::rowsInserted |
( |
const QModelIndex & | parent, |
|
|
int | start, |
|
|
int | end ) |
|
overrideprotected |
Handles row insertions to auto-resize columns.
- Parameters
-
| [in] | parent | The parent index. |
| [in] | start | The first inserted row. |
| [in] | end | The last inserted row. |
◆ selectedIDs()
| Buffer< UUID > DesignPropertyTableView::selectedIDs |
( |
| ) |
const |
Returns the UUIDs of the currently selected rows.
- Returns
- A buffer of selected UUIDs.
◆ setProxyModel()
Sets the sort/filter proxy model for this table view.
- Parameters
-
| [in] | model | The proxy model to use. |
References model().
The documentation for this class was generated from the following file: