A wrapper around QTreeWidget with native NDEVR objects.
More...
A wrapper around QTreeWidget with native NDEVR objects.
Will automatically update icons and translated strings as needed.
Definition at line 27 of file QCustomTreeWidget.h.
◆ QCustomTreeWidget()
| QCustomTreeWidget::QCustomTreeWidget |
( |
QWidget * | parent = nullptr | ) |
|
◆ event()
| bool QCustomTreeWidget::event |
( |
QEvent * | event | ) |
|
Handles events including palette changes to refresh icons and text.
- Parameters
-
| [in] | event | The event to handle. |
- Returns
- True if the event was handled, false otherwise.
References event().
Referenced by event().
◆ itemActivatedSignal()
| void QCustomTreeWidget::itemActivatedSignal |
( |
String | id, |
|
|
int | column ) |
Signal emitted when a tree item is activated (e.g., by Enter key).
- Parameters
-
| [in] | id | The ID of the activated item. |
| [in] | column | The column that was activated. |
◆ itemChangedSignal()
| void QCustomTreeWidget::itemChangedSignal |
( |
String | id, |
|
|
int | column ) |
Signal emitted when a tree item's data changes.
- Parameters
-
| [in] | id | The ID of the changed item. |
| [in] | column | The column that changed. |
◆ itemClickedSignal()
| void QCustomTreeWidget::itemClickedSignal |
( |
String | id, |
|
|
int | column ) |
Signal emitted when a tree item is clicked.
- Parameters
-
| [in] | id | The ID of the clicked item. |
| [in] | column | The column that was clicked. |
◆ itemCollapsedSignal()
| void QCustomTreeWidget::itemCollapsedSignal |
( |
String | id | ) |
|
Signal emitted when a tree item is collapsed.
- Parameters
-
| [in] | id | The ID of the collapsed item. |
◆ itemDoubleClickedSignal()
| void QCustomTreeWidget::itemDoubleClickedSignal |
( |
String | id, |
|
|
int | column ) |
Signal emitted when a tree item is double-clicked.
- Parameters
-
| [in] | id | The ID of the double-clicked item. |
| [in] | column | The column that was double-clicked. |
◆ itemEnteredSignal()
| void QCustomTreeWidget::itemEnteredSignal |
( |
String | id, |
|
|
int | column ) |
Signal emitted when the mouse enters a tree item.
- Parameters
-
| [in] | id | The ID of the entered item. |
| [in] | column | The column that was entered. |
◆ itemExpandedSignal()
| void QCustomTreeWidget::itemExpandedSignal |
( |
String | id | ) |
|
Signal emitted when a tree item is expanded.
- Parameters
-
| [in] | id | The ID of the expanded item. |
◆ itemPressedSignal()
| void QCustomTreeWidget::itemPressedSignal |
( |
String | id | ) |
|
Signal emitted when a tree item is pressed.
- Parameters
-
| [in] | id | The ID of the pressed item. |
◆ selectedIDs()
◆ setTitle()
Sets the header title for the tree widget.
- Parameters
-
| [in] | title | The translated title text. |
◆ setup()
The documentation for this class was generated from the following file: