tools/templates/pixlabel.h
author nemo
Wed, 06 Mar 2013 19:50:25 -0500
changeset 8681 d0fc1dca739c
parent 8442 535a00ca0d35
permissions -rw-r--r--
yeah. this was a bad idea. the minor difference in thaw speed vs last hog of team never unthawing.

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