tools/templates/pixlabel.h
author sheepluva
Thu, 28 Feb 2013 19:59:42 +0100
changeset 8600 39a31fecbc3d
parent 8442 535a00ca0d35
permissions -rw-r--r--
small update of german engine translation

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