Hi, firstly i'm newbie in this forum (and in Qt, hehe) and I have an ask:
I have an Widget:
becefaaa71a34e879c23491.png
Whats I need make to draw with mouse in this area?
Like it:
1i3tq.png
Thanks and hugs!
Hi, firstly i'm newbie in this forum (and in Qt, hehe) and I have an ask:
I have an Widget:
becefaaa71a34e879c23491.png
Whats I need make to draw with mouse in this area?
Like it:
1i3tq.png
Thanks and hugs!
Nice. I don't want to discourage you, but that will take some time (for a newbie). You need to understand at-least the following concepts of Qt, to start working on such a thing. Note that there are more than couple of ways to do it, anyway one should understand these.
Just see how much you score.
1. QWidget/QObject Subclassing
2. QWidget Custom Painting
3. QObject Event Handling
4. QWidget Mouse Event Handling
5. QPainter basic usage
Don't you think MS-Paint is easier
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Niunzin (8th January 2013)
Bookmarks