Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QComboBox draw custom popup



  • hey everyone,

    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 ?


Log in to reply