wowlet/src/widgets/ccsprogressdelegate.h

24 lines
570 B
C
Raw Normal View History

// SPDX-License-Identifier: BSD-3-Clause
2020-12-26 19:56:06 +00:00
// Copyright (c) 2020-2021, The Monero Project.
2021-03-30 09:52:29 +00:00
#ifndef WOWLET_CSSPROGRESSDELEGATE_H
#define WOWLET_CSSPROGRESSDELEGATE_H
#include <QStyledItemDelegate>
#include "model/CCSModel.h"
class CCSProgressDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
explicit CCSProgressDelegate(CCSModel *model, QWidget *parent = nullptr);
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
private:
CCSModel *m_model;
};
2021-03-30 09:52:29 +00:00
#endif //WOWLET_CSSPROGRESSDELEGATE_H