try declaring the destructor, the paintEvent and the draw method as "virtual"...
Current Qt projects : QCodeEdit, RotiDeCode
Forum Rules
Bookmarks