hamyar_paygah.controllers.dialogs.server_config_dialog_controller¶
Controller for the server configuration dialog.
Classes¶
Controller for server address configuration dialog. |
Module Contents¶
- class hamyar_paygah.controllers.dialogs.server_config_dialog_controller.ServerConfigDialog¶
Bases:
PySide6.QtWidgets.QDialogController for server address configuration dialog.
- on_save_button_clicked()¶
Handle save button click event.
- Return type:
None
- _show_invalid_input()¶
Display the ‘invalid input’ warning label in the dialog.
This method makes the label visible to inform the user that the server address entered is invalid. Typically called after validation fails.
- Return type:
None
- _hide_invalid_input()¶
Hide the ‘invalid input’ warning label in the dialog.
This method hides the label, typically used when the user starts editing the input field or when the dialog is initialized, indicating that the previous input is no longer considered invalid.
- Return type:
None