Combobox filters?

  • This post is deleted!

  • Image doesn't work so I don't know about the specific issue.

    Normally this is achieved separating the model from the QComboBox and putting a QSortFilterProxyModel in-between the two

  • This post is deleted!

    • separate QTreeWidget in a QTreeView and a QStandardItemModel.
    • create a QSortFilterProxyModel and set the QStandardItemModel as its suorce model
    • connect currentTextChanged from the combobox to setFilterFixedString of QSortFilterProxyModel

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.