tools/templates/pixlabel.h
author antonc27 <antonc27@mail.ru>
Mon, 09 Nov 2015 05:02:53 +0100
branchios-revival
changeset 11327 a0163b8302c5
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Fix for wrong footer labels size on autorotation on GameConfig screen

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