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.