tools/templates/pixlabel.h
author unc0rr
Tue, 15 Oct 2013 23:07:22 +0400
changeset 9549 ac5c1f691ce2
parent 8442 535a00ca0d35
permissions -rw-r--r--
Allow user to enter password for the room he joins

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