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
qquickscreencapture_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQUICKSCREENCAPTURE_H
5#define QQUICKSCREENCAPTURE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QScreenCapture>
19#include <qtmultimediaquickexports.h>
20#include <private/qglobal_p.h>
21#include <private/qquickscreen_p.h>
22
24
25class Q_MULTIMEDIAQUICK_EXPORT QQuickScreenCatpure : public QScreenCapture
26{
28 Q_PROPERTY(QQuickScreenInfo *screen READ qmlScreen WRITE qmlSetScreen NOTIFY screenChanged)
29 QML_NAMED_ELEMENT(ScreenCapture)
30
31public:
32 QQuickScreenCatpure(QObject *parent = nullptr);
33
34 void qmlSetScreen(const QQuickScreenInfo *info);
35
36 QQuickScreenInfo *qmlScreen();
37
40};
41
43
44#endif
\inmodule QtCore
Definition qobject.h:103
void screenChanged(QQuickScreenInfo *)
\inmodule QtMultimedia
Combined button and popup list for selecting options.
#define QML_NAMED_ELEMENT(NAME)
QScreen * screen
[1]
Definition main.cpp:29
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
QHostInfo info
[0]