Kirigami2
columnview.h
35 * used to access the view and page information such as the position and information for layouting, such as fillWidth
53 * When a column is fillWidth, it will keep reservedSpace amount of pixels from going to fill the full viewport width
55 Q_PROPERTY(qreal reservedSpace READ reservedSpace WRITE setReservedSpace NOTIFY reservedSpaceChanged)
62 Q_PROPERTY(bool preventStealing READ preventStealing WRITE setPreventStealing NOTIFY preventStealingChanged)
139 * when not all items fit in the ColumnView, it will behave like a Flickable and will be a scrollable view which shows only a determined number of columns.
141 * size themselves with implicitWidth, or automatically expand to take all the available width: by default the last column will always be the expanding one.
142 * Items inside the ColumnView can access info of the view and set layouting hints via the ColumnView attached property.
156 * * SingleColumn: only one column at a time is shown, as wide as the viewport, eventual reservedSpace on the column's attached property is ignored
158 Q_PROPERTY(ColumnResizeMode columnResizeMode READ columnResizeMode WRITE setColumnResizeMode NOTIFY columnResizeModeChanged)
202 Q_PROPERTY(qreal bottomPadding READ bottomPadding WRITE setBottomPadding NOTIFY bottomPaddingChanged)
207 Q_PROPERTY(int scrollDuration READ scrollDuration WRITE setScrollDuration NOTIFY scrollDurationChanged)
212 Q_PROPERTY(bool separatorVisible READ separatorVisible WRITE setSeparatorVisible NOTIFY separatorVisibleChanged)
215 * The list of all visible column items that are at least partially in the viewport at any given moment
236 * True both when the user is dragging around with touch gestures the view contents or the view is animating
248 Q_PROPERTY(bool acceptsMouse READ acceptsMouse WRITE setAcceptsMouse NOTIFY acceptsMouseChanged)
254 Q_PROPERTY(QQmlListProperty<QQuickItem> contentChildren READ contentChildren NOTIFY contentChildrenChanged FINAL)
298 // NOTE: It's a QList<QObject *> as QML can't correctly build an Array out of QList<QQuickItem*>
366 * @param item it can either be a pointer of an item or an integer specifying the position to remove
372 * Removes all the items after item. Starting from the last column, every column will be removed until item is found, which will be left in place.
402 void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value) override;
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_ENUM(...)
Q_SLOTSQ_SLOTS
Q_CLASSINFO(Name, Value)
bool pinned
If true the page will never go out of view, but will stay either at the right or left side of the Col...
Definition: columnview.h:68
ItemChange
ColumnView is a container that lays out items horizontally in a row, when not all items fit in the Co...
Definition: columnview.h:147
virtual bool event(QEvent *e)
qreal reservedSpace
When a column is fillWidth, it will keep reservedSpace amount of pixels from going to fill the full v...
Definition: columnview.h:55
Q_SIGNALSQ_SIGNALS
bool inViewport
True if this column is at least partly visible in the ColumnView's viewport.
Definition: columnview.h:79
QObject * parent() const const
bool preventStealing
Like the same property of MouseArea, when this is true, the column view won't try to manage events by...
Definition: columnview.h:62
This is an attached property to every item that is inserted in the ColumnView, used to access the vie...
Definition: columnview.h:38
bool fillWidth
If true, the column will expand to take the whole viewport space minus reservedSpace.
Definition: columnview.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:14:23 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:14:23 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.