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

Customize items in QCombobox (not using QML)



  • yesterday i posted and asked question about how to customize items in combobox using QML,
    I overlooked (As i have 2 projects in QT, one uses QML and the other uses straight up QT widgets), the project that requires to customize the combobox item is NOT using QML.
    I want to achieve this look.

    e0d954c2-3229-4b79-9db9-8871f5bcbb75-image.png

    the combobox styling (circular with arrow) is doable using style sheet, what i want to achieve is each item with a delete/trash icon/button, and other widgets (the leftmost is our checkbox styling).

    How to acheive this using QT widgets and not using QML?


Log in to reply