syncthingtray/tray/gui/dirbuttonsitemdelegate.h

18 lines
399 B
C
Raw Normal View History

2016-08-25 00:45:32 +02:00
#ifndef DIRBUTTONSITEMDELEGATE_H
#define DIRBUTTONSITEMDELEGATE_H
2017-05-01 03:34:43 +02:00
#include <QStyledItemDelegate>
2016-08-25 00:45:32 +02:00
namespace QtGui {
2017-05-01 03:34:43 +02:00
class DirButtonsItemDelegate : public QStyledItemDelegate {
2016-08-25 00:45:32 +02:00
Q_OBJECT
public:
DirButtonsItemDelegate(QObject *parent);
2018-10-10 21:26:46 +02:00
void paint(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const override;
2016-08-25 00:45:32 +02:00
};
} // namespace QtGui
2016-08-25 00:45:32 +02:00
#endif // DIRBUTTONSITEMDELEGATE_H