Nettoyage

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@85 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2007-04-12 03:13:13 +00:00
parent 7d25e6091f
commit 4135197421
38 changed files with 1004 additions and 721 deletions

View File

@@ -8,23 +8,26 @@
malgre les rotations de son element parent.
*/
class ElementTextItem : public QGraphicsTextItem {
// constructeurs
// constructeurs, destructeur
public:
ElementTextItem(QGraphicsItem * = 0, QGraphicsScene * = 0);
ElementTextItem(const QString &, QGraphicsItem * = 0, QGraphicsScene * = 0);
virtual ~ElementTextItem();
// attributs
public:
enum { Type = UserType + 1003 };
private:
bool follow_parent_rotations;
// methodes
public:
enum { Type = UserType + 1003 };
virtual int type() const { return Type; }
bool followParentRotations() const;
void setFollowParentRotations(bool);
void fromXml(QDomElement &);
QDomElement toXml(QDomDocument &);
void fromXml(const QDomElement &);
QDomElement toXml(QDomDocument &) const;
void setPos(const QPointF &);
void setPos(qreal, qreal);
QPointF pos() const;