tools/templates/pixlabel.h
author nemo
Fri, 18 May 2018 09:56:56 -0400
branch0.9.24
changeset 13395 fa81f809fbb9
parent 8442 535a00ca0d35
permissions -rw-r--r--
IFDEF for Phys 2.0 which has no mountHandle - result will just be no hwp in hwp on those systems, which would be rarely used and DLC only.

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