tools/templates/pixlabel.h
author koda
Sat, 20 Apr 2013 20:39:01 +0200
branch0.9.19
changeset 8928 10a79d89ca31
parent 8442 535a00ca0d35
permissions -rw-r--r--
expose a hidden function that prevented linking on osx 10.4 when compiling physfs statically

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