tools/templates/pixlabel.h
author alfadur
Sun, 08 Oct 2017 19:04:20 +0200
changeset 12674 8d266b2d0f9c
parent 8442 535a00ca0d35
permissions -rw-r--r--
Improve error messages when feedback or DLC fail to reach Internet Problems with a missing SSL library are hinted at.

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