syncthingtray/tray/gui/devbuttonsitemdelegate.h

19 lines
431 B
C
Raw Normal View History

2016-08-26 16:43:53 +02:00
#ifndef DEVBUTTONSITEMDELEGATE_H
#define DEVBUTTONSITEMDELEGATE_H
2018-06-05 22:48:18 +02:00
#include <QStyleOptionViewItem>
2017-05-01 03:34:43 +02:00
#include <QStyledItemDelegate>
2016-08-26 16:43:53 +02:00
namespace QtGui {
2017-05-01 03:34:43 +02:00
class DevButtonsItemDelegate : public QStyledItemDelegate {
2016-08-26 16:43:53 +02:00
Q_OBJECT
public:
DevButtonsItemDelegate(QObject *parent);
2018-10-10 21:26:46 +02:00
void paint(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const override;
2016-08-26 16:43:53 +02:00
};
} // namespace QtGui
2016-08-26 16:43:53 +02:00
#endif // DEVBUTTONSITEMDELEGATE_H