tools/templates/pixlabel.h
author Wuzzy <almikes@aol.com>
Fri, 07 Apr 2017 03:10:28 +0200
changeset 12182 31e98d6baf6b
parent 8442 535a00ca0d35
permissions -rw-r--r--
Replace portal mission image with screenshot Done to remove English-only text

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