Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qquickswipedelegate.cpp File Reference
#include "qquickswipedelegate_p.h"
#include "qquickswipedelegate_p_p.h"
#include "qquickcontrol_p_p.h"
#include "qquickitemdelegate_p_p.h"
#include "qquickvelocitycalculator_p_p.h"
#include <QtGui/qstylehints.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qeventpoint_p.h>
#include <QtGui/qpa/qplatformtheme.h>
#include <QtQml/qqmlinfo.h>
#include <QtQuick/private/qquickanimation_p.h>
#include <QtQuick/private/qquicktransition_p.h>
#include <QtQuick/private/qquicktransitionmanager_p_p.h>
#include "moc_qquickswipe_p.cpp"
#include "moc_qquickswipedelegate_p.cpp"
+ Include dependency graph for qquickswipedelegate.cpp:

Go to the source code of this file.

Classes

class  QQuickSwipeTransitionManager
 
class  QQuickSwipePrivate
 
class  QQuickSwipeDelegateAttachedPrivate
 

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.
 

Typedefs

typedef QQuickSwipeDelegateAttached QT_BEGIN_NAMESPACE::Attached
 

Enumerations

enum  QT_BEGIN_NAMESPACE::PositionAnimation { QT_BEGIN_NAMESPACE::DontAnimatePosition , QT_BEGIN_NAMESPACE::AnimatePosition }
 

Functions

AttachedQT_BEGIN_NAMESPACE::attachedObject (QQuickItem *item)
 
static void warnIfHorizontallyAnchored (QQuickItem *item, const QString &itemName)
 
static bool isChildOrGrandchildOf (QQuickItem *child, QQuickItem *item)
 

Variables

static const qreal exposeVelocityThreshold = 300.0
 

Function Documentation

◆ isChildOrGrandchildOf()

static bool isChildOrGrandchildOf ( QQuickItem child,
QQuickItem item 
)
static

Definition at line 1186 of file qquickswipedelegate.cpp.

References child, QGraphicsItem::isAncestorOf(), and item.

Referenced by QQuickSwipeDelegate::childMouseEventFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ warnIfHorizontallyAnchored()

static void warnIfHorizontallyAnchored ( QQuickItem item,
const QString itemName 
)
static

Definition at line 963 of file qquickswipedelegate.cpp.

References QQuickItemPrivate::_anchors, anchors(), QString::arg(), QQuickAnchors::centerIn, QQuickAnchors::fill, QString::fromLatin1(), QQuickItemPrivate::get(), item, QQuickAnchorLine::item, QQuickAnchors::left, qmlWarning(), and QQuickAnchors::right.

Referenced by QQuickSwipeDelegatePrivate::resizeContent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ exposeVelocityThreshold

const qreal exposeVelocityThreshold = 300.0
static