Stelios Tsampas
ed68eb66ad
Convert models to dataclasses.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
23252fb0e2
Fix game verify and repair.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
1365b36b08
Delegate opening browser to a function (futureproofing)
2021-06-24 20:08:22 +03:00
Stelios Tsampas
c29cc06e70
Display Ready message when each thread has finished.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
81aa8c30ec
Make qss resources path compatible with Windows
2021-06-24 20:08:22 +03:00
Stelios Tsampas
dc2a99c2ee
Terminate threads and handle cleanup.
...
* Set the `WA_DeleteOnClose` attribute for the MainWindow.
* Handle the case where `programdata_path` exists but is empty.
* Emit a signal from `LaunchDialog` instead of using `exit()`.
* Remove `LoginThread` as it was never deleted and caused a `SIGSEGV` on exit.
* Handle termination and deletion of `SteamThread` and `ImageThread`.
* Rename `finished` to `completed`, to not override the inherited `finished` signal.
* Emit a signal from Account widget to do cleanup instead of immediately quitting.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
09d9e0f9a0
Raise ValueError when failing to login so it can be logged.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
be8ee8b955
Add check options message in InstallDialog.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
cac7d0c809
Refresh wrapper QTextEdit when proton wrapper is un-selected
...
and disable the save button
2021-06-24 20:08:22 +03:00
Stelios Tsampas
8f5040e0ca
Adjust QFrame border-radius. Use html codes for all colors.
2021-06-24 20:08:22 +03:00
Stelios Tsampas
d6c3141bcf
Update MANIFEST.in
2021-06-24 20:08:22 +03:00
Stelios Tsampas
ff3aa1929c
Handle install and uninstall colors in qss. Make tab_bar more consistent
2021-06-24 20:08:22 +03:00
Stelios Tsampas
e8dadb6b00
Update the RareStyle to handle radiobutton, disabled widgets, etc.
...
* Add RareStyle qrc with the icons needed for comboboxes and spinboxes
* Add images as svg
* Refactor `styles` to `resources` since it contains more things now.
* Add stylesheet folders, each folder must contain a `stylesheet.qss` file.
* Don't use QResources, instead add an identifier in the qss url() which can
replaced later with the full path.
* Update RareStyle with SVG images for better quality.
2021-06-24 20:08:04 +03:00
Stelios Tsampas
f49cc413dd
Add prefix path select dialog to LoginDialog.
...
* Make exception handling more general in InstallDialog.
* Fix the title of PathEdit file selection dialog.
2021-06-24 20:07:18 +03:00
Stelios Tsampas
90ac9a1574
Re-implement LoginDialog.
2021-06-24 20:07:18 +03:00
Tabulate
9dcba184d0
Fix green button hardcoding ( #87 )
...
* Fix green button hardcoding and add material design stylesheet
* rebase onto dev
2021-06-24 10:03:35 +02:00
Dummerle
a2bc9ced09
Merge pull request #63 from loathingKernel/dialogs
...
Redesign Install/Update dialog
2021-05-27 13:14:27 +02:00
Dummerle
77dc6edd71
Fix library reload bug
2021-05-27 12:58:34 +02:00
Stelios Tsampas
9a307856f6
Ensure the result signal has been connected
2021-05-26 15:40:23 +03:00
Stelios Tsampas
5b2cc055ff
Close at the correct signals
2021-05-25 23:52:25 +03:00
Stelios Tsampas
0200347e72
Convert InstallDialog to modeless so it doesn't block the main UI any more.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
c1d5c98945
Disable cancel button when thread is running.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
e019c2ab7e
Don't disable cancel button, wait for thread instead.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
fd84065fcb
Add verify button to not block on every change.
...
Add some behavioral safeguards until thread can be stopped.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
181636f2be
Connect all widgets to the get_download_info function.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
b0ec5c5fcb
Move all download preparations inside InstallDialog.
...
InstallDialog now returns a InstallQueueItemModel ready
to be downloaded or queued.
Renamed a few model attributes to match legendary's names.
InstallDialog can be run silently for auto-downloads.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
376d3e0eba
Don't use global threadpool as it gets deleted when exiting the dialog
...
Woops...
2021-05-25 23:52:25 +03:00
Stelios Tsampas
148cf0ff8e
Add models for the download queue.
...
The addition of download_only option broke the download queue
due to different positional arguments and tuple indices. Since
using indices is awkward, models to represent the download
and each item in the queue itself were added.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
494e078522
Fix remaining issues with the install dialog.
...
* Fix race condition between the sdl checkboxes.
* Fix default tag not been included in the list of tags.
* Delete InstallDialog on close.
* Specify parent for InstallDialog.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
eb461529f7
While we are here, adjust UninstalledInfo to match GameInfo. Make it easier to unify them in the future.
2021-05-25 23:52:25 +03:00
Stelios Tsampas
1131edda20
Add selective downloads
2021-05-25 23:52:25 +03:00
Stelios Tsampas
5ccf73d737
Update install dialog and remove the extraneous install info dialog
2021-05-25 23:52:25 +03:00
Dummerle
e4d5d24ad7
Merge remote-tracking branch 'origin/dev' into dev
2021-05-25 17:44:30 +02:00
Dummerle
3d31807d15
Add styles to MANIFEST.in
2021-05-25 17:44:21 +02:00
Dummerle
811b884aca
Merge pull request #67 from loathingKernel/fix-rare-settings
...
Make shortcuts pane align top properly
2021-05-25 14:35:57 +02:00
Stelios Tsampas
56f79fb594
Make shortcuts align top properly
2021-05-22 23:18:58 +03:00
Dummerle
432cdede3a
Add logir buttons with functions; optimize repair
2021-05-22 20:28:50 +02:00
Dummerle
1ef5ad0d61
Add two options to create desktop and startmenu link
2021-05-22 17:49:01 +02:00
Dummerle
e2ffc689a1
Merge pull request #65 from loathingKernel/colors
...
Simplify color scheme format
2021-05-22 17:25:50 +02:00
Stelios Tsampas
6686a5ddc6
Simplify color scheme format
...
`.scheme` files now should hold only the Active palette and
for the Inactive and Disabled palettes only whatever colors differ.
Add a few more color schemes based on popular themes.
2021-05-21 23:45:33 +03:00
Dummerle
e457be024d
Add __init__.py in ui folder for setuptools.find_packages()
2021-05-21 16:48:33 +02:00
BuildTools
0b74eb95e6
Some fixes for Windows
2021-05-21 16:22:30 +02:00
Dummerle
af69be5e5c
Upload german translation file
2021-05-21 15:47:52 +02:00
Dummerle
3a39bac09c
Reformatting and update german translation
2021-05-21 13:40:10 +02:00
Dummerle
9edfd302bd
Merge branch 'main' into dev
2021-05-21 13:20:58 +02:00
Dummerle
2e166300b9
Add new Launch Dialog files
2021-05-21 13:10:50 +02:00
Dummerle
2e148aebff
Add protondb grades and option to disable it
2021-05-21 13:09:26 +02:00
Dummerle
d50ccc6e55
Add option for download only
2021-05-20 23:00:38 +02:00
Dummerle
27b1c10206
remove option to import games from egs in import widget
2021-05-20 11:16:57 +02:00
Dummerle
760c75e45b
Update German translation
2021-05-20 10:57:40 +02:00