tools/templates/pixlabel.h
author antonc27 <antonc27@mail.ru>
Tue, 03 Nov 2015 22:57:01 +0100
branchios-revival
changeset 11281 9c021eadd374
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Added 'Air Mines' flag for Scheme Settings

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