tools/templates/pixlabel.h
author koda
Fri, 22 Mar 2013 14:34:11 +0100
changeset 8769 2bf8919746e7
parent 8442 535a00ca0d35
permissions -rw-r--r--
adding jaree to credits

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