23 lines
549 B
C++
23 lines
549 B
C++
#ifndef ELECTRICSVGITEMPI_H
|
|
#define ELECTRICSVGITEMPI_H
|
|
|
|
/*************带点指示器***************/
|
|
#include "electricSvgItem.h"
|
|
|
|
class ElectricSvgItemPI :public ElectricSvgItem
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ElectricSvgItemPI(const QRect &rect,QGraphicsItem *parent = 0);
|
|
ElectricSvgItemPI(const ElectricSvgItemPI&);
|
|
virtual ~ElectricSvgItemPI();
|
|
virtual ElectricSvgItemPI* clone() const override;
|
|
|
|
protected:
|
|
virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*) override;
|
|
private:
|
|
void initial();
|
|
};
|
|
|
|
#endif
|