mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-10 08:40:00 +02:00
Remove the class fixed element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5280 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
#ifndef CUSTOM_ELEMENT_H
|
||||
#define CUSTOM_ELEMENT_H
|
||||
#include "fixedelement.h"
|
||||
#include "element.h"
|
||||
#include "nameslist.h"
|
||||
#include "elementslocation.h"
|
||||
#include <QPicture>
|
||||
@@ -29,7 +29,7 @@ class Terminal;
|
||||
element, the difference being that the CustomElement reads its description
|
||||
(names, drawing, behavior) from an XML document.
|
||||
*/
|
||||
class CustomElement : public FixedElement
|
||||
class CustomElement : public Element
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -68,7 +68,6 @@ class CustomElement : public FixedElement
|
||||
QList<QRectF *> circles() const override;
|
||||
QList<QVector<QPointF> *> polygons() const override;
|
||||
QList<QVector<qreal> *> arcs() const override;
|
||||
int terminalsCount() const override;
|
||||
void paint(QPainter *, const QStyleOptionGraphicsItem *) override;
|
||||
QString typeId() const override;
|
||||
ElementsLocation location() const;
|
||||
|
||||
Reference in New Issue
Block a user