5#include <QtQuick/qquickitem.h>
13 :
QObject(handler), m_accumulatedValue(initValue), m_propertyName(propertyName)
46 m_activeValue = initActiveValue;
47 m_startValue = m_accumulatedValue;
48 qCDebug(lcDragAxis) <<
parent() << m_propertyName << active <<
": init active" << m_activeValue
49 <<
"target start" << m_startValue;
58 m_accumulatedValue =
qBound(m_minimum, accumulatedValue, m_maximum);
60 <<
"accumulated" << m_accumulatedValue <<
"delta" << delta;
61 emit activeValueChanged(delta);
66#include "moc_qquickdragaxis_p.cpp"
QObject * parent() const
Returns a pointer to the parent object.
void onActiveChanged(bool active, qreal initActiveValue)
void updateValue(qreal activeValue, qreal accumulatedValue, qreal delta=0)
void setEnabled(bool enabled)
void setMinimum(qreal minimum)
void setMaximum(qreal maximum)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
constexpr const T & qBound(const T &min, const T &val, const T &max)
GLenum GLenum GLsizei const GLuint GLboolean enabled