ReputationLevelDialog ​
Inherits: ConfirmationDialog
Dialog for creating and editing reputation levels within a faction.
Description ​
This dialog dynamically builds its UI and can be used to add new reputation levels or edit existing ones. It emits a signal when the user confirms their changes.
Variables ​
LineEdit | name_edit | |
SpinBox | min_rep_spin | |
TextEdit | description_edit | |
ColorPickerButton | color_picker | |
OptionButton | relationship_button | |
ReputationLevel | editing_level | null |
Methods ​
void | open_for_new() |
void | open_for_edit( level: ReputationLevel ) |
Signals ​
level_saved( level: ReputationLevel ) ​
Emitted when the user confirms the dialog with valid reputation level data
Variable descriptions ​
LineEdit name_edit ​
UI controls for editing reputation level properties
SpinBox min_rep_spin ​
No description yet.
TextEdit description_edit ​
No description yet.
ColorPickerButton color_picker ​
No description yet.
OptionButton relationship_button ​
No description yet.
ReputationLevel editing_level = null ​
The reputation level being edited, or null if creating a new one
Method descriptions ​
void open_for_new() ​
Opens the dialog to create a new reputation level.
void open_for_edit( level: ReputationLevel ) ​
Opens the dialog to edit an existing reputation level.