Drawers: Some porting and fixes
Drawers: Normalize imports and import aliases
In particular, QtQuick.Window is now fully equivalent to just QtQuick.
Drawers: Clean up DrawerHandle
Rewrite expressions for better readability, use new JavaScript tricks, fix up qualified property accesses and port accidental context properties to local IDs.
Fixes a harmless but annoying nullable property access error of Overlay.
GlobalDrawer: Fix up header after recent porting
Amends 3ff11f82
Fixes #62 (closed)
GlobalDrawer: Stretch "Back" item's width
GlobalDrawer: Improve RTL icons, rework Open/Close Sidebar footer
Built-in property mirrored
is cheaper to query than creating an
attached object.
Footer now uses semantically correct icons, which are also adaptive to RTL, and its tooltip takes touch mode into account.
Drawers: Sort out handleVisible bindings
This is a cosmetic clean-up without functional changes.
GlobalDrawer: Improve Headings
Make them stretch and elide, instead of overflowing and clipping.
GlobalDrawer: Force leading-alignment in drawer's action items
This trick is copied from qqc2-desktop-style Label.qml, it ensures that text labels are right-aligned in RTL mode instead of following implicit default for a script of any given chunk of text.