customsortfiltermodel.pro Example File | Qt Widgets 5.12.11

- Qt 5.12
- Qt Widgets
- Custom Sort/Filter Model Example
- customsortfiltermodel.pro Example File
- Qt 5.12.11 Reference Documentation

# customsortfiltermodel.pro Example File

itemviews/customsortfiltermodel/customsortfiltermodel.pro

     QT += widgets
     requires(qtConfig(treeview))

     HEADERS     = mysortfilterproxymodel.h \
                   window.h \
                   filterwidget.h
     SOURCES     = main.cpp \
                   mysortfilterproxymodel.cpp \
                   window.cpp \
                   filterwidget.cpp

     RESOURCES +=  customsortfiltermodel.qrc

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/customsortfiltermodel
     INSTALLS += target