tools/templates/pixlabel.h
author Wuzzy <almikes@aol.com>
Sun, 20 Nov 2016 00:40:20 +0100
changeset 11960 c933f2257020
parent 8442 535a00ca0d35
permissions -rw-r--r--
Update changelog about campaign screen check marks

#include <QLabel>
#include <QRect>
#include <QList>
#include <QMouseEvent>

class PixLabel : public QLabel
{
    Q_OBJECT

public:

    PixLabel();
    QList<QRect> rects;

public slots:
    void AddRect();

private:
    void paintEvent(QPaintEvent * event);
    void mousePressEvent(QMouseEvent * e);
};