tools/templates/pixlabel.h
author sheepluva
Thu, 21 Mar 2013 10:26:43 +0100
changeset 8768 7450cb9c815b
parent 8442 535a00ca0d35
permissions -rw-r--r--
make https links work properly

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