tools/templates/pixlabel.h
author sheepluva
Sat, 30 Nov 2013 14:05:22 +0100
changeset 9726 dfdde45181ec
parent 8442 535a00ca0d35
permissions -rw-r--r--
don't show 'follow' entry for players that are in lobby

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