Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qedidparser_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2// Copyright (C) 2021 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QEDIDPARSER_P_H
6#define QEDIDPARSER_P_H
7
8#include <QtCore/QMap>
9#include <QtCore/QPointF>
10#include <QtCore/QSize>
11
12//
13// W A R N I N G
14// -------------
15//
16// This file is not part of the Qt API. It exists purely as an
17// implementation detail. This header file may change from version to
18// version without notice, or even be removed.
19//
20// We mean it.
21//
22
23#include <QtGui/qtguiglobal.h>
24#include <QtCore/qlist.h>
25#include <QtCore/qpoint.h>
26#include <QtCore/qsize.h>
27#include <QtCore/qstring.h>
28#include <QtCore/private/qglobal_p.h>
29
31
33{
34public:
35 bool parse(const QByteArray &blob);
36
37 QString identifier;
38 QString manufacturer;
39 QString model;
40 QString serialNumber;
41 QSizeF physicalSize;
42 qreal gamma;
43 QPointF redChromaticity;
44 QPointF greenChromaticity;
45 QPointF blueChromaticity;
46 QPointF whiteChromaticity;
47 QList<QList<uint16_t>> tables;
48 bool sRgb;
49 bool useTables;
50
51private:
52 QString parseEdidString(const quint8 *data);
53};
54
55QT_END_NAMESPACE
56
57#endif // QEDIDPARSER_P_H
Combined button and popup list for selecting options.
#define EDID_DESCRIPTOR_SERIAL_NUMBER
#define EDID_FEATURE_SUPPORT
#define EDID_CHROMATICITIES_BLOCK
#define EDID_TRANSFER_FUNCTION
static QString lookupVendorIdInSystemDatabase(QByteArrayView id)
#define EDID_OFFSET_SERIAL
#define EDID_DESCRIPTOR_ALPHANUMERIC_STRING
#define EDID_OFFSET_PNP_ID
#define EDID_OFFSET_PHYSICAL_HEIGHT
#define EDID_DESCRIPTOR_PRODUCT_NAME
#define EDID_PHYSICAL_WIDTH
#define EDID_DATA_BLOCK_COUNT
#define EDID_OFFSET_DATA_BLOCKS