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

(27c98f5a9a3047b7e33c1873d5fb23e7098e9661)

#include "qquickcolordialogimpl_p.h"
#include "qquickcolordialogimpl_p_p.h"
#include "qquickcolordialogutils_p.h"
#include <QtQuickTemplates2/private/qquickslider_p.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformservices.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 17 of file qquickcolordialogimpl.cpp.

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

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

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