tools/templates/pixlabel.h
author nemo
Fri, 08 Feb 2013 21:22:11 -0500
changeset 8473 555235e90010
parent 8442 535a00ca0d35
permissions -rw-r--r--
this should not be exposed

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