1
0
Fork 0
mirror of synced 2024-09-30 09:17:37 +13:00
Commit graph

180 commits

Author SHA1 Message Date
loathingKernel
1721677e33 GameWidget: Implement reactive and interactive labels
The `status_label` displays what is currently going on with the game.
It reflects the current operation running on it or if it requires special
attention (update, needs verification etc)

The `tooltip_label` displays hover information such as what happens
if a part of the widget is clicked or in the case of the launch button if
the game can run (without version check, offline etc)

The context menu on the widgets will be updated and populated according
to the installation state of the game. Since the context menu was revised
the shortcut creation code was revised too to make it more compact.

the `create_desktop_link` and `get_rare_executable` functions are moved
from `rare.utils.misc` to `rare.utils.paths` to avoid cyclical imports and
better grouping. Two functions are added, `desktop_link_path` to uniformly
calculate the path of the shortcut and `desktop_links_supported` which
checks if Rare supports creating shortcuts on the current platform.
`desktop_links_supported` should be used as safeguard before `desktop_link_path`.

Desktop links are currently untested on Windows but if `shortcut.Description`
works as expected, it should be good to go.
2023-02-07 13:41:59 +02:00
loathingKernel
211f92d2d6 MainTabWidget: Use returned indices instead of hard-coding disabled tabs
Parent the tabs properly for consistency
2023-02-06 09:19:31 +02:00
loathingKernel
a8bc418e42 Reference tabs by their returned indices instead of hardcoded numbers 2023-02-04 17:38:07 +02:00
loathingKernel
de273cbe20 WrapperSettings: Move class variables into instance variables 2023-02-04 17:38:07 +02:00
loathingKernel
b9e9ed8088 EnvVars: Use monospace fonts for keys and values 2023-02-04 17:38:07 +02:00
loathingKernel
9ca39d94ab GlobalSignals: Reorganize signals into groups
Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2023-02-04 17:38:06 +02:00
loathingKernel
61749f9acd EOSWidget/UbiActivationHelper: Move them from Settings to ImportSync 2022-11-03 22:34:50 +02:00
lennard
923aa1b90d
Migrate to legendary 0.20.30 2022-10-26 21:36:16 +02:00
lennard
8e721cc324
Include Origin games in get_wine_prefixes() 2022-10-23 22:52:39 +02:00
lennard
378d876c3b
Add Ukrainian language 2022-10-17 20:00:46 +02:00
lennard
ebd567e665
Disable pypresence settings if not installed 2022-09-27 21:55:57 +02:00
lennard
fbd16b99ae
Update translations 2022-09-27 21:48:44 +02:00
Dummerle
5d24c672b2 Catch Permission errors, when disabling and enabling EOS overlay 2022-09-19 01:00:17 +02:00
loathingKernel
e621955a22 RareSettings: Handle permission error when deleting logs 2022-09-13 12:38:43 +03:00
Stelios Tsampas
d5d795ce79 Paths: Query paths after the OrganizationName and ApplicationName have been set
At the point they were evaluated, `OrganizationName` and `ApplicationName` are unset
resulting in wrong paths. As a quick fix, explicitly set them to their later values
Per OS examples:
Windows:
	before:
		data: C:\Users\<user>\AppData\Local
		cache: C:\Users\<user>\AppData\Local\cache
	after:
		data: C:\Users\<user>\AppData\Local\Rare\Rare
		cache: C:\Users\<user>\AppData\Local\Rare\Rare\cache
2022-09-08 01:27:37 +03:00
loathingKernel
48867a8656 DebugSettings: Add restart button, thanks Dummerle! 2022-09-02 00:31:10 +03:00
loathingKernel
f375357a2c Utils: fix unresolved references 2022-08-02 10:42:38 +03:00
loathingKernel
3ecbae0564 Utils: Rename utils.py to misc.py to not confuse PyCharm checker 2022-08-02 10:42:38 +03:00
loathingKernel
f51563ea93 Models: Move installation related models into their own file 2022-08-02 10:42:38 +03:00
loathingKernel
5c1ff81370 LegendarySettings: clean_manifests expects more values 2022-08-02 10:42:38 +03:00
Dummerle
165b289c4f
Remove extra information for eos overlay 2022-07-10 22:00:35 +02:00
Dummerle
43369ae143
Revert "Add a restart function in debug settings to easier test game helper"
This reverts commit cbf51b6bb7.
2022-06-23 20:11:09 +02:00
Dummerle
d8a766e756
Fix missing icon font prefix for LTS distros 2022-06-22 20:06:38 +02:00
Dummerle
cbf51b6bb7
Add a restart function in debug settings to easier test game helper 2022-06-19 22:50:13 +02:00
Dummerle
feb45afc47
Fix eos overlay bug not showing installed correct 2022-06-13 21:37:26 +02: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
MultisampledNight
e234656951
Use QStandardPaths everywhere needed 2022-03-31 21:58:18 +02:00
MultisampledNight
a73fb2e01b
Merge create_desktop_link and Rare's version 2022-03-31 21:58:18 +02:00
Stelios Tsampas
6249bd19bb Remove py files for the settings widgets from the old location 2022-03-30 01:51:23 +03:00
Stelios Tsampas
303bd0fd20 A bunch of minor UI fixes 2022-03-29 00:36:42 +03:00
Dummerle
bdbb840e32
Replace IndicatorEdit with PathEdit for pre-launch 2022-03-22 21:55:49 +01:00
Dummerle
7f44ca7985
Fix proton settings and bug in pre-launch 2022-03-22 21:48:20 +01:00
Dummerle
a98ffb766e
Fix question, if no save path exists and move env vars to default game settings 2022-03-22 20:40:23 +01:00
Dummerle
44e0bbb14a
Better text for pre launch command 2022-03-21 23:01:55 +01:00
Dummerle
b996aac3f7
Fix Wine Resolver, mangohud, pre launch, 2022-03-21 23:01:55 +01:00
Dummerle
89e1336940
Fix proton prefix settings, saving always 2022-03-21 23:01:55 +01:00
Dummerle
81da5faec9
Change Linux settings to default game settings 2022-03-21 23:01:53 +01:00
Dummerle
d077e2bc24
Add pre_launch settings 2022-03-21 23:00:33 +01:00
Dummerle
1a84abcb2b
Move Proton Settings so separate file 2022-03-21 23:00:32 +01:00
Dummerle
c26a30d9c9
Add load meta settings for 32 bit and macos 2022-03-21 23:00:32 +01:00
Dummerle
6de9a4c15e
Merge pull request #180 from aznd/envvars
Implement environment variables
2022-03-21 22:53:20 +01:00
aznd
d528d82462 Fix crash when no keys exists 2022-03-21 22:40:02 +01:00
aznd
d3d269b16c Append row 2022-03-20 22:28:47 +01:00
aznd
db3b409b18 Fix indexerror when trying to delete a env var that hasnt been saved to the config yet 2022-03-20 21:42:51 +01:00
aznd
12f0f0c806 Cover a new use case 2022-03-20 00:46:07 +01:00
aznd
be643eacb1 Fix segfault 2022-03-20 00:04:14 +01:00
aznd
937c306aa5 Add helper function for appending row and fix a bug 2022-03-19 23:23:36 +01:00
aznd
c84cc388fb Implement env_vars 2022-03-19 16:57:56 +01:00
Stelios Tsampas
0718753e3f Wrappers: Make widgets and the scrollarea smaller, adjust size on scrollbar visibility 2022-03-19 17:51:06 +02:00
Stelios Tsampas
cb852b6912 Align a bunch of stuff 2022-03-18 19:12:19 +02:00