tools/templates/pixlabel.h
author antonc27 <antonc27@mail.ru>
Wed, 04 Nov 2015 06:17:31 +0100
branchios-revival
changeset 11295 6b6d96077395
parent 8442 535a00ca0d35
permissions -rw-r--r--
- Refactoring for SingleSchemeViewController: checkValueString macro changed to helper method

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