Commit Graph

13 Commits (main)

Author SHA1 Message Date
Alex Huszagh a71eb9fb5e
Add example using QPalette for links. 2022-12-08 15:43:31 -06:00
Alex Huszagh 4733652dd5 Updated titlebar options and top-level titlebar.
Fixed bugs with SizeFrame. Ensure that the resize does not go past screen/area boundaries. Also ensure that the widget does not jump, by ensuring we have a local and not global rect. We also fixed that if the resize goes below the minimum size values of the widget, we don't drag the widget.

Added top-level titlebar. This has been tested to work on X11 (with numerous workarounds), and has various tricks to set window flags without hiding and re-showing the window.

Fixed bugs with the menu size event. Properly keep the override cursor outside the application boundaries, and handle clicks outside as well. It also limits the resizing to the current MDI area's bounds.

Still need to provide fixes for moving/resizing windows on Wayland.
2022-05-07 22:39:19 -05:00
Alex Huszagh 53be089f6a Added workaround for QLCDNumber.
Added example workaround for QLCDNumber, along with an explanation of
the issues styling the LCD number by default with stylesheets.
2022-05-07 12:15:49 -05:00
Alex Huszagh 228f515285 Add standard icon override image to ISSUES.md 2022-05-07 10:53:42 -05:00
Alex Huszagh c5e548df98 Add screenshots to issue workarounds.
Added screenshots to demonstrate custom dials, whats this, and title
bars.
2022-05-07 10:36:58 -05:00
Alex Huszagh 4698e92df3 Add titlebar customization issues and workarounds.
Add QMdiSubWindow titlebar customization issues, including title bar
icons, to ISSUES.md, and add a working example of a custom title bar.
This is a full-featured, drop-in replacement that could also be modified
for use in a QMainWindow or QDialog settings.

Closes #63.
2022-05-07 01:59:55 -05:00
Alex Huszagh f46df07615 Rename all instances of plugins to extensions. 2022-05-03 17:33:08 -05:00
Alex Huszagh 7d28a38927 Document inability to modify QWizard::AeroStyle colors.
Add `QWizard::AeroStyle` to known issues, and document how the values
are hard-coded and the solution: just don't use `AeroStyle`.

Closes #61.
2022-05-03 17:19:27 -05:00
Alex Huszagh 652f4a46bf Fix links in ISSUES.md 2022-05-03 17:02:13 -05:00
Alex Huszagh d006be8949 Added QWhatsThis to known issues.
Created sample workaround in `example/whatsthis.py`, showing how to
style the `QWhatsThis` widget using `QPalette`, and added a workaround
description to `ISSUES.md`.

Closes #59.
2022-05-03 16:59:41 -05:00
Alex Huszagh 0ce688bf40 Document workarounds for link colors.
You cannot modify the default link color in a stylesheet, so document
the 2 ways to modify the link color via either the `style` atttibute of
the `a` tag, or using the `QPalette:Link` color role.

Closes #58.
2022-05-03 16:01:17 -05:00
Alex Huszagh 48bd6fb47d Refactor examples.
Add shared code between the examples, to reduce the amount of
boilerplate used in each example. Includes shared colors, Qt5/Qt6 compat
definitions, argparsers, and app startup/exec code.
2022-05-03 12:43:49 -05:00
Alex Huszagh 7117f45ef8 Added standalone issues documentation.
Create a standalone file documenting limitations and issues with
stylesheets, and providing code samples and workarounds for these
issues.
2022-05-03 10:44:26 -05:00