42 #ifndef QDECLARATIVESTATEOPERATIONS_H 43 #define QDECLARATIVESTATEOPERATIONS_H 45 #include "private/qdeclarativestate_p.h" 48 #include <private/qdeclarativeanchors_p.h> 86 QDeclarativeItem *parent() const;
87 void setParent(QDeclarativeItem *);
89 QDeclarativeItem *originalParent() const;
101 bool widthIsSet() const;
105 bool heightIsSet() const;
109 bool scaleIsSet() const;
113 bool rotationIsSet() const;
117 virtual
void saveOriginals();
119 virtual
void execute(
Reason reason = ActualChange);
120 virtual
bool isReversable();
125 virtual
void saveCurrentValues();
151 virtual
void execute(
Reason reason = ActualChange);
163 QDeclarativeScriptString
top;
183 QDeclarativeScriptString
left()
const;
184 void setLeft(
const QDeclarativeScriptString &edge);
187 QDeclarativeScriptString
right()
const;
188 void setRight(
const QDeclarativeScriptString &edge);
191 QDeclarativeScriptString horizontalCenter()
const;
192 void setHorizontalCenter(
const QDeclarativeScriptString &edge);
193 void resetHorizontalCenter();
195 QDeclarativeScriptString top()
const;
196 void setTop(
const QDeclarativeScriptString &edge);
199 QDeclarativeScriptString bottom()
const;
200 void setBottom(
const QDeclarativeScriptString &edge);
203 QDeclarativeScriptString verticalCenter()
const;
204 void setVerticalCenter(
const QDeclarativeScriptString &edge);
205 void resetVerticalCenter();
207 QDeclarativeScriptString baseline()
const;
208 void setBaseline(
const QDeclarativeScriptString &edge);
209 void resetBaseline();
211 QDeclarativeItem *fill()
const;
212 void setFill(QDeclarativeItem *);
215 QDeclarativeItem *centerIn()
const;
216 void setCenterIn(QDeclarativeItem *);
217 void resetCenterIn();
243 QDeclarativeAnchors::Anchors usedAnchors()
const;
256 friend class QDeclarativeAnchorChanges;
281 virtual
void execute(
Reason reason = ActualChange);
282 virtual
bool isReversable();
286 virtual
bool changesBindings();
287 virtual
void saveOriginals();
288 virtual
bool needsCopy() {
return true; }
307 #endif // QDECLARATIVESTATEOPERATIONS_H virtual void clearBindings()
QDeclarativeScriptString bottom
QDeclarativeScriptString left
#define QT_END_NAMESPACE
This macro expands to.
#define QML_DECLARE_TYPE(TYPE)
static C reverse(const C &l)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
QDeclarativeScriptString horizontalCenter
The QObject class is the base class of all Qt objects.
QDeclarativeScriptString baseline
virtual void saveTargetValues()
Q_CORE_EXPORT QTextStream & right(QTextStream &s)
QDeclarativeScriptString verticalCenter
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeScriptString class encapsulates a script and its context.
The QDeclarativeItem class provides the most basic of all visual items in QML.
#define Q_DECLARATIVE_PRIVATE_EXPORT
QDeclarativeScriptString right
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
#define Q_AUTOTEST_EXPORT
#define Q_DECLARE_PRIVATE(Class)
Q_CORE_EXPORT QTextStream & left(QTextStream &s)
virtual void copyOriginals(QDeclarativeActionEvent *)
QDeclarativeScriptString top
virtual void saveCurrentValues()