mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-06 06:19:59 +01:00
Les champs de texte sont dorenavant sauvegardes dans / lus depuis les fichiers *.qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@68 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef ELEMENT_TEXT_ITEM_H
|
||||
#define ELEMENT_TEXT_ITEM_H
|
||||
#include <QGraphicsTextItem>
|
||||
#include <QtXml>
|
||||
class ElementTextItem : public QGraphicsTextItem {
|
||||
// constructeurs
|
||||
public:
|
||||
@@ -17,6 +18,8 @@
|
||||
virtual int type() const { return Type; }
|
||||
inline bool followParentRotations() const { return(follow_parent_rotations); }
|
||||
inline void setFollowParentRotations(bool frp) { follow_parent_rotations = frp; }
|
||||
void fromXml(QDomElement &);
|
||||
QDomElement toXml(QDomDocument &);
|
||||
void setPos(const QPointF &);
|
||||
void setPos(qreal, qreal);
|
||||
QPointF pos() const;
|
||||
|
||||
Reference in New Issue
Block a user