Hi, firstly i'm newbie in this forum (and in Qt, hehe) and I have an ask:
I have an Widget:
Attachment 8564
Whats I need make to draw with mouse in this area?
Like it:
Attachment 8566
Thanks and hugs! ;)
Printable View
Hi, firstly i'm newbie in this forum (and in Qt, hehe) and I have an ask:
I have an Widget:
Attachment 8564
Whats I need make to draw with mouse in this area?
Like it:
Attachment 8566
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 :)