EventTypeSelectionDialog ​
Inherits: ConfirmationDialog
Simplified popup for selecting event types (Triggers, Conditions, Actions) Uses EventTypeSelector for all the heavy lifting
Variables ​
String | current_type | "" |
bool | edit_mode | false |
Dictionary | edit_data | {} |
Methods ​
void | set_dialog_manager( manager: DialogManager ) |
void | setup( title_type: String, types_dict: Dictionary = {}, additional_data: Dictionary = {} ) |
void | setup_for_edit( title_type: String, unit: Resource, unit_data: Dictionary ) |
Signals ​
selection_made( type_name: String, type_data: Dictionary, additional_data: Dictionary, param_values: Dictionary ) ​
Variable descriptions ​
String current_type = "" ​
No description yet.
bool edit_mode = false ​
No description yet.
Dictionary edit_data = ​
No description yet.
Method descriptions ​
void set_dialog_manager( manager: DialogManager ) ​
Set the dialog manager for catalog/dialog selections
void setup( title_type: String, types_dict: Dictionary = {}, additional_data: Dictionary = {} ) ​
Setup for selecting a new type
void setup_for_edit( title_type: String, unit: Resource, unit_data: Dictionary ) ​
Setup for editing an existing type