tools/templates/pixlabel.h
author nemo
Mon, 25 Feb 2013 12:54:50 -0500
branchicegun
changeset 8576 286ebfcb3d97
parent 8442 535a00ca0d35
permissions -rw-r--r--
workaround for frequent AllHH active call in hedgehog step

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