| 39 | } |
| 40 | |
| 41 | static QIcon::State IconState(QStyle::State state) |
| 42 | { |
| 43 | return (state & QStyle::State_Open) ? QIcon::On : QIcon::Off; |
| 44 | } |
| 45 | |
| 46 | void ProjectModelItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opt, const QModelIndex& index) const |
| 47 | { |