tools/templates/pixlabel.h
author nemo
Thu, 18 Jul 2013 17:55:52 -0400
changeset 9360 fc805fc427a6
parent 8442 535a00ca0d35
permissions -rw-r--r--
typo fix

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