tools/templates/pixlabel.h
author koda
Tue, 04 Jun 2013 16:09:05 +0200
branchicegun
changeset 8606 45f6c35ffd33
parent 8442 535a00ca0d35
permissions -rw-r--r--
close branch

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