Layouting::Canvas Class

class Layouting::Canvas

Provides a custom-painted widget surface for use in a Layouting builder. More...

Header: #include <Canvas>
Inherits: Layouting::Widget

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.