Qt 5.11 | Qt Widgets | Star Delegate Example | stardelegate.pro Example File

Qt 5.11.3 Reference Documentation

# stardelegate.pro Example File

itemviews/stardelegate/stardelegate.pro

      QT += widgets
      requires(qtConfig(tablewidget))

      HEADERS       = stardelegate.h \
                      stareditor.h \
                      starrating.h
      SOURCES       = main.cpp \
                      stardelegate.cpp \
                      stareditor.cpp \
                      starrating.cpp

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