tools/templates/pixlabel.h
author antonc27 <antonc27@mail.ru>
Fri, 14 Aug 2015 21:27:55 +0200
branchios-revival
changeset 11120 83c0d96f86ea
parent 8442 535a00ca0d35
permissions -rw-r--r--
- HelpPageLobbyViewController returned to project (back from 2012!), also help bubble images added

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