1
0
Fork 0
mirror of synced 2024-06-02 18:54:41 +12:00
Commit graph

46 commits

Author SHA1 Message Date
loathingKernel 1fab13fd92
Store: Fix rebase errors 2024-02-25 21:35:44 +02:00
loathingKernel 6cfec6c718
Style: Update Rare colorscheme and remove some styling from WrapperSettings widget 2024-02-24 02:41:05 +02:00
loathingKernel 8a421b08f8
Stylesheets: set minimum height in ex 2024-02-23 10:47:31 +02:00
loathingKernel e8e39fa391
Stylesheets: Remove padding from progressbar 2024-02-23 00:02:15 +02:00
loathingKernel 49c06aef79
RareStyle: Use px instead of em 2024-02-22 21:22:28 +02:00
loathingKernel d397912247
StyleSheets: Fix padding in QLineEdits used is Table/Tree/ListViews 2024-02-22 17:12:51 +02:00
loathingKernel 5bf353ec37
Rare: Replace QToolButton with QPushButton
QToolButton is not really designed to be used in the way we did and since
QPushButton supports having a menu attached to, we can replace tool buttons
in most cases.

* Fix the presentation of the TabButtonWidget by updating RareStyle's css

* Reduce the size of the top tab bar to save vertical space.

* Remove infoLabel property
2024-02-21 20:25:03 +02:00
loathingKernel 40e5aacd68 RareStyle: Add proper disabled colors for wrappers widget 2023-12-25 14:56:23 +02:00
loathingKernel 536078748b
WrapperWidget: Use a drop-down menu to hold actions. 2023-11-28 16:38:01 +02:00
loathingKernel 1dd8856a29 Resources: Add static stylesheet for widgets that need special handling irregardless of theme
The static stylesheet properties are always applied. If there is a theme
stylesheet to be applied, they are appended in the end of the theme
stylesheet.

This removes stylesheet properties from the library widgets, some special
buttons and the queue worker labels.

To update the static stylesheet first edit `rare/resources/static_css/stylesheet.py`
and then execute it as a script.
2023-03-02 15:36:45 +02:00
loathingKernel 5752fefb77 RareStyle: Add border around install/uninstall buttons 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 9e077f74ed Stylesheets: Refactor css widget selectors based on objectName()
The `objectName()` of onstall and uninstall buttons should be set
to `InstallButton` and `UninstallButton` respectively for them to
pick up their special CSS properties.

Make QToolBox tab text bold

Clean-up deprecated widget object names in the CSS
2023-02-04 17:38:07 +02:00
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
Dummerle 4cfe2bf336 merge branches 2021-08-16 22:50:31 +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