tools/templates/pixlabel.h
author sheepluva
Wed, 03 Dec 2014 18:32:37 +0100
changeset 10621 b50e094d8b00
parent 8442 535a00ca0d35
permissions -rw-r--r--
add warning to logs when tests terminates prematurely

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