tools/templates/pixlabel.h
author unc0rr
Sat, 30 Nov 2013 17:43:58 +0400
changeset 9729 6a3640c4f4b7
parent 8442 535a00ca0d35
permissions -rw-r--r--
Show "incompatible version" message instead of "no such room" on try to join room with another protocol version

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