Added padding to properly pad text on the tab bar. Added negative
padding to avoid clipping the close button, without it overlapping with
the border. Added highlighting for the selected tav. Added
documentation for known bugs with padding south tabs, and color/outline
for selected tabs.
Closes#48.
Closes#50.
Update the overview description to simplify and better describe the
stylesheet overview. Update the testing documentation. Add a section for
plugins with links to the plugin code.
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.
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.
Fixes the QToolButton views for the QCalendarWidget, displaying the
desired behavior for both the month and year select. Also fixes the
icons for the QPrevNextCalButton (a subclass of QToolButton) to fix the
next and previous icons. Also, Qt6 now has the menu-arrow correctly
displayed.
Fixes#39.
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.
Ensures table sort indicator is present on the right, is always visible by clipping just the right amount of content, and fixes the padding issues with the tables before. If the sort indicator is not present, there is no clipping.
Closes#35.
Also patches the workaround for #31, by avoiding any hacks to get the desired behavior. Sets the `subcontrol-origin` to `margin` and `subcontrol-position` to `right`, and uses `::up-arrow` and `::down-arrow` subcontrols only when `showSortIndicator="true"`.
Closes#37.
Removed the `min-height` styles from `QToolButton[autoRaise="false"]` and `QToolButton[autoRaise="false"]:checked, QToolButton[autoRaise="false"]:pressed` to fix the issues with the clear text icon in #28. This does not affect the UI anyway, so has no downsides.
Fixes#28.
Fixes issues between the arrow placement in the `menu-arrow` and `menu-indicator` of a QToolButton, which was inconsistent between Qt5 and Qt6. Using `subcontrol-origin: content;` and then adjusting `padding-right: -1.11em;` fixes the issue.
Fixes#36.
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.
Added `--compiled-resource` flag, which can be used to invoke `pyrcc5`.
The `pyrcc5` executable can be controlled via the `PYRCC5` environment
variable or the `--pyrcc5` flag. Updated the documentation to reflect
this, including the default build scripts.
Provides `git.py`, which enables/disables the tracking of all files in `dist` via the `--track-dist` and `--no-track-dist` mutually exclusive options. This is done via modifying `.gitignore`, since `update-index assume-unchanged` can't handle directories. Therefore, `.gitignore` is automatically untracked. To track `.gitignore`, run `python git.py --track-gitignore`.
Closes#29.
- 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.