Important: Please read the Qt Code of Conduct -

SetCustomHighlighting in QT5

  • Hi,
    I'm migrating old Qt3 code to Qt5. Currently I'm working on an implemtation that was based on QListBoxItem.

    So far I have changed the code to use QListWidgetItem instead of QListBoxItem.
    The QListBoxItem used to have the method setCustomHighlighting(bool). This method was moved to the support class, which I try to avoid.

    Is there a good replacement for the Q3ListBoxItem::setCustomHighlighting(bool) in Qt5?

Log in to reply