tools/templates/pixlabel.h
author nemo
Mon, 23 Dec 2013 13:51:51 -0500
changeset 9828 75457c7b84ee
parent 8442 535a00ca0d35
permissions -rw-r--r--
merge of volkan's commit followed by lupdate to pick up the new strings

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