tools/templates/pixlabel.h
author sheepluva
Mon, 14 Mar 2016 14:38:23 +0100
changeset 11604 4df32636a4b2
parent 8442 535a00ca0d35
permissions -rw-r--r--
german translation: fix error due to confusion of plural "you" with singular "you"

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