kig
object_factory.h
Go to the documentation of this file.
ObjectHolder * sensiblePoint(const Coordinate &c, const KigDocument &d, const KigWidget &w) const
Definition: object_factory.cc:286
ObjectTypeCalcer * fixedPointCalcer(const Coordinate &c) const
Definition: object_factory.cc:50
ObjectCalcer * getAttachPoint(ObjectCalcer *locationparent, const Coordinate &loc, const KigDocument &doc) const
this has been added because it comes handy when redefining a text label, we move here all the code fo...
Definition: object_factory.cc:421
ObjectTypeCalcer * locusCalcer(ObjectCalcer *a, ObjectCalcer *b) const
return a locus, defined by the two points ( one constrained, and one following ) a and b ...
Definition: object_factory.cc:355
This is an ObjectCalcer that uses one of the various ObjectType's to calculate its ObjectImp...
Definition: object_calcer.h:183
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
ObjectHolder * propertyObject(ObjectCalcer *o, const char *p) const
Definition: object_factory.cc:491
ObjectTypeCalcer * labelCalcer(const QString &s, const Coordinate &loc, bool needframe, const std::vector< ObjectCalcer * > &parents, const KigDocument &doc) const
Definition: object_factory.cc:394
ObjectHolder * label(const QString &s, const Coordinate &loc, bool needframe, const std::vector< ObjectCalcer * > &parents, const KigDocument &doc) const
returns a label with text s at point c .
Definition: object_factory.cc:386
void redefinePoint(ObjectTypeCalcer *point, const Coordinate &c, KigDocument &d, const KigWidget &w) const
set point to what sensiblePoint would have returned.
Definition: object_factory.cc:497
An ObjectHolder represents an object as it is known to the document.
Definition: object_holder.h:40
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
ObjectTypeCalcer * attachedLabelCalcer(const QString &s, ObjectCalcer *locationparent, const Coordinate &loc, bool needframe, const std::vector< ObjectCalcer * > &parents, const KigDocument &doc) const
this one does the same as the above, only that the new label is attached to locationparent if it is n...
Definition: object_factory.cc:402
ObjectHolder * fixedPoint(const Coordinate &c) const
this returns a fixed point.
Definition: object_factory.cc:44
ObjectTypeCalcer * constrainedPointCalcer(ObjectCalcer *curve, double param) const
Definition: object_factory.cc:313
ObjectHolder * constrainedPoint(ObjectCalcer *curve, double param) const
this returns a constrained point.
Definition: object_factory.cc:323
ObjectTypeCalcer * constrainedRelativePointCalcer(ObjectCalcer *curve, double param) const
Definition: object_factory.cc:343
This is an ObjectCalcer that has a single parent, and gets a certain property from it in its calc() m...
Definition: object_calcer.h:276
ObjectPropertyCalcer * propertyObjectCalcer(ObjectCalcer *o, const char *p) const
returns a property object for the property p of object o .
Definition: object_factory.cc:483
ObjectTypeCalcer * cursorPointCalcer(const Coordinate &c) const
this returns a CursorPointType; this is used during special constructions (e.g.
Definition: object_factory.cc:81
ObjectTypeCalcer * sensiblePointCalcer(const Coordinate &c, const KigDocument &d, const KigWidget &w) const
this returns a "sensible point".
Definition: object_factory.cc:96
ObjectHolder * attachedLabel(const QString &s, ObjectCalcer *locationparent, const Coordinate &loc, bool needframe, const std::vector< ObjectCalcer * > &parents, const KigDocument &doc) const
Definition: object_factory.cc:474
ObjectTypeCalcer * numericValueCalcer(const double value, const Coordinate &loc, const KigDocument &doc) const
Definition: object_factory.cc:65
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ObjectTypeCalcer * relativePointCalcer(ObjectCalcer *o, const Coordinate &loc) const
this returns a relative point (to an object).
Definition: object_factory.cc:292
ObjectHolder * numericValue(const double value, const Coordinate &loc, const KigDocument &doc) const
this returns a numeric label with the value value at the position loc .
Definition: object_factory.cc:59
Definition: object_factory.h:23
ObjectHolder * locus(ObjectCalcer *a, ObjectCalcer *b) const
Definition: object_factory.cc:381
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.