Commit Graph

16 Commits (027f56d83054749c45a3de144cc81f2dbce88175)

Author SHA1 Message Date
Alex Huszagh a91550bad1 Added more widgets to sample UI. 2022-05-02 22:15:56 -05:00
Alex Huszagh cc3a7ef472 Documented QDial stylesheet issues.
Added `QDial` styling to known issues, and added a drop-in replacement for `QDial` (subclassing it) that consistently styles over all platforms and application styles.

Closes #42.
2022-05-02 13:28:37 -05:00
Alex Huszagh d6c6f65a55 Update titlebar close icon. 2022-05-01 01:58:14 -05:00
Alex Huszagh 1bcde40657 Fix file dialog and browser icons for lower resoluton displays. 2022-05-01 01:18:31 -05:00
Alex Huszagh d6537888e7 Provide a complete standard icon set.
Provides pixmaps for all Qt standard icons, as an extension, with
descriptions on how to use QCommonStyle to override the default standard
icons. This provides a consistent look and feel on all apps.
2022-04-30 22:33:04 -05:00
Alex Huszagh eac6429258 Add more standard icons to example.
Separate overwritten and non-overwritten icons so it's easier to
describe the icons.
2022-04-30 17:10:33 -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
Alex Huszagh aeb45a3e91 Added example for #38. 2022-04-29 11:52:10 -05:00
Alex Huszagh 0e3d5150c1 Add example of overwriting standard icons.
Added `example/standard_icons.py` which subclasses `QCommonStyle` to
override standard icons, while keeping the default style. This respects
the stylesheet, while allowing custom standard icons. Added this example
to the documentation.

Closes #33.
2022-04-29 11:40:45 -05:00
Alex Huszagh 047d5cc984 Use better icons for the examples and tests. 2022-04-28 12:57:05 -05:00
Alex Huszagh db1019ddd8 Bug fixes for QToolButton
Fixed styles for auto-raised QToolButtons. Also added fixes for standard icons in test suites, to ensure they work in Qt5 and Qt6. Added auto-raised icons to `example/widgets.py`.

Closes #22.
2022-04-28 10:56:39 -05:00
Alex Huszagh ae5956fc0c Update build file locations.
- Move all built files to `dist/`.
- Update `configure.py` to allow building both QRC and PyQt6-based
resources.
- Update test suites and example widgets for new resource locations.
- Update README and install documentation for new resource locations.

Fixes #30.
2022-04-27 12:35:35 -05:00
Alex Huszagh 228009860b Added comprehensive support for the Advance Docking System. 2021-07-20 17:09:57 -05:00
Alex Huszagh 37e1e0c063 Added initial support for extensions and UI fixes.
- Renamed icons with `-` to `_`.
- Added initial support for the Advanced Docking System.
- Added extension for QDockWidget tooltips.
- Bug fixes for QTabWidget.
- Bug fixes for the separator in the QDockWidget.
2021-07-20 13:48:42 -05:00
Alex Huszagh 458fb583dc Tenative commit to debug AdvancedDockingSystem. 2021-07-19 13:25:51 -05:00