tools/templates/pixlabel.h
author sheepluva
Sat, 17 Jan 2015 01:48:57 +0100
branch0.9.21
changeset 10753 e56db5d988ef
parent 8442 535a00ca0d35
permissions -rw-r--r--
fix issue with contributor hat being displayed for wrong players

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