1
0
Fork 0
mirror of synced 2024-06-29 03:31:06 +12:00
Commit graph

55 commits

Author SHA1 Message Date
loathingKernel 0fb1526d67 MoveDialog: Refactor MovePopup into a dialog using ActionDialog as base 2024-01-02 23:11:47 +02:00
loathingKernel 89c1a4eaf4 Launcher: Refactor cloud sync dialog to use ButtonDialog base class 2024-01-02 17:38:51 +02:00
loathingKernel 534c45818a GameInfo: Update button description strings and icons 2024-01-02 15:34:35 +02:00
loathingKernel 6e7ea3181e
GameInfo: Add tags groupbox 2023-12-10 14:21:38 +02:00
loathingKernel eb48a506d2
GameInfo: Add 'Modify Game' button to adjust selective downloads 2023-11-28 16:38:00 +02:00
lennard 30c3dadd4d
Update translations 2023-04-13 01:10:12 +02:00
lennard f1fa0ada1a Open cloud save dialog after playing a game, if no action set on start 2023-04-08 01:03:14 +02:00
loathingKernel 42b9f581f6
GameInfo: Use QFormLayout instead of QGridLayout for the information
Also partition the space to left and right layouts, left layout being the
image and the space below it (pending future usage), and right the
information.
2023-03-30 12:50:42 +03:00
loathingKernel ae74d3438b
GameSettings: Use a PathEdit for override_exe
In the process convert to Ui membership instead of dual
sub-classing for those forms
2023-03-16 12:41:50 +02:00
loathingKernel 993b9fca17
CloudSaves: Better handling of changing between games and some UI cleanup 2023-03-11 02:05:41 +02:00
loathingKernel f83342aa14
UI: Fix over-layouting in SyncWidget 2023-03-10 18:23:26 +02:00
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