1
0
Fork 0
mirror of synced 2024-06-29 03:31:06 +12:00
Rare/rare/components/dialogs
loathingKernel 400625975d Dialogs: Re-implement Launch and Login dialogs on top of a few common super-classes
To keep dialogs in a common format and allow them to share the same
properties, three classes of dialogs have been implemented inheriting from
each other.

The classes are `BaseDialog` -> `ButtonDialog` -> `ActionDialog`

* Basedialog: is the basis of all dialogs and is responsible for
rejecting close requests from the window manager and the keyboard.
It also restricts access to `exec()` and `exec_()` because they are harmful.
It serves as the basis of Launch and Login dialogs

* ButtonDialog: is offering buttons for accepting or rejecting the presented
option. It implements its own buttons and exposes abstract methods to
implement handling in them. It restricts access to `close()` because these
dialogs should always product a result.
It is the basis of Uninstall, Selective dialogs.

* ActionDialog: in addition to the ButtonDialog, it offers an action buttom
with to validate the form or to make the dialog unable to close. It serves
as the basis of Install and Move dialogs.
2023-12-24 21:08:26 +02:00
..
login Dialogs: Re-implement Launch and Login dialogs on top of a few common super-classes 2023-12-24 21:08:26 +02:00
__init__.py lowercase snake case 2021-04-07 22:39:23 +02:00
cloud_save_dialog.py Open cloud save dialog after playing a game, if no action set on start 2023-04-08 01:03:14 +02:00
install_dialog.py RareGameBase: Add default_platform property 2023-12-16 14:02:53 +02:00
launch_dialog.py Dialogs: Re-implement Launch and Login dialogs on top of a few common super-classes 2023-12-24 21:08:26 +02:00
uninstall_dialog.py UninstallDialog: Handle Escape key 2023-12-10 14:22:29 +02:00