tools/templates/pixlabel.h
author sheepluva
Sat, 23 Apr 2016 12:02:39 +0200
changeset 11678 86cacfde14c4
parent 8442 535a00ca0d35
permissions -rw-r--r--
merge commit by Wuzzy that allows drop down lists in team edit screen to display more items at a time, if possible

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