Martchus
69ffaeb1f3
The behavior of clang-format slightly changed in Clang 5.0.0: http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
23 lines
482 B
C++
23 lines
482 B
C++
#ifndef DEVBUTTONSITEMDELEGATE_H
|
|
#define DEVBUTTONSITEMDELEGATE_H
|
|
|
|
#include <QPixmap>
|
|
#include <QStyledItemDelegate>
|
|
|
|
namespace QtGui {
|
|
|
|
class DevButtonsItemDelegate : public QStyledItemDelegate {
|
|
Q_OBJECT
|
|
public:
|
|
DevButtonsItemDelegate(QObject *parent);
|
|
|
|
void paint(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const;
|
|
|
|
private:
|
|
const QPixmap m_pauseIcon;
|
|
const QPixmap m_resumeIcon;
|
|
};
|
|
} // namespace QtGui
|
|
|
|
#endif // DEVBUTTONSITEMDELEGATE_H
|