![]() |
NDEVR
API Documentation
|
A tree widget that displays all supported build actions organized by category, allowing the user to select one or more actions. More...
Public Member Functions | |
| DevActionTree (QWidget *parent=nullptr) | |
| Constructs the action tree and populates it with all supported build actions. | |
| Buffer< BuildAction > | selectedActions () const |
| Returns the currently selected build actions. | |
| Public Member Functions inherited from QCustomTreeWidget | |
| QCustomTreeWidget (QWidget *parent=nullptr) | |
| Constructs a tree widget. | |
| void | clear () |
| Removes all items from the tree widget. | |
| bool | event (QEvent *event) |
| Handles events including palette changes to refresh icons and text. | |
| void | itemActivatedSignal (String id, int column) |
| Signal emitted when a tree item is activated (e.g., by Enter key). | |
| void | itemChangedSignal (String id, int column) |
| Signal emitted when a tree item's data changes. | |
| void | itemClickedSignal (String id, int column) |
| Signal emitted when a tree item is clicked. | |
| void | itemCollapsedSignal (String id) |
| Signal emitted when a tree item is collapsed. | |
| void | itemDoubleClickedSignal (String id, int column) |
| Signal emitted when a tree item is double-clicked. | |
| void | itemEnteredSignal (String id, int column) |
| Signal emitted when the mouse enters a tree item. | |
| void | itemExpandedSignal (String id) |
| Signal emitted when a tree item is expanded. | |
| void | itemPressedSignal (String id) |
| Signal emitted when a tree item is pressed. | |
| Buffer< String > | selectedIDs () const |
| Returns the IDs of all currently selected tree items. | |
| void | selectionEditedSignal () |
| Signal emitted when the item selection changes. | |
| void | setTitle (const TranslatedString &title) |
| Sets the header title for the tree widget. | |
| void | setup (const Buffer< QCustomTreeNode > &children) |
| Sets up the tree with the given root-level nodes and their children. | |
Protected Member Functions | |
| void | init () |
| Populates the tree with build action categories and their child actions. | |
A tree widget that displays all supported build actions organized by category, allowing the user to select one or more actions.
Definition at line 8 of file DevActionTree.h.
|
inline |
Constructs the action tree and populates it with all supported build actions.
| [in] | parent | Optional parent widget. |
Definition at line 13 of file DevActionTree.h.
References QCustomTreeWidget::QCustomTreeWidget(), and init().
|
inline |
Returns the currently selected build actions.
Definition at line 20 of file DevActionTree.h.
References Buffer< t_type, t_memory_manager >::add(), and QCustomTreeWidget::selectedIDs().