Cleanup the StarDelegate example: - use QStyledItemDelegate instead QItemDelegate - use nullptr and other useful c++11 constructs - include the correct headers Change-Id: If2f65fe7cbdcdd4571d10ffa98d36eeab7836bbb Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Luca Beldi <v.ronin@yahoo.it> |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| stardelegate.cpp | ||
| stardelegate.h | ||
| stardelegate.pro | ||
| stareditor.cpp | ||
| stareditor.h | ||
| starrating.cpp | ||
| starrating.h | ||