本页内容

Layouting::Canvas Class

class Layouting::Canvas

提供一个用于布局构建器的自定义绘制控件表面。更多...

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

详细说明

绘制函数通过 setPaintFunction() 设置,并在每次绘制事件中接收一个 `QPainter ` 引用。底层控件为 `CanvasWidget`。

另请参阅 Layouting::Widget 。

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.