Commit Graph

5 Commits (0ce688bf40f7c8345a86273b73d6cd89d3ff65c3)

Author SHA1 Message Date
Alex Huszagh 78b65c217d Refactor test suite to use shared definitions.
Import shared definitions from `/example`, and remove numerous forms of redundant code, including compatibility definitions. Also, fix a few minor issues with dialogs being too small in the test suites.
2022-05-03 15:46:42 -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
Alex Huszagh cc504bf73a Added example of styling QSlider ticks.
Added references to bugs with QSlider tick styling with stylesheets,
along with example workarounds.

Closes #43.
2022-04-30 15:28:39 -05:00
Alex Huszagh 52686dd40c Added example workaround for placeholder text.
Added an example PyQt6 application with a workaround to attempt to fix
the placeholder text color issues, which further supports the idea that
it is a Qt bug, and not a stylesheet issue.

Using `QtGui.QPalette.ColorRole.PlaceholderText`, we are able to modify
the placeholder text color in Qt5, but not in Qt6.

Closes #41.
Closes #44.
2022-04-30 14:26:01 -05:00