tools/templates/pixlabel.h
author nemo
Sun, 24 Nov 2013 22:11:55 -0500
changeset 9714 54d756b6dbb1
parent 8442 535a00ca0d35
permissions -rw-r--r--
fix tag toggling. I think...

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