Hi.
I would really like to find simple examples with drawing in Qt.
For example, how do I write a program that has only one button in the MainWidget and then draws 3 random lines on the MainWidget when the button is pressed?
Hi.
I would really like to find simple examples with drawing in Qt.
For example, how do I write a program that has only one button in the MainWidget and then draws 3 random lines on the MainWidget when the button is pressed?
did you check the qt examples?
...and QPainter::drawLine()![]()
a life without programming is like an empty bottle![]()
Bookmarks