tools/templates/pixlabel.h
author nemo
Fri, 17 Aug 2018 22:23:19 -0400
changeset 13674 c6ee1b0b957f
parent 8442 535a00ca0d35
permissions -rw-r--r--
more wrapping

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