tools/templates/pixlabel.h
author unc0rr
Fri, 13 Dec 2013 22:14:02 +0400
changeset 9790 0b4b9fda5bd4
parent 8442 535a00ca0d35
permissions -rw-r--r--
- /owner command to specify team owner - Move team-related handlers to uTeams

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