![]() |
Qt 6.x
The Qt SDK
|
#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>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE QColor | grabScreenColor (const QPoint &p) |
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().