tools/templates/pixlabel.h
author sheepluva
Tue, 16 Apr 2013 19:53:52 +0200
branch0.9.19
changeset 8900 b77fd3c2eec5
parent 8442 535a00ca0d35
permissions -rw-r--r--
whoops, unbreak build. how come that cmake doesn't stop anymore on engine build error?

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