tools/templates/pixlabel.h
author sheepluva
Tue, 04 Jun 2013 11:47:07 +0200
branch0.9.19
changeset 9113 d8eb9dac2229
parent 8442 535a00ca0d35
permissions -rw-r--r--
adding some event-strings to german translation. most of these were suggested by Topf

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