tools/templates/pixlabel.h
author sheepluva
Sun, 14 Apr 2013 12:11:02 +0200
branch0.9.19
changeset 8879 9cc6d672df75
parent 8442 535a00ca0d35
permissions -rw-r--r--
cleaning up nemo's mess :P ( re3407eef6b5474b2a3ea49ea49e354dc05144005 )

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