tools/templates/pixlabel.h
author koda
Fri, 22 Feb 2013 10:12:17 +0100
branchphysfslayer
changeset 8533 2d7703d6bc22
parent 8442 535a00ca0d35
permissions -rw-r--r--
this should make physfs happy to link on windows too, forcing every function in its proper dll and skipping linklib

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