1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00
Rare/rare
loathingKernel 0ea4b1a824 Dialogs: Re-implement all dialogs on top of a few common super-classes
Also add a dialog to select optional downloads before verifying
and refactor the move widget into a full-fledged dialog.

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.

Accordingly all dialogs in Rare have been updated to use these classes.
2024-02-12 21:52:07 +02:00
..
components Dialogs: Re-implement all dialogs on top of a few common super-classes 2024-02-12 21:52:07 +02:00
launcher Dialogs: Re-implement all dialogs on top of a few common super-classes 2024-02-12 21:52:07 +02:00
lgndr Lgdnr: Check for old_igame before writing tags 2024-01-18 16:43:06 +02:00
models GameSettings: Re-strucure settings widgets 2024-02-12 21:52:07 +02:00
resources ListGameWidget: Make Launch/Install buttons larger and the widget itself smaller 2024-01-29 16:18:21 +02:00
shared GameSettings: Re-strucure settings widgets 2024-02-12 21:52:07 +02:00
ui GameSettings: Re-strucure settings widgets 2024-02-12 21:52:07 +02:00
utils GameSettings: Re-strucure settings widgets 2024-02-12 21:52:07 +02:00
webview BrowserLogin: Add dedicated application mode to Rare for the webview login page 2024-02-12 21:51:42 +02:00
widgets GameSettings: Re-strucure settings widgets 2024-02-12 21:52:07 +02:00
__init__.py Rare: Release 1.10.11 2023-12-20 11:25:29 +02:00
__main__.py Rare: Update scripts to use the new entry point 2023-12-10 14:21:36 +02:00
main.py Various WIP 2024-02-12 21:52:07 +02:00