tools/templates/pixlabel.h
author nemo
Wed, 06 Mar 2013 08:26:14 -0500
changeset 8668 b04a3724e328
parent 8442 535a00ca0d35
permissions -rw-r--r--
extend time a bit. move to defrosting on team's turn. fairer than using round order I think.

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