mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-27 10:49:58 +01:00
Element editor : replace home made property by Q_PROPERTY for all primitive,
Add combo box for input to set the tagg (nothing or label, actually) Remove terminal text because unused. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3088 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -31,9 +31,9 @@ class Terminal : public QGraphicsItem {
|
||||
|
||||
// constructors, destructor
|
||||
public:
|
||||
Terminal(QPointF, QET::Orientation, Element * = 0, Diagram * = 0);
|
||||
Terminal(qreal, qreal, QET::Orientation, Element * = 0, Diagram * = 0);
|
||||
Terminal(QPointF, QET::Orientation, QString number, QString name, bool hiddenName, Element * = 0, Diagram * = 0);
|
||||
Terminal(QPointF, Qet::Orientation, Element * = 0, Diagram * = 0);
|
||||
Terminal(qreal, qreal, Qet::Orientation, Element * = 0, Diagram * = 0);
|
||||
Terminal(QPointF, Qet::Orientation, QString number, QString name, bool hiddenName, Element * = 0, Diagram * = 0);
|
||||
virtual ~Terminal();
|
||||
|
||||
private:
|
||||
@@ -60,7 +60,7 @@ class Terminal : public QGraphicsItem {
|
||||
Element *parentElement() const;
|
||||
|
||||
QList<Conductor *> conductors() const;
|
||||
QET::Orientation orientation() const;
|
||||
Qet::Orientation orientation() const;
|
||||
QPointF dockConductor() const;
|
||||
QString number() const;
|
||||
QString name() const;
|
||||
@@ -108,7 +108,7 @@ class Terminal : public QGraphicsItem {
|
||||
/// docking point for parent element
|
||||
QPointF dock_elmt_;
|
||||
/// terminal orientation
|
||||
QET::Orientation ori_;
|
||||
Qet::Orientation ori_;
|
||||
/// List of conductors attached to the terminal
|
||||
QList<Conductor *> conductors_;
|
||||
/// Pointer to a rectangle representing the terminal bounding rect;
|
||||
@@ -128,7 +128,7 @@ class Terminal : public QGraphicsItem {
|
||||
bool name_terminal_hidden;
|
||||
|
||||
private:
|
||||
void init(QPointF, QET::Orientation, QString number, QString name, bool hiddenName);
|
||||
void init(QPointF, Qet::Orientation, QString number, QString name, bool hiddenName);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user