5#ifndef QQUICKCOLORDIALOGIMPL_P_P_H
6#define QQUICKCOLORDIALOGIMPL_P_P_H
23#include <QtQuickTemplates2/private/qquickdialog_p_p.h>
24#include <QtQuickTemplates2/private/qquickdialogbuttonbox_p.h>
25#include <QtQuickTemplates2/private/qquickabstractbutton_p.h>
26#include <QtQuickTemplates2/private/qquickslider_p.h>
28#include <QtCore/qpointer.h>
37 std::function<
void(QPoint)> callOnUpdate)
43 bool eventFilter(QObject *obj, QEvent *event)
override;
46 std::function<
void(QPoint, LeaveReason)> m_leave;
47 std::function<
void(QPoint)> m_update;
48 QPoint m_lastPosition;
62 return dialog->d_func();
67 void handleClick(QQuickAbstractButton *button)
override;
94 Q_DECLARE_PUBLIC(QQuickColorDialogImplAttached)
QPointer< QQuickAbstractButton > eyeDropperButton
QPointer< QQuickSlider > alphaSlider
QPointer< QQuickColorInputs > colorInputs
QPointer< QQuickDialogButtonBox > buttonBox
QPointer< QQuickAbstractColorPicker > colorPicker
std::unique_ptr< QQuickEyeDropperEventFilter > eyeDropperEventFilter
void eyeDropperLeave(const QPoint &pos, QQuickEyeDropperEventFilter::LeaveReason actionOnLeave)
Q_DECLARE_PUBLIC(QQuickColorDialogImpl)
void handleClick(QQuickAbstractButton *button) override
QColor m_eyeDropperPreviousColor
QSharedPointer< QColorDialogOptions > options
~QQuickColorDialogImplPrivate()
static QQuickColorDialogImplPrivate * get(QQuickColorDialogImpl *dialog)
QQuickColorDialogImplAttached * attachedOrWarn()
QQuickColorDialogImplPrivate()
void eyeDropperPointerMoved(const QPoint &pos)
QPointer< QQuickWindow > m_eyeDropperWindow
QQuickEyeDropperEventFilter(std::function< void(QPoint, LeaveReason)> callOnLeave, std::function< void(QPoint)> callOnUpdate)
bool eventFilter(QObject *obj, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.