42 #ifndef QDECLARATIVELAYOUTS_H 43 #define QDECLARATIVELAYOUTS_H 47 #include <private/qdeclarativestate_p.h> 48 #include <private/qpodvector_p.h> 50 #include <QtCore/QObject> 51 #include <QtCore/QString> 85 void finishApplyTransitions();
88 void spacingChanged();
93 void prePositioning();
94 void graphicsWidgetGeometryChanged();
97 virtual void doPositioning(
QSizeF *contentSize)=0;
98 virtual void reportConflictingAnchors()=0;
123 virtual void doPositioning(
QSizeF *contentSize);
124 virtual void reportConflictingAnchors();
141 Q_REVISION(1) void layoutDirectionChanged();
144 virtual
void doPositioning(
QSizeF *contentSize);
145 virtual
void reportConflictingAnchors();
160 int rows()
const {
return m_rows;}
161 void setRows(
const int rows);
164 void setColumns(
const int columns);
177 void columnsChanged();
179 Q_REVISION(1)
void layoutDirectionChanged();
182 virtual void doPositioning(
QSizeF *contentSize);
183 virtual void reportConflictingAnchors();
211 Q_REVISION(1)
void layoutDirectionChanged();
214 virtual void doPositioning(
QSizeF *contentSize);
215 virtual void reportConflictingAnchors();
The QVariant class acts like a union for the most common Qt data types.
bool operator==(const PositionedItem &other) const
#define QT_END_NAMESPACE
This macro expands to.
QScopedPointer< QGraphicsItemPrivate > d_ptr
#define QML_DECLARE_TYPE(TYPE)
QDeclarativeTransition * add
#define at(className, varName)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
GraphicsItemChange
This enum describes the state changes that are notified by QGraphicsItem::itemChange().
The QSizeF class defines the size of a two-dimensional object using floating point precision...
Qt::LayoutDirection layoutDirection
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeItem class provides the most basic of all visual items in QML.
The QDeclarativeBasePositioner class provides a base for QDeclarativeGraphics layouts.
static const char * data(const QByteArray &arr)
#define Q_DECLARATIVE_PRIVATE_EXPORT
#define Q_DECLARE_PRIVATE_D(Dptr, Class)
PositionedItem(QGraphicsObject *i)
virtual QVariant itemChange(GraphicsItemChange, const QVariant &)
Note that unlike QGraphicsItems, QDeclarativeItem::itemChange() is not called during initial widget p...
The Flow item arranges its children side by side, wrapping as necessary.
virtual void componentComplete()
#define Q_AUTOTEST_EXPORT
QPODVector< PositionedItem, 8 > positionedItems
Qt::LayoutDirection layoutDirection
The QGraphicsObject class provides a base class for all graphics items that require signals...
Qt::LayoutDirection layoutDirection
QDeclarativeTransition * move