1
0
Fork 0
mirror of synced 2024-08-04 13:01:52 +12:00
Commit graph

44 commits

Author SHA1 Message Date
lennard
b4586c9272
Delete unused classes GameUtils and CloudSaveUtils and move cloud save dialog to dialogs
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-08 21:33:24 +02:00
lennard
70960c73c4
Some ui improvements for cloud saves
- Show text on widget if save is not up-to-date
- Fix text in game info -> cloud saves

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-08 18:54:27 +02:00
lennard
189167f4f7
Add upload and download function to RareGame
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-08 18:34:26 +02:00
lennard
a66600efa3
Move cloud save ui to a new tab in game_info
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-03-08 17:46:26 +02:00
loathingKernel
76a616615b Resources: Move some more stylesheets into the static CSS 2023-03-03 14:16:04 +02:00
loathingKernel
304ad0388e GameDlc: Re-write the form to use a QToolBox instead of two separate QGroupBoxes.
By using a QToolBox, we can better utilize the available space for
long lists of DLCs. `GameDlcWidget` is now responsible for handling
installing and uninstalling the DLC based on RareGame's functionality.

Since `GameUtils` is not used for uninstalling any more, remove it the
arguments of `GameInfoTabs` completely.
2023-02-04 17:38:07 +02:00
loathingKernel
a26b977bda Fix a few issues around refactoring the stylesheets.
Properly set object names for install and uninstall buttons in dialogs
Change margins on widgets that are put into scrollareas
Add top margin only on checkable QGroupBox
Remove padding from QToolBox
2023-02-04 17:38:07 +02:00
loathingKernel
b02483eb80 GameInfo: Refactor the move game stack to re-use the existing widgets
instead of adding them again to the layout. Move game should still
switch to RareGame, similar to the way it works for verifing.

Also add non-functional "Import Game" button
2023-02-04 17:38:07 +02:00
loathingKernel
d3bee28443 Ui: Delete QtCore.QMetaObject.connectSlotsByName from UI python files
Since pyuic5 doesn't handle `connectSlotByName=False` in ui files
use sed in `misc/ui2py.sh` to remove those lines

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:07 +02:00
loathingKernel
6335293eef Add ImageWidget and LibraryWidget from #196
Add the Image and Library widgets from #196. In this iteration they replace the image `QLabel` in the existing widgets.

The `PaintWidget` in the `InstallingWidget` has been replaced by the future `LibraryWidget` that has progress indication.

The `ImageWidget` was also used to replace the image `QLabel` in `GameInfo` and `GameDlc` widgets.

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-19 20:42:49 +03:00
Stelios Tsampas
1c296474c5 Add a bunch of accumulated fixes.
Shared: Require an argument to initialize the each singleton, if it is called uninitialized, raise a RuntimeError
InstallDialog: Use QCheckBox label for the information text and remove the layout
LaunchDialog: Minor code clarity improvements
Console: add a Dialog with the process's environment variables
GameUtils: Inherit the system's environment and not a clean one
ImportGroup: Add the ability to automatically import all games in a folder
RareStyle: Use rgb values, remove hex codes and rgba values
IndicatorLineEdit/PathEdit: Infer object names from class name, don't override layout method
Models: Type fields as Optional (`Union[<something>, None]`)
Paths: Use pathlib for everything

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2022-05-05 13:27:39 +03:00
aznd
7a82091285
Implement moving game installations (#193)
Implement moving game installations
2022-04-10 21:14:46 +02:00
Stelios Tsampas
303bd0fd20 A bunch of minor UI fixes 2022-03-29 00:36:42 +03:00
Dummerle
81da5faec9
Change Linux settings to default game settings 2022-03-21 23:01:53 +01:00
Dummerle
1a84abcb2b
Move Proton Settings so separate file 2022-03-21 23:00:32 +01:00
Stelios Tsampas
717945d729 SideTabWidget: Add container widget with a title and a scrollarea as the master widget for each tab 2022-03-18 18:03:14 +02:00
Dummerle
d1df48e837
Update Wrapper settings 2022-03-14 17:23:53 +01:00
Stelios Tsampas
063e7ddbaf
GameSettings: Convert to scrollarea (#183) 2022-03-14 17:23:52 +01:00
Dummerle
1d4fd38d89
Add override launch executable in game settings 2021-12-19 23:43:43 +01:00
Dummerle
026d5374a3
Add Multiplatform support for MacOS and Win32 2021-12-05 19:47:03 +01:00
Stelios Tsampas
ffba574dbf
GameDlc/GameSettings: Adjust scrollarea margins to fit the scrollbar 2021-12-05 02:34:21 +02:00
Stelios Tsampas
29cc9088eb
GameDlcWidget: Make the image label adjust to the widget size 2021-12-05 02:34:17 +02:00
Stelios Tsampas
0debd4f2ea
GameSettings: Adjust right margin to not attach to the scrollbar. 2021-11-22 20:57:41 +02:00
Stelios Tsampas
31e767f0c0
GameSettings: Put linux specific settings in a scrollarea 2021-11-22 19:35:26 +02:00
Stelios Tsampas
c3defd3a9d
GameSettings: Make cloud save box less messy. 2021-11-21 18:08:43 +02:00
Stelios Tsampas
185ce73da2
GameSettings: Move cloud saves above linux settings 2021-11-21 17:40:46 +02:00
Dummerle
8b8c3a1f64
Rebasing cloud_save_update with main 2021-11-17 22:59:28 +01:00
Stelios Tsampas
7156490952
Add initial implementation of WineResolver
Remove borders from EGLSync lists.
Color install/uninstall buttons correctly in DLC tab
Adjust InstallDialog because the check function runs early now.
2021-11-13 00:34:31 +01:00
Dummerle
57ee0ddd0c Revert "Remove border from dlc tab"
This reverts commit 7db26a743c.
2021-10-04 21:51:39 +02:00
Dummerle
7db26a743c Remove border from dlc tab 2021-10-04 20:32:22 +02:00
Dummerle
1fe1614d16 Remove some unused translations 2021-10-03 22:18:38 +02:00
Dummerle
b7af237935 Disable game action buttons on Origin Games 2021-09-18 16:50:13 +02:00
Stelios Tsampas
35cbd21bb7 Fix memory leaks in DLC tab. 2021-09-11 00:57:43 +03:00
Stelios Tsampas
45dc4b8e7c Adjust for one-line PathEdit
Make Console font monospaced.
Revert changes in Rare settings because they weren't working.
Replace a few GridLayouts with FormLayouts
2021-09-11 00:57:43 +03:00
Dummerle
b8be750c6c Add non asset games in gamelist 2021-09-01 19:41:01 +02:00
Dummerle
4cfe2bf336 merge branches 2021-08-16 22:50:31 +02: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
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
Dummerle
e457be024d Add __init__.py in ui folder for setuptools.find_packages() 2021-05-21 16:48:33 +02:00
Dummerle
3a39bac09c Reformatting and update german translation 2021-05-21 13:40:10 +02:00
Stelios Tsampas
e996816226 Small adjustments in object names 2021-05-19 13:22:57 +03:00
Stelios Tsampas
f094dacc44 Adjust Proton DB grade for the redesign 2021-05-18 01:57:20 +03:00
Stelios Tsampas
8b13e9b734 Various UI fixups
* Remove colons from labels
* Change the label in PathEdit path button
* Fix layout issues in dxvk
2021-05-18 01:57:20 +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