Newer
Older
Import / projects / LGN-IP3870 / qtpyui / server / qrectangle.h
@John Ryland John Ryland on 22 Dec 2020 397 bytes import NUC files
#ifndef QRECTANGLE_H
#define QRECTANGLE_H


#include <QLabel>
#include <canvasitem.h>
#include <textitem.h>


// class QRectangle : public TextItem // QLabel
class QRectangle : public QLabel
{
	friend class CanvasItem;
	Q_OBJECT
public:
	QRectangle(CanvasItem *canvasItem, QWidget *parent = 0);
	~QRectangle();
protected:
	void paintEvent(QPaintEvent *e);
private:
	CanvasItem *item;
};


#endif