tools/templates/pixlabel.h
author nemo
Wed, 29 Nov 2017 20:38:26 -0500
changeset 12848 076d00110223
parent 8442 535a00ca0d35
permissions -rw-r--r--
er. should be true I think? also... maybe this should be somewhere else

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