1
0
Fork 0
mirror of synced 2024-06-26 10:11:19 +12:00
Commit graph

22 commits

Author SHA1 Message Date
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 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 490f0dc69f
Shop: Rename module to store 2023-12-12 13:02:07 +02:00