tools/templates/pixlabel.h
author sheepluva
Tue, 17 Jun 2014 00:41:49 +0200
changeset 10317 fe2721f870ab
parent 8442 535a00ca0d35
permissions -rw-r--r--
adding some arrow

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