tools/templates/pixlabel.h
author alfadur
Sun, 14 Oct 2018 18:45:11 +0300
changeset 13899 f9d135768d17
parent 8442 535a00ca0d35
permissions -rw-r--r--
add missing .

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