tools/templates/pixlabel.h
author nemo
Mon, 18 Apr 2011 23:26:28 -0400
changeset 5160 37f0cd541c0a
parent 359 59fbfc65fbda
child 8442 535a00ca0d35
permissions -rw-r--r--
trying to make the umbrella and beachball seem a bit less cut out with a bit of beach sun/shade

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