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
qquickdrawer.cpp File Reference

(c61525f3aaa59f8de2e9b090c25ba739f097cec0)

#include "qquickdrawer_p.h"
#include "qquickdrawer_p_p.h"
#include "qquickpopupitem_p_p.h"
#include "qquickpopuppositioner_p_p.h"
#include <QtGui/qstylehints.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtQml/qqmlinfo.h>
#include <QtQuick/private/qquickwindow_p.h>
#include <QtQuick/private/qquickanimation_p.h>
#include <QtQuick/private/qquicktransition_p.h>
#include <QtQuickTemplates2/private/qquickoverlay_p.h>
#include "moc_qquickdrawer_p.cpp"
+ Include dependency graph for qquickdrawer.cpp:

Go to the source code of this file.

Classes

class  QQuickDrawerPositioner
 Side panel that can be opened and closed using a swipe gesture. More...
 

Functions

static bool keepGrab (QQuickItem *item)
 
static QList< QQuickStateActionprepareTransition (QQuickDrawer *drawer, QQuickTransition *transition, qreal to)
 

Variables

static const qreal openCloseVelocityThreshold = 300
 

Function Documentation

◆ keepGrab()

static bool keepGrab ( QQuickItem * item)
inlinestatic

Definition at line 321 of file qquickdrawer.cpp.

References item.

Referenced by QQuickDrawerPrivate::grabMouse().

+ Here is the caller graph for this function:

◆ prepareTransition()

static QList< QQuickStateAction > prepareTransition ( QQuickDrawer * drawer,
QQuickTransition * transition,
qreal to )
static

Definition at line 565 of file qquickdrawer.cpp.

References QQuickTransition::animations, QQuickTransition::enabled, QQuickPopupPrivate::get(), i, qmlExecuteDeferred(), QQuickAbstractAnimation::setDefaultTarget(), and window().

Referenced by QQuickDrawerPrivate::prepareEnterTransition(), QQuickDrawerPrivate::prepareExitTransition(), and QQuickBasePositioner::prePositioning().

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

Variable Documentation

◆ openCloseVelocityThreshold

const qreal openCloseVelocityThreshold = 300
static

Definition at line 428 of file qquickdrawer.cpp.

Referenced by QQuickDrawerPrivate::handleRelease().