mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-04 15:01:27 +03:00
Move source to src folder
This commit is contained in:
20
src/statusdot.h
Normal file
20
src/statusdot.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef STATUSDOT_H
|
||||
#define STATUSDOT_H
|
||||
|
||||
#include <QPainter>
|
||||
#include <QStyleOptionViewItem>
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
class StatusDot : public QStyledItemDelegate
|
||||
{
|
||||
public:
|
||||
StatusDot(QObject *parent = nullptr)
|
||||
: QStyledItemDelegate(parent)
|
||||
{}
|
||||
|
||||
void paint(QPainter *painter,
|
||||
const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user