1
0
Fork 0
mirror of synced 2024-09-19 19:07:51 +12:00
Commit graph

1041 commits

Author SHA1 Message Date
loathingKernel
42a799c7bc LibraryHeadBar: Fix LibraryFilter always reverting to default at start. 2024-05-25 08:50:05 +03:00
loathingKernel
f020b0ae39 SelectViewWidget: Move it next to GameListHeadBar
Finally delete extra_widgets, finally!
2024-05-20 17:15:42 +03:00
loathingKernel
c216689aaf ButtonLineEdit: Move into its own file under rare/widgets 2024-05-20 17:02:50 +03:00
loathingKernel
e0a0c7ee5d DiscordRPC: Fix Rare not updating message when running a game 2024-05-20 16:03:47 +03:00
loathingKernel
125709b53b Rare: Refactor Discord RPC file, object and variable names 2024-05-20 14:36:43 +03:00
loathingKernel
0ac4cf5a7c LaunchSettingsBase: Use shlex.split validate the pre-launch command 2024-05-18 18:16:51 +03:00
loathingKernel
95e760791b DetailsWidget: Rename to StoreDetailsWidget
In continuation of the previous change, prepend `Store` to the name to
specify the difference.

The goal is to add `StoreDetailsWidget` as a second view in `GameDetails`
with information sourced from the Epic Games Store.
2024-05-17 13:34:24 +03:00
loathingKernel
fec4e3c0e1 GameDetails: Refactor file structure
`GameInfo` has been renamed to `GameDetails` to align it with
the similar `StoreDetails` page while making the difference clearer.

Remove the `game_` prefix from the file names to reduce noise. The path
should be enough to provide scope.
2024-05-17 13:31:48 +03:00
loathingKernel
f9cc1b48f1 GameSettings: Fix pylint errors (possibly-used-before-assignment) 2024-05-16 19:27:59 +03:00
loathingKernel
9017826b16 StoreAPI: Log exception 2024-05-16 13:58:59 +03:00
loathingKernel
8ebcc3a700 LoadingWidget: Start playing movie once the widget is visible if autostart is enabled
Fixes a subtle bug that would cause increased CPU usage due to spawning
multiple singleshot times with very short timeouts (15ms) until the Store
tab was loaded.
2024-05-15 22:48:52 +03:00
loathingKernel
14bde0a23c
WishlistWidget: re-order comboboxes to match the order in the library
* Move filter combobox at the beginning of the top panel and move the order
combobox after it to replicate the order in the library view.
2024-02-25 21:35:45 +02:00
loathingKernel
89340f331b
StoreAPI: comment unused and erroneous code 2024-02-25 21:35:45 +02:00
loathingKernel
fb0d5bbe10
Store: Fix various wishlist issues.
* Use horizontal scrollarea for free games. Based on the same idea as
WrapperSettings scrollarea. Both need some adjustments.

* Remove debugging dialogs. Need a better way anyways to debug.
2024-02-25 21:35:45 +02:00
loathingKernel
766557924a
Store: Unset autoFillBackground for some scrollareas 2024-02-25 21:35:45 +02:00
loathingKernel
1fab13fd92
Store: Fix rebase errors 2024-02-25 21:35:44 +02:00
loathingKernel
7a2a6458ed
Store: Update details page 2024-02-25 21:35:44 +02:00
loathingKernel
9ec349e2d1
WIP 2024-02-25 21:35:44 +02:00
loathingKernel
2a2458bacb
Store: Update details page
* Add a big back button in details page.

* Add static CSS to render QPushButtons as flat when the `flat` property is set

* Remove outer scroll areas from details page since the page is already adjustable

* Remove scroll area from the requirements widget because ElideLabels are already used in it.

* Fix crash when sorting the wishlist
2024-02-25 21:35:44 +02:00
loathingKernel
816c5f3de9
Store: adapt image sized 2024-02-25 21:35:44 +02:00
loathingKernel
b4a26b5932
Store: Finalize store design 2024-02-25 21:35:43 +02:00
loathingKernel
fda82b17cf
Shop: Use a single QGridLayout instead of left and right VBoxLayouts 2024-02-25 21:35:43 +02:00
loathingKernel
91af16b76d
Store: Exploratory changes for GraphQL API 2024-02-25 21:35:43 +02:00
loathingKernel
f6396f488a
Store: Exploratory changes to the store page
Important changes:
* Refactored QtRequests to accept parameters for `GET` operations
* Infer response data type from content-type header
* Support caching to disk, a manager with this set prefers the cache
* Support multiple handlers for a single request (unused, possibly pointeless)

* Subclass `ShopImageWidget` for all widgets used in the shop
* Request a resized image instead of the original one
* Fix the search and browse functions
2024-02-25 21:35:43 +02:00
loathingKernel
7246078df3
ShopGameInfo: Design it to me similar to GameInfo 2024-02-25 21:35:43 +02:00
loathingKernel
247b2c947a
ShopImageWidget: Design it to me similar to IconGameWidget 2024-02-25 21:35:43 +02:00
loathingKernel
b6458b1bfc
SearchResultItem: Use ShopImageWidget as a base 2024-02-25 21:35:42 +02:00
loathingKernel
d76fc2b68b
ShopWidget: Fix layouting again 2024-02-25 21:35:42 +02:00
loathingKernel
2db34324af
ShopWidget: Cleanup shop layout 2024-02-25 21:35:42 +02:00
loathingKernel
b812e38fb8
Wishlist: Remove embedded title 2024-02-25 21:35:42 +02:00
loathingKernel
d3b591952f
Store: Use ElideLabel for requirements 2024-02-25 21:35:42 +02:00
loathingKernel
6b15c0f2cf
Store: Clean up store UI by using library widgets 2024-02-25 21:35:41 +02:00
loathingKernel
1c578e354e
HeadBar: Fix commented code 2024-02-25 15:35:34 +02:00
loathingKernel
7b810173da
Downloads: unset autoFillBackground for queue scrollarea 2024-02-24 13:56:15 +02:00
loathingKernel
e50015c25c
WrapperSettings: Improve widget structure
* Remove the annoying stacked widget, instead create a double layout in
the container and place a label in that to hold the placeholder message.

* Implement the scroll area as a custom widget. This custom widget installs
an event filter on the container to adjust the scrollarea size when the
container size changes.
2024-02-24 13:11:28 +02:00
loathingKernel
2e8dcc49ca
Settings: Translate titles 2024-02-24 02:25:47 +02:00
loathingKernel
379cbd2f89
Painter: Use QPalette.Window as background color 2024-02-24 02:22:25 +02:00
loathingKernel
ae69413ddb
InstallDialog: Remove inline stylesheet, adjust the font. 2024-02-24 01:51:45 +02:00
loathingKernel
980bac5c4e
LaunchSettings: Fix browsing the wrong directory if override exe is set
The dialog would default to CWD because the contents of the line edit
where not an absolute path.
2024-02-22 17:26:38 +02:00
loathingKernel
243b92248e
MainTabWidget: Remove icon from account tab 2024-02-21 20:55:10 +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
8dbce8e9f2
Rare: rename icon function to qta_icon 2024-02-21 13:30:41 +02:00
loathingKernel
f542e11b25
HeadBar: better alignment to center 2024-02-20 13:41:47 +02:00
loathingKernel
5b217e0b15
Overlay: remove print statements 2024-02-18 12:54:24 +02:00
loathingKernel
d16b3d5d68
Runners: rename proton to steam 2024-02-18 12:50:35 +02:00
loathingKernel
68ea7b9ca1
Merge branch 'develop' of github.com:loathingKernel/Rare into develop 2024-02-17 19:00:33 +02:00
Stelios Tsampas
db3cf68d19 LaunchSettings: Work around path separator difference on Windows 2024-02-17 18:38:29 +02:00
loathingKernel
5359b73c35
Settings: Use membership instead of double inheritance 2024-02-16 13:03:27 +02:00
loathingKernel
e776ed457a
WineSettings: Order executable before prefix 2024-02-16 12:27:06 +02:00
loathingKernel
582b83c12b WIP 2024-02-12 21:52:08 +02:00