4#ifndef QQUICKSWIPEDELEGATE_P_P_H
5#define QQUICKSWIPEDELEGATE_P_P_H
18#include <QtQuickTemplates2/private/qquickitemdelegate_p_p.h>
19#include <QtQuickTemplates2/private/qquickswipe_p.h>
23class QQuickSwipeDelegate;
27 Q_DECLARE_PUBLIC(QQuickSwipeDelegate)
35 void forwardMouseEvent(QMouseEvent *event, QQuickItem *destination, QPointF localPos);
bool handleMouseMoveEvent(QQuickItem *item, QMouseEvent *event)
void forwardMouseEvent(QMouseEvent *event, QQuickItem *destination, QPointF localPos)
void resizeBackground() override
QPalette defaultPalette() const override
bool attachedObjectsSetPressed(QQuickItem *item, QPointF scenePos, bool pressed, bool cancel=false)
QQuickItem * getPressedItem(QQuickItem *childItem, QMouseEvent *event) const
bool handleMouseReleaseEvent(QQuickItem *item, QMouseEvent *event)
bool handleMousePressEvent(QQuickItem *item, QMouseEvent *event)
void resizeContent() override
void warnAboutMixingDelegates()
void createAndShowRightItem()
void createAndShowLeftItem()
QQuickVelocityCalculator velocityCalculator
QQuickItem * showRelevantItemForPosition(qreal position)
qreal positionBeforePress
QScopedPointer< QQuickSwipeTransitionManager > transitionManager
bool isTransitioning() const
void reposition(PositionAnimation animationPolicy)
bool hasDelegates() const
void createAndShowBehindItem()
QQuickTransition * transition
QQuickItem * createDelegateItem(QQmlComponent *component)
QQuickItem * createRelevantItemForDistance(qreal distance)
void beginTransition(qreal position)
QQuickSwipeDelegate * control
void warnAboutSettingDelegatesWhileVisible()
QQuickSwipeTransitionManager(QQuickSwipe *swipe)
void transition(QQuickTransition *transition, qreal position)
Combined button and popup list for selecting options.
QQuickSwipeDelegateAttached Attached
Attached * attachedObject(QQuickItem *item)
static bool isChildOrGrandchildOf(QQuickItem *child, QQuickItem *item)
static const qreal exposeVelocityThreshold
static void warnIfHorizontallyAnchored(QQuickItem *item, const QString &itemName)