tools/templates/pixlabel.h
author CopherNeue
Sun, 15 Jan 2017 19:35:41 -0500
changeset 12126 1dbdf05b01ee
parent 8442 535a00ca0d35
permissions -rw-r--r--
svg source for the bat animation update

#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);
};