Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickswipedelegate.cpp File Reference

(25355faf6167e237e954061b3e915d66dd35d6cc)

#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 1219 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 969 of file qquickswipedelegate.cpp.

References anchors(), 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