4#ifndef QQUICKGRIDVIEW_P_H
5#define QQUICKGRIDVIEW_P_H
18#include <QtQuick/private/qtquickglobal_p.h>
34 Q_PROPERTY(
qreal cellWidth READ cellWidth WRITE setCellWidth NOTIFY cellWidthChanged)
35 Q_PROPERTY(
qreal cellHeight READ cellHeight WRITE setCellHeight NOTIFY cellHeightChanged)
46 FlowLeftToRight = LeftToRight,
47 FlowTopToBottom = TopToBottom
53 void setHighlightFollowsCurrentItem(
bool)
override;
54 void setHighlightMoveDuration(
int)
override;
59 qreal cellWidth()
const;
60 void setCellWidth(
qreal);
62 qreal cellHeight()
const;
63 void setCellHeight(
qreal);
67 SnapMode snapMode()
const;
68 void setSnapMode(SnapMode
mode);
73 void moveCurrentIndexUp();
74 void moveCurrentIndexDown();
75 void moveCurrentIndexLeft();
76 void moveCurrentIndexRight();
86 void viewportMoved(Qt::Orientations)
override;
88 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
The QKeyEvent class describes a key event.
QObject * parent() const
Returns a pointer to the parent object.
~QQuickGridViewAttached()
QQuickGridViewAttached(QObject *parent)
void highlightMoveDurationChanged()
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define QML_ATTACHED(ATTACHED_TYPE)
#define QT_REQUIRE_CONFIG(feature)