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

67 commits

Author SHA1 Message Date
loathingKernel 3ecbae0564 Utils: Rename utils.py to misc.py to not confuse PyCharm checker 2022-08-02 10:42:38 +03:00
loathingKernel 9e394f9981 GamesTab: Create methods for repeated widget removal and deletion code segments
HeadBar: Compact the headbar, re-use ButtonLineEdit from shop for the search function
SelectViewWidget: Remove content margins and make widget naming consistent

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-22 20:00:00 +03:00
loathingKernel 5eb3ae7f80 Add SlidingStackedWidget from #196 2022-06-22 16:53:26 +03:00
loathingKernel 08ab130c5c LibraryLayout from #196
Introduces the LibraryLayout from #196.
This layout distributes the available space in either horizontal side and in-between the widgets.

Known issues: When searching for a game, it will re-align visible widgets, effectively centering the results.
This is because the search and grouping functions are interleaved. #196 handles it differently by adjusting
the opacity and re-ordering of the irrelevant widgets.

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-20 19:04:46 +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
Stelios Tsampas 303bd0fd20 A bunch of minor UI fixes 2022-03-29 00:36:42 +03:00
Dummerle 7f44ca7985
Fix proton settings and bug in pre-launch 2022-03-22 21:48:20 +01:00
Dummerle 3c148d8093
Add wrapper for PahEdit edit function to accept "~" as $HOME 2022-03-21 23:00:33 +01:00
Dummerle d077e2bc24
Add pre_launch settings 2022-03-21 23:00:33 +01:00
Stelios Tsampas c70e9e9b02 Avoid making window smaller than horizontal contents 2022-03-18 19:36:47 +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 66ae7c614f
Show wrapper widget for proton and mangohud with disabled button 2022-03-14 17:23:55 +01:00
Dummerle 2e6890bfd9
Move appdata paths to utils/paths.py to avoid crashes, if PyQt5 does not exist (deb workflow) 2022-02-17 00:04:53 +01:00
Dummerle 67b48d0725
Use QStandardPaths to get paths 2022-02-05 16:23:34 +01:00
Dummerle baa5df380b
Images from store are saved for runtime 2022-02-05 16:03:21 +01:00
Dummerle 25c04d2812
Add Reasons to IndicatorLineEdit as tooltip 2022-01-24 16:56:14 +01:00
Dummerle 0bc15be1f6
Fix Icon error for Ubuntu LTS, which uses QtAwesome 0.4.4 2022-01-05 15:44:29 +01:00
Stelios Tsampas 8f89eb6e88
Rare: pass through Black formatter 2021-12-27 00:37:13 +01:00
Dummerle c425775f28
Update to new QResource system 2021-12-09 21:59:07 +01:00
Stelios Tsampas 325e7df004
RareStyle: Add a background and a border to ease transition in the Main and Side tab bars. 2021-11-21 17:18:36 +02:00
Dummerle c99fd4761d
Add auto compute save path button 2021-11-17 23:02:35 +01:00
Dummerle b0125ba020
Many optimizations, bug fixes and other small fixes 2021-11-13 00:34:35 +01:00
Stelios Tsampas 96144d9da5
Use the tree view for the AppNameCompleter
* IndicatorLineEdit: Add hint label
* EGLSync: Send a list of app_names to update the game list.
* EGLSync: Show message with WINEPREFIX is unset in settings.
* WineResolver: Return empty string when WINEPREFIX is unset.
2021-11-13 00:34:33 +01:00
Stelios Tsampas 5a0646cb87
Add Completer for app_name in ImportGroup. 2021-11-13 00:34:33 +01:00
Stelios Tsampas 8805dd5325
Add path completer for PathEdit.
Doesn't enumerate hidden folders right now unless the RootPath is re-set (Through the browse button)
2021-11-13 00:34:33 +01:00
Stelios Tsampas d8f39857db
Add directory watcher to monitor egl_programdata folder for changes.
Clear known manifests when changing directory
Run egl_sync() after importing or exporting
Arrange Importable and Exportable lists vertically

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:32 +01:00
Stelios Tsampas d0c676d44a
Disable irrelevant widgets depending on case in EGLSync 2021-11-13 00:34:32 +01:00
Stelios Tsampas 6c916803c8
Emit textChanged signal at the end of __edit in IndicatorLineEdit.
Fix indicator being always green at startup.
Cleanup the syntax of the RareStyle stylesheet.
2021-11-13 00:34:31 +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 8e94f1d6f5
Fix wishlist, if empty 2021-11-07 01:19:37 +01:00
Stelios Tsampas fd30d07d33 Add SideTabWidget to unify tab on the side functionality
Adjust GameInfoTabs, UninstalledInfoTabs, SettingsTab
2021-10-11 20:42:59 +03:00
Dummerle c9b9ab6814 Fix some typing errors for python 3.8 2021-10-10 22:08:31 +02:00
Stelios Tsampas e029ceae99 Add minimum size for PathEdit despite horizontal size policy 2021-10-10 20:47:26 +03:00
Stelios Tsampas c1e750138f Add IndicatorLineEdit and base PathEdit on it. 2021-10-10 20:47:19 +03:00
Dummerle 3635ace3b5 Fix cut font in SideTabBar 2021-10-08 22:02:11 +02:00
Dummerle a143971385 Update Games list to ui file 2021-09-26 16:43:56 +02:00
Dummerle bb4f08691a Fix set locale to legendary locale + reformatting 2021-09-13 20:24:09 +02:00
Dummerle 152c1a326d Some fixes in shop: Images, try/except 2021-09-12 21:38:48 +02:00
Dummerle 18570511c4 Remove save button at PathEdit. Save on change 2021-09-09 20:00:12 +02:00
Dummerle f7f7f83101
Merge branch 'main' into dev 2021-09-04 22:49:08 +02:00
Dummerle b799241357 Fix Space bug in Icon layout; Remove config sections on uninstall; Remove unused Widget 2021-08-30 15:14:40 +02:00
Dummerle c2ae188745 Fix color of icons 2021-08-28 20:03:25 +02:00
Dummerle 83ad8f0982 Icon color depends on theme 2021-08-28 16:01:36 +02:00
Dummerle cc54474e75 Add Wishlist tab in store 2021-08-25 20:25:10 +02:00
Dummerle a63a46ded5 Fix some merge bugs 2021-08-23 16:55:21 +02:00
Dummerle c212904cc0
Merge branch 'shop' into update_shop 2021-08-22 22:43:08 +02:00
Dummerle df5da90292 New api core for store requests 2021-08-22 22:22:17 +02:00
Dummerle 59a7359e19 Set cache_dir and data_dir in one place (xdg) 2021-08-08 00:49:27 +02:00
Dummerle 983e80a4c6 Some optimizations 2021-08-07 23:42:40 +02:00