Originally Posted by anda_skoa You are drawing on "this". Is "this" an object of a class that is a QPaintDevice? Any specific reason for the event filter hack instead of implementing the event handling in the scene? Cheers, _ "this" is "class QTGraphicsShape : public QMainWindow" The reason I use event filter is that my drawing feature is only activated when I click certain button. Is it unnecessary in this case?
View Tag Cloud
Forum Rules
Bookmarks