1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00
Commit graph

6 commits

Author SHA1 Message Date
loathingKernel 379cbd2f89
Painter: Use QPalette.Window as background color 2024-02-24 02:22:25 +02:00
loathingKernel 0e4e7420cf
Refactor: Move ImageSize to models
`ImageSize` is a property of `ImageWidget` it is relevant to
`ImageManager` and the store widgets. So move it out of `ImageManager`.
2023-05-03 17:27:35 +03:00
loathingKernel 334e30dcc8
ImageWidget: Implement sizeHint() and minimumSizeHint()
Fixes inaccurate widget positioning
2023-04-01 00:53:00 +03:00
loathingKernel 95c2b07d1e
ImageWidget: Don't try to paint the widget if painter is not active yet.
When the UI is being instantiated we might trigger some painting. This
squashes warnings in the output.
2023-03-12 12:19:46 +02:00
loathingKernel f80c628995 ImageWidget: Clear widget if a null pixmap is set 2023-02-04 17:38:07 +02:00
loathingKernel 6335293eef Add ImageWidget and LibraryWidget from #196
Add the Image and Library widgets from #196. In this iteration they replace the image `QLabel` in the existing widgets.

The `PaintWidget` in the `InstallingWidget` has been replaced by the future `LibraryWidget` that has progress indication.

The `ImageWidget` was also used to replace the image `QLabel` in `GameInfo` and `GameDlc` widgets.

Signed-off-by: loathingKernel <142770+loathingKernel@users.noreply.github.com>
2022-06-19 20:42:49 +03:00