Quote Originally Posted by wesley View Post
how can i pass a custom parameter to a paint event
QPaintEvent doesn't have any flags field or anything you could use to do that. You could try to subclass QPaintEvent and then use dynamic_cast, but that might not be reliable.