gongjianbo / EasyQPainter

Various operation practices of Qt QPainter.(Qt QPainter的各种操作实践)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyQPainter

Various operation practices of Qt QPainter.(Qt QPainter 的各种操作实践)

I named this demo "What is QPainter".(我给这个 Demo 命名为 "何为 QPainter")

Environment (开发环境)

(2023-09-12)Win10 64bit + Qt5.15.2/Qt6.5.2 + MSVC2019/MSVC2022 64bit

Note (备注)

version compatible(版本兼容 2022-06-26)

There might be some incompatibility between different QT version header directives, please adjust includes based on your QT SDK version. (版本之间可能有些接口不兼容,或者头文件变动,请自行调整)

如:低版本升级到 Qt5.15 上需要显式引入 QPainterPath;QWheelEvent pos() 需改用 position(),delta() 需改用 angleDelta();QFontMetrics width() 需改用 horizontalAdvance() 等...

Demo Show (展示)

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2021-12-26

2023-09-12

About

Various operation practices of Qt QPainter.(Qt QPainter的各种操作实践)

License:MIT License


Languages

Language:C++ 98.6%Language:QMake 1.1%Language:C 0.2%