Commit Graph

4 Commits (69d2e7476428216e66143ff7b5c99553d7a2784f)

Author SHA1 Message Date
Alex Huszagh 9ade91d4da Update issues on Windows. 2022-05-09 19:15:10 -05: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 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