Star Delegate Example | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Star Delegate Example

Qt 5.13.0 Reference Documentation

# Star Delegate Example

      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