Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickcolordialogimpl.cpp File Reference
#include "qquickcolordialogimpl_p.h"
#include "qquickcolordialogimpl_p_p.h"
#include "qquickcolordialogutils_p.h"
#include <QtQuickTemplates2/private/qquickslider_p.h>
#include <qpa/qplatformintegration.h>
#include <private/qguiapplication_p.h>
+ Include dependency graph for qquickcolordialogimpl.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QColor grabScreenColor (const QPoint &p)
 

Function Documentation

◆ grabScreenColor()

QT_BEGIN_NAMESPACE QColor grabScreenColor ( const QPoint p)

Definition at line 16 of file qquickcolordialogimpl.cpp.

References QScreen::geometry, QScreen::grabWindow(), i, pixmap, QGuiApplication::primaryScreen, screen, QGuiApplication::screenAt(), QRect::x(), and QRect::y().

Referenced by QColorDialogPrivate::_q_pickScreenColor(), QQuickColorDialogImplPrivate::eyeDropperLeave(), and QQuickColorDialogImplPrivate::eyeDropperPointerMoved().

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