tools/templates/pixlabel.h
author unc0rr
Thu, 07 Nov 2013 22:51:34 +0400
branchsdl2transition
changeset 9688 98024c99e58d
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Fix TryPut, so really large maps could load - Revert improper fix to sound issue

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