tools/templates/pixlabel.h
author Periklis Ntanasis <pntanasis@gmail.com>
Fri, 06 Dec 2013 09:30:07 +0200
changeset 9754 12702ab1ba5f
parent 8442 535a00ca0d35
permissions -rw-r--r--
fix buggy win conditions and stats in death01

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