tools/templates/pixlabel.h
author koda
Wed, 06 Mar 2013 12:18:42 +0100
changeset 8667 f93cc19d8b98
parent 8442 535a00ca0d35
permissions -rw-r--r--
comas and capitals

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