File indexing completed on 2022-09-27 13:19:30

0001 /*
0002     SPDX-FileCopyrightText: 2006 Matthew Williams <matt@milliams.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef THEMEGRAPHICSITEMS_H
0008 #define THEMEGRAPHICSITEMS_H
0009 
0010 #include <QGraphicsRectItem>
0011 
0012 /**
0013  * @short Themable QGraphicsItem for completed squares
0014  *
0015  * @author Matt Williams <matt@milliams.com>
0016  */
0017 
0018 class KSquaresSquareItem : public QGraphicsRectItem
0019 {
0020 public:
0021     explicit KSquaresSquareItem(QGraphicsItem *parent = nullptr);
0022     ~KSquaresSquareItem() override;
0023 
0024     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override;
0025 };
0026 
0027 #endif // THEMEGRAPHICSITEMS_H