Qt 6.11 is out! See what's new in the release
blog
How to display half of the number through QPainter?
-
I'm trying to display a number when moving the carriage without instantly losing it, like 160 is no longer included in the display and the whole number is searched.
I can output by numbers two, seven, zero, but half the number. I'm not sure what I can output.
output: lines QPainter.drawLine, numbers QPainter.drawText, triangle QPainter.drawPath

-
Hi,
To me what you describe is clipping. So you paint normally and the clipping rect limits what is shown.