22 lines
503 B
C++
22 lines
503 B
C++
#ifndef ELECTRICSVGITEMDS_H
|
|
#define ELECTRICSVGITEMDS_H
|
|
|
|
#include "electricSvgItem.h"
|
|
|
|
class ElectricSvgItemDS :public ElectricSvgItem
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ElectricSvgItemDS(const QRect &rect,QGraphicsItem *parent = 0);
|
|
ElectricSvgItemDS(const ElectricSvgItemDS&);
|
|
virtual ~ElectricSvgItemDS();
|
|
virtual ElectricSvgItemDS* clone() const override;
|
|
|
|
protected:
|
|
virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*) override;
|
|
private:
|
|
void initial();
|
|
};
|
|
|
|
#endif
|