Layouting::Canvas Class
class Layouting::CanvasProvides a custom-painted widget surface for use in a Layouting builder. More...
| Header: | #include <layoutbuilder.h> |
| Inherits: | Layouting::Widget |
Public Functions
| Canvas() |
Detailed Description
The paint function is set via setPaintFunction() and receives a QPainter reference on each paint event. The underlying widget is a CanvasWidget.
See also Layouting::Widget.
Member Function Documentation
[noexcept default] Canvas::Canvas()
Default-constructs an instance of Canvas.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.