tools/templates/pixlabel.h
author nemo
Tue, 24 Dec 2013 09:53:08 -0500
changeset 9832 b1038b4373cc
parent 8442 535a00ca0d35
permissions -rw-r--r--
Localise tips again. Including new german contribution from bug #738. We should look into the old .ts files and see if there are translations that can be recovered.

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