1
0
Fork 0
mirror of synced 2024-06-25 01:30:25 +12:00
Rare/rare/widgets
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
..
__init__.py Implement image manager 2022-06-19 17:12:59 +03:00
collapsible_widget.py Code cleanup: Use pass instead of ellipsis (...) for abstractmethods 2023-02-20 15:31:04 +02:00
dialogs.py Dialogs: Re-implement Launch and Login dialogs on top of a few common super-classes 2023-12-24 21:08:26 +02:00
elide_label.py ElideLabel: Improve tooltip handling 2023-03-13 00:54:25 +02:00
flow_layout.py FlowLayout: Fix overlapping widgets and remove default arguments 2023-12-14 00:49:22 +02:00
image_widget.py Refactor: Move ImageSize to models 2023-05-03 17:27:35 +03:00
indicator_edit.py IndicatorEdit: Set placeholder as tooltip too 2023-12-15 23:20:32 +02:00
library_layout.py FlowLayout: Fix overlapping widgets and remove default arguments 2023-12-14 00:49:22 +02:00
loading_widget.py Ubisoft: Update Ubisoft redemption widget to use RareCore 2023-11-28 17:15:45 +02:00
path_input_dialog.py Widgets: Move PathInputDialog to rare/widget as a generic option 2023-11-29 12:39:27 +02:00
rare_app.py Rare: Move the different applications into their respective folders 2023-12-10 14:21:36 +02:00
side_tab.py SideTabContainer: Set size policy for the container scrollarea container widget 2023-12-12 14:43:41 +02:00
sliding_stack.py Add SlidingStackedWidget from #196 2022-06-22 16:53:26 +03:00