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>.
|
#include <qquickcolordialogimpl_p_p.h>
Static Public Member Functions | |
static QQuickColorDialogImplPrivate * | get (QQuickColorDialogImpl *dialog) |
Static Public Member Functions inherited from QQuickDialogPrivate | |
static QQuickDialogPrivate * | get (QQuickDialog *dialog) |
static QPlatformDialogHelper::ButtonRole | buttonRole (QQuickAbstractButton *button) |
Popup dialog with standard buttons and a title, used for short-term interaction with the user. | |
Static Public Member Functions inherited from QQuickPopupPrivate | |
static QQuickPopupPrivate * | get (QQuickPopup *popup) |
Static Public Member Functions inherited from QObjectPrivate | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
Public Types inherited from QQuickPopupPrivate | |
enum | TransitionState { NoTransition , EnterTransition , ExitTransition } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Attributes inherited from QQuickPopupPrivate | |
static const QQuickPopup::ClosePolicy | DefaultClosePolicy = QQuickPopup::CloseOnEscape | QQuickPopup::CloseOnPressOutside |
Base type of popup-like user interface controls. | |
Protected Member Functions inherited from QQuickPaletteProviderPrivateBase< QQuickPopup, QQuickPopupPrivate > | |
void | setCurrentColorGroup () |
Definition at line 50 of file qquickcolordialogimpl_p_p.h.
|
explicitdefault |
QQuickColorDialogImplPrivate::~QQuickColorDialogImplPrivate | ( | ) |
Definition at line 66 of file qquickcolordialogimpl.cpp.
References QQuickEyeDropperEventFilter::Default, eyeDropperLeave(), m_eyeDropperMode, and QCursor::pos().
void QQuickColorDialogImplPrivate::alphaSliderMoved | ( | ) |
Definition at line 173 of file qquickcolordialogimpl.cpp.
References attachedOrWarn().
Referenced by QQuickColorDialogImplAttached::setAlphaSlider().
QQuickColorDialogImplAttached * QQuickColorDialogImplPrivate::attachedOrWarn | ( | ) |
Definition at line 83 of file qquickcolordialogimpl.cpp.
References qmlWarning().
Referenced by alphaSliderMoved().
void QQuickColorDialogImplPrivate::eyeDropperEnter | ( | ) |
Definition at line 93 of file qquickcolordialogimpl.cpp.
References QPlatformServiceColorPicker::colorPicked(), QPlatformServices::ColorPicking, QObject::connect(), Qt::CrossCursor, eyeDropperEventFilter, eyeDropperLeave(), eyeDropperPointerMoved(), QObject::installEventFilter(), QPointer< T >::isNull(), m_eyeDropperMode, m_eyeDropperPreviousColor, m_eyeDropperWindow, QGuiApplicationPrivate::platformIntegration(), pos, qWarning, services, QGuiApplication::setOverrideCursor(), and QQuickPopupPrivate::window.
void QQuickColorDialogImplPrivate::eyeDropperLeave | ( | const QPoint & | pos, |
QQuickEyeDropperEventFilter::LeaveReason | actionOnLeave ) |
Definition at line 139 of file qquickcolordialogimpl.cpp.
References QQuickEyeDropperEventFilter::Cancel, QPointer< T >::clear(), eyeDropperEventFilter, grabScreenColor(), m_eyeDropperMode, m_eyeDropperPreviousColor, m_eyeDropperWindow, pos, qWarning, QObject::removeEventFilter(), and QGuiApplication::restoreOverrideCursor().
Referenced by ~QQuickColorDialogImplPrivate(), and eyeDropperEnter().
Definition at line 167 of file qquickcolordialogimpl.cpp.
References grabScreenColor(), and pos.
Referenced by eyeDropperEnter().
|
inlinestatic |
Definition at line 59 of file qquickcolordialogimpl_p_p.h.
References dialog.
Referenced by QQuickColorDialogImplAttached::setAlphaSlider().
|
overridevirtual |
Reimplemented from QQuickDialogPrivate.
Definition at line 72 of file qquickcolordialogimpl.cpp.
References QPlatformDialogHelper::AcceptRole, button, QQuickDialogPrivate::buttonRole(), and QQuickDialogPrivate::handleClick().
QQuickColorDialogImplPrivate::Q_DECLARE_PUBLIC | ( | QQuickColorDialogImpl | ) |
std::unique_ptr<QQuickEyeDropperEventFilter> QQuickColorDialogImplPrivate::eyeDropperEventFilter |
Definition at line 76 of file qquickcolordialogimpl_p_p.h.
Referenced by eyeDropperEnter(), and eyeDropperLeave().
bool QQuickColorDialogImplPrivate::m_eyeDropperMode = false |
Definition at line 79 of file qquickcolordialogimpl_p_p.h.
Referenced by ~QQuickColorDialogImplPrivate(), eyeDropperEnter(), and eyeDropperLeave().
QColor QQuickColorDialogImplPrivate::m_eyeDropperPreviousColor |
Definition at line 78 of file qquickcolordialogimpl_p_p.h.
Referenced by eyeDropperEnter(), and eyeDropperLeave().
QPointer<QQuickWindow> QQuickColorDialogImplPrivate::m_eyeDropperWindow |
Definition at line 77 of file qquickcolordialogimpl_p_p.h.
Referenced by eyeDropperEnter(), and eyeDropperLeave().
bool QQuickColorDialogImplPrivate::m_hsl = false |
Definition at line 81 of file qquickcolordialogimpl_p_p.h.
HSVA QQuickColorDialogImplPrivate::m_hsva |
Definition at line 75 of file qquickcolordialogimpl_p_p.h.
bool QQuickColorDialogImplPrivate::m_showAlpha = false |
Definition at line 80 of file qquickcolordialogimpl_p_p.h.
QSharedPointer<QColorDialogOptions> QQuickColorDialogImplPrivate::options |
Definition at line 74 of file qquickcolordialogimpl_p_p.h.