Commit Graph

11 Commits (a71eb9fb5e31e79cc85ab0db28a7be27a416b7e3)

Author SHA1 Message Date
Alex Huszagh a71eb9fb5e
Add example using QPalette for links. 2022-12-08 15:43:31 -06:00
Alex Huszagh 8d8fc68f63
Fix editable QAbstractView items.
Removes the padding on QLineEdit in QAbstractView items to prevent padding from concealing item text. Closes #69.
2022-11-18 17:41:30 -06:00
Alex Huszagh 934fc17623
Add example of branchless indicators. 2022-11-18 16:50:07 -06:00
Alex Huszagh 79988d236c Added numerous bug fixes for the title bar.
Noted numerous bugs for Wayland, and added a few wworkarounds.
Documented how even X11 mode in Wayland does not fully work.
2022-05-09 12:59:45 -05: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 3c7306469e Bug fixes for Qt6. 2022-05-07 12:34:49 -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 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 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 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