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
qgraphicsframecapture_p.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QGRAPHICSFRAMECAPTURE_P_H
5#define QGRAPHICSFRAMECAPTURE_P_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 purely as an
12// implementation detail. 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 <QtCore/qscopedpointer.h>
19#include <QtGui/qtguiglobal.h>
20
22
24class QRhi;
25
26class Q_GUI_EXPORT QGraphicsFrameCapture
27{
28public:
31
32 void setRhi(QRhi *rhi);
33 void startCaptureFrame();
34 void endCaptureFrame();
35
36 QString capturePath() const;
37 void setCapturePath(const QString &path);
38
39 QString capturePrefix() const;
40 void setCapturePrefix(const QString &prefix);
41
42 QString capturedFileName();
43 QStringList capturedFilesNames();
44
45 bool isLoaded() const;
46 bool isCapturing() const;
47 void openCapture() const;
48
49private:
50 QScopedPointer<QGraphicsFrameCapturePrivate> d;
51};
52
54
55#endif // QGRAPHICSFRAMECAPTURE_P_H
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Definition qrhi.h:1804
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLsizei const GLchar *const * path