1
0
Fork 0
mirror of synced 2024-06-17 18:14:44 +12:00
Commit graph

32 commits

Author SHA1 Message Date
loathingKernel ae43fd7ea3 StyleSheets: Apply padding to QGroupBox 2022-10-29 14:50:18 +03:00
loathingKernel eae2bdaa8a StyleSheets: Add padding to checkable QGroupBox to align it 2022-10-29 14:50:18 +03:00
loathingKernel 47b474a31a StyleSheets: Remove last use of custom noBorder property
Instead, use `QFrame.NoFrame` as `FrameShape` to set `0px` border width.
2022-10-29 14:50:18 +03:00
loathingKernel 99f3303db1 Resources: Split stylesheets from base resources
Stylesheets: Each stylesheet specifies its own resources file

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-19 00:01:56 +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 0718753e3f Wrappers: Make widgets and the scrollarea smaller, adjust size on scrollbar visibility 2022-03-19 17:51:06 +02:00
Stelios Tsampas 9b5b54929d RareStyle: Update QProgressBar and QScrollBar
RareStyle: Add QToolBox style
RareStyle: Add comment section with information about the colors
2022-03-14 20:52:49 +02:00
Dummerle c425775f28
Update to new QResource system 2021-12-09 21:59:07 +01:00
Stelios Tsampas 75d46a6370
MainWindow: Add statusbar 2021-12-04 18:55:45 +02:00
Stelios Tsampas 35ec540cd1
RareStyle: Remove background gradient between tabs 2021-11-21 18:39:54 +02: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
Stelios Tsampas 61a372c438
RareStyle: Updated QTabBar style
Quoted image urls to escape silly path names.
Reduced the height of some widgets.
2021-11-21 17:18:36 +02:00
Stelios Tsampas f23db2e3d3
RareStyle: Use em instead of ex because Windows. 2021-11-21 17:18:36 +02:00
Stelios Tsampas f3f9fa3e1d
RareStyle: Specify widget size in ex, not px.
Make QComboBox look like a button, and editable QComboBox like a QLineEdit.
Make disabled widgets more distinguishable.
2021-11-13 00:34:35 +01:00
Stelios Tsampas 1fbddb2611
RareStyle: Fix QGroupBox title for Linux and Windows. 2021-11-13 00:34:35 +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 7cbcfe09a3
Enable/Disable export/import buttons based on selection
Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:33 +01:00
Stelios Tsampas 458e233327
Rename ImportSync files to indicate what the underlying widget is.
Split Import/Export lists to separate widgets to reduce code duplication.

Signed-off-by: Stelios Tsampas <loathingkernel@gmail.com>
2021-11-13 00:34:32 +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 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
Stelios Tsampas c1e750138f Add IndicatorLineEdit and base PathEdit on it. 2021-10-10 20:47:19 +03:00
Dummerle 272e72a8dd Merge branch 'main' of github.com:Dummerle/Rare 2021-10-07 19:44:47 +02:00
Dummerle 3796db83c1 Fix updates; Fix dlc tab; Fix Game list update 2021-10-07 19:42:27 +02:00
Stelios Tsampas 3a7ebd6aee CSS changes 2021-10-04 23:44:38 +03: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
Stelios Tsampas 6fe9854353 Adjust PR #87 2021-07-02 12:48:05 +03:00
Stelios Tsampas 8f5040e0ca Adjust QFrame border-radius. Use html codes for all colors. 2021-06-24 20:08:22 +03: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 e8dadb6b00 Update the RareStyle to handle radiobutton, disabled widgets, etc.
* Add RareStyle qrc with the icons needed for comboboxes and spinboxes
* Add images as svg
* Refactor `styles` to `resources` since it contains more things now.
* Add stylesheet folders, each folder must contain a `stylesheet.qss` file.
* Don't use QResources, instead add an identifier in the qss url() which can
  replaced later with the full path.
* Update RareStyle with SVG images for better quality.
2021-06-24 20:08:04 +03:00