WindowWatermark
The watermark window-feature (§ACW-8 slice 2).
| Inherits | QObject |
In the namespace octomy::window. Declared in src/libs/libwindow/window/WindowWatermark.hpp.
Detailed description
Paints an SVG in the top-left corner of a window, scaled to the window and behind its children. NodeWindow painted the watermark of its node type in its own paintEvent(). A window that composes this feature needs no paintEvent() of its own for it.
The feature filters the paint events of the host and paints before the host's own handler, so it works for any QWidget. The rendered SVG is kept in a cache, in device pixels, and rendered again only when the host's size changes by more than a tenth.
Note: §ACF-5 classification: **GLUE**. No lifecycle tier, no Node.