1
0
Fork 0
mirror of synced 2024-08-31 09:51:14 +12:00
Commit graph

74 commits

Author SHA1 Message Date
Dummerle
258fdabfec add get_pixmap function 2021-08-16 23:08:15 +02:00
Dummerle
4cfe2bf336 merge branches 2021-08-16 22:50:31 +02:00
Dummerle
5dcaa3f8af Update steam ratings (Only update if need) 2021-08-13 21:24:03 +02:00
Stelios Tsampas
ed68eb66ad Convert models to dataclasses. 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
Dummerle
a5997f62ab replace os.name with platform.system() to differentiate between mac and linux 2021-06-20 21:55:31 +02:00
Dummerle
2549d92fe3 Fix cloud saves bug and some protondb fixes 2021-06-15 18:26:58 +02:00
Dummerle
745e0cc516 Update some things to launch rare with pythonw.exe on windows 2021-06-12 00:04:09 +02:00
Dummerle
838783c1fb Show error message and warnings after core.prepare_download 2021-06-07 15:42:49 +02: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
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
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
1ef5ad0d61 Add two options to create desktop and startmenu link 2021-05-22 17:49:01 +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
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
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
df726c0c57 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	rare/components/tabs/games/game_info/__init__.py
2021-05-19 11:51:04 +02:00
Dummerle
a129556441 Add basic structure for downloading grades 2021-05-19 11:06:00 +02:00
Dummerle
9049d34898 Fix bug with linux startmenu links 2021-05-18 17:07:39 +02:00
Stelios Tsampas
f34e1ce61f Add selectable colors schemes and style sheets 2021-05-18 01:59:59 +03:00
Stelios Tsampas
fc8b8bad37 Move .ui and the corresponding .py files into the rare directory under ui for clarity 2021-05-18 01:57:20 +03:00
Stelios Tsampas
8c882177e1 Make PathEdit more self-contained 2021-05-18 01:57:20 +03:00
Stelios Tsampas
748d51f31f Improve PathEdit a bit more
Add placeholder text
Remove some unused variables
Open dialog starting from path if set
2021-05-18 01:57:20 +03:00
Stelios Tsampas
115d142f94 Improve the layout of PathEdit 2021-05-18 01:57:20 +03:00
Stelios Tsampas
b138766f1d Updated the settings UI to use widgets generated through Qt Designer
Since many lines were changed due to components being reused, the more
important are listed below per file. Static strings were moved to the UI files for
translation purposes and some messages have been re-worded.

`extra_widgets.py`: PathEdit now contains the save button and the dialog can also filter by name, all forms using it have been updated
`rare.py`: Updated the look and fixed a bug where the Image Directory wouldn't change if `img_dir` wasn't specified in the settings file
`legendary.py`: Update the look, changed the Max Workers option into a SpinBox
`linux.py`: Update the look, changed Wine Executable option in to a PathEdit that filters for `wine` and `wine64`.
`game_settings.py`: Updated to reflect the changes in `linux.py` settings widget.  Added the system `compatibilitytools.d` to be search for potential proton versions
2021-05-18 01:57:20 +03:00
Dummerle
530cff2a14 Better style for uninstalled info; add raw json view 2021-05-17 21:27:23 +02:00
Dummerle
89d30b4899 Fix bugs with windows filenames 2021-05-17 11:38:30 +02:00
Dummerle
5a6a8fc1e7 Remove Windows Desktop files on uninstall 2021-05-12 11:45:10 +02:00
Dummerle
b4d10cc77e Auto sync saves on startup if enabled 2021-05-12 09:19:50 +02:00
Dummerle
61fe881c1a Add Info for uninstalled Games 2021-05-11 17:29:35 +02:00
Dummerle
4378df2791 Fixed Windows Desktop link: Icons 2021-05-11 16:42:41 +02:00
Dummerle
f2922bc677 Fixed Windows Desktop link: Icons 2021-05-11 16:39:02 +02:00
Dummerle
264860049e Fixed Windows Desktop link 2021-05-11 16:24:02 +02:00
Dummerle
6a3166ceff Add ProtonDB in UninstalledInfo (Test/Beta) 2021-05-11 14:30:08 +02:00
ChemicalXandco
bfc8b1f8f5 add pywin32 to requirements.txt 2021-05-09 15:25:27 +01:00
ChemicalXandco
de408cc534
Merge branch 'main' into windows_desktop_shortcut 2021-05-09 15:07:13 +01:00
ChemicalXandco
378b5193e8 add support for game shortcuts on windows 2021-05-09 15:05:43 +01:00
Dummerle
2d3c1bf295
Merge pull request #52 from gnanini/main
added modules for getting a game's steam id and its protondb tier!
2021-05-04 18:30:31 +02:00
gnanini
77a0d8d8eb
Update id.py 2021-05-03 16:01:05 -03:00
Dummerle
3a178cb797 Catch more exceptions in rpc 2021-05-01 11:24:38 +02:00
Dummerle
14c1dbf19c Remove desktop link on uninstall 2021-05-01 11:17:18 +02:00
gnanini
7a08664730
Update id.py 2021-04-27 15:45:31 -03:00
gnanini
3d6ff836fd
Update utils.py 2021-04-27 15:39:02 -03:00
gnanini
ef00d6bcfa
Add files via upload 2021-04-27 15:31:40 -03:00