tools/templates/pixlabel.h
author nemo
Thu, 13 Feb 2014 14:12:04 -0500
changeset 10136 f0da90f58c98
parent 8442 535a00ca0d35
permissions -rw-r--r--
pngcrush on this file which will hopefully be cleaned up at some point

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