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

95 commits

Author SHA1 Message Date
loathingKernel 4ef73b48ef Dialogs: Homogenize dialog titles 2023-02-18 19:36:49 +02:00
loathingKernel 5938835249 ExtraWidgets: Remove IndicatorLineEdit and PathEdit and update imports 2023-02-18 17:29:41 +02:00
loathingKernel ecc1bd8d5c IndicatorLineEdit: Run edit callback function asynchronously
Execute the edit callback function in a thread. By executing it in a thread
we don't have to wait for longer validation procedures to finish to
continue updating the UI. This is most notable in the MoveGamePopUp
which is heavy on disk IO.

Because we cannot use special text formatting in a thread, the
indicator messages have been reworked while also becoming extensible.

A dictionary of extended reasons can be specified through the
`IndicatorLineEdit.extend_reasons()` method.

The dictionary has to follow the following format
```
python
{
	MyIndicatorReasons.REASON: self.tr("Reason message")
	MyIndicatorReasons.OTHER_REASON: self.tr("Other reason message")
}
```

In the above example `MyIndicatorReasons` is a subclass of `IndicatorReasons`
which should be specified as follows

```
python
MyIndicatorReasons(IndicatorReasons):
	REASON = auto()
	OTHER_REASON = auto()
```
2023-02-18 14:37:37 +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 ebd567e665
Disable pypresence settings if not installed 2022-09-27 21:55:57 +02:00
Dummerle 5d24c672b2 Catch Permission errors, when disabling and enabling EOS overlay 2022-09-19 01:00:17 +02: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
Dummerle 165b289c4f
Remove extra information for eos overlay 2022-07-10 22:00:35 +02:00
Dummerle d8a766e756
Fix missing icon font prefix for LTS distros 2022-06-22 20:06:38 +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
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 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 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
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 324530171e
Change kinetic scroll exceptions to property 2022-03-17 19:51:19 +01:00
Dummerle 66ae7c614f
Show wrapper widget for proton and mangohud with disabled button 2022-03-14 17:23:55 +01:00
Dummerle 01e7e6c463
Some fixes in game_utils.py and fixed height for scroll area 2022-03-14 17:23:55 +01:00
Dummerle abba02d59e
Fix drag and drop jitter 2022-03-14 17:23:54 +01:00
Dummerle 53f1f1802d
Add drag and drop to reorder wrappers 2022-03-14 17:23:54 +01:00
Dummerle 3beef49705
Add support for wrappers with spaces 2022-03-14 17:23:54 +01:00
Dummerle 59a59ddfcc
Rename settings_widgets + fix pylint error 2022-03-14 17:23:54 +01:00