tools/templates/pixlabel.h
author antonc27 <antonc27@mail.ru>
Fri, 30 Oct 2015 21:06:03 +0100
branchios-revival
changeset 11259 4a660bbc5f35
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Fix for not compiling Pascal sources when archiving app for AppStore

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