QComboBox draw custom popup
im pretty new into qt development. My goal is to draw a custom QComboBox. So i subclassed QComboBox and reimplemented the paintEvent method. So far so good works perfectly as i want.
Now i want to draw the popup also by myself. I already tried to subclass QListView, reimplement the paintEvent and set it as view of my QComboBox. But it seems like the only section i can draw in the QListView is the viewport which is inside the popup rectangle.
Is there a way to draw the complete popup by myself ?