changeset 359 | 59fbfc65fbda |
child 8442 | 535a00ca0d35 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/templates/pixlabel.h Tue Jan 23 18:54:09 2007 +0000 @@ -0,0 +1,21 @@ +#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); +};