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
21
QT_BEGIN_NAMESPACE
22
23
class
QGraphicsFrameCapturePrivate
;
24
class
QRhi
;
25
26
class
Q_GUI_EXPORT
QGraphicsFrameCapture
27
{
28
public
:
29
QGraphicsFrameCapture
();
30
~QGraphicsFrameCapture
();
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
49
private
:
50
QScopedPointer<QGraphicsFrameCapturePrivate>
d
;
51
};
52
53
QT_END_NAMESPACE
54
55
#endif
// QGRAPHICSFRAMECAPTURE_P_H
QGraphicsFrameCapturePrivate
Definition
qgraphicsframecapture_p_p.h:31
QGraphicsFrameCapture
Definition
qgraphicsframecapture_p.h:27
QRhi
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Definition
qrhi.h:1804
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
path
GLsizei const GLchar *const * path
Definition
qopenglext.h:4283
d
double d
Definition
src_corelib_text_qlocale.cpp:9
qtbase
src
gui
util
qgraphicsframecapture_p.h
Generated by
1.10.0