mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-29 16:10:53 +03:00
Move headers to an include folder
This commit is contained in:
17
include/statusdot.h
Normal file
17
include/statusdot.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user