tools/templates/pixlabel.h
author unc0rr
Mon, 25 Aug 2014 22:52:59 +0400
changeset 10401 c31276023295
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Revert try to add local team on rejoin - Don't allow more than 8 teams in local game widget

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