Krita Source Code Documentation
Loading...
Searching...
No Matches
recorder_export_settings.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2023 Florian Reiser <reiserfm@gmail.com>
3
*
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*
6
* The sourcecode of this file was moved from recorder_export.cpp
7
*/
8
9
#ifndef KRITA_RECORDER_EXPORT_SETTINGS_H
10
#define KRITA_RECORDER_EXPORT_SETTINGS_H
11
12
#include <QString>
13
#include <QList>
14
#include <QSize>
15
#include "
recorder_format.h
"
16
17
struct
RecorderProfile
18
{
19
QString
name
;
20
QString
extension
;
21
QString
arguments
;
22
};
23
24
struct
RecorderExportSettings
{
25
26
// The following settings are stored in the RecorderExportConfiguration
27
bool
resize
=
false
;
28
bool
lockRatio
=
false
;
29
bool
lockFps
=
false
;
30
bool
resultPreview
=
true
;
31
bool
extendResult
=
true
;
32
int
inputFps
= 30;
33
int
fps
= 30;
34
int
profileIndex
= 0;
35
int
firstFrameSec
= 2;
36
int
lastFrameSec
= 5;
37
QSize
size
;
38
QString
ffmpegPath
;
39
QString
videoDirectory
;
40
QString
h264Encoder
;
41
QList<RecorderProfile>
profiles
;
42
QList<RecorderProfile>
defaultProfiles
;
43
44
45
// The following are additional settings, which will not be serialized in
46
// the RecorderExportConfiguration
47
QString
inputDirectory
;
48
RecorderFormat
format
;
49
QSize
imageSize
;
50
51
QString
videoFileName
;
52
QString
videoFilePath
;
53
int
framesCount
= 0;
54
55
bool
realTimeCaptureMode
=
false
;
56
bool
realTimeCaptureModeWasSet
=
false
;
57
};
58
59
60
#endif
// KRITA_RECORDER_EXPORT_SETTINGS_H
QList
Definition
KisQStringListFwd.h:16
recorder_format.h
RecorderFormat
RecorderFormat
Definition
recorder_format.h:13
RecorderExportSettings
Definition
recorder_export_settings.h:24
RecorderExportSettings::ffmpegPath
QString ffmpegPath
Definition
recorder_export_settings.h:38
RecorderExportSettings::realTimeCaptureModeWasSet
bool realTimeCaptureModeWasSet
Definition
recorder_export_settings.h:56
RecorderExportSettings::profiles
QList< RecorderProfile > profiles
Definition
recorder_export_settings.h:41
RecorderExportSettings::defaultProfiles
QList< RecorderProfile > defaultProfiles
Definition
recorder_export_settings.h:42
RecorderExportSettings::videoFileName
QString videoFileName
Definition
recorder_export_settings.h:51
RecorderExportSettings::lockFps
bool lockFps
Definition
recorder_export_settings.h:29
RecorderExportSettings::fps
int fps
Definition
recorder_export_settings.h:33
RecorderExportSettings::inputDirectory
QString inputDirectory
Definition
recorder_export_settings.h:47
RecorderExportSettings::firstFrameSec
int firstFrameSec
Definition
recorder_export_settings.h:35
RecorderExportSettings::lastFrameSec
int lastFrameSec
Definition
recorder_export_settings.h:36
RecorderExportSettings::h264Encoder
QString h264Encoder
Definition
recorder_export_settings.h:40
RecorderExportSettings::imageSize
QSize imageSize
Definition
recorder_export_settings.h:49
RecorderExportSettings::resize
bool resize
Definition
recorder_export_settings.h:27
RecorderExportSettings::extendResult
bool extendResult
Definition
recorder_export_settings.h:31
RecorderExportSettings::videoFilePath
QString videoFilePath
Definition
recorder_export_settings.h:52
RecorderExportSettings::lockRatio
bool lockRatio
Definition
recorder_export_settings.h:28
RecorderExportSettings::size
QSize size
Definition
recorder_export_settings.h:37
RecorderExportSettings::resultPreview
bool resultPreview
Definition
recorder_export_settings.h:30
RecorderExportSettings::format
RecorderFormat format
Definition
recorder_export_settings.h:48
RecorderExportSettings::realTimeCaptureMode
bool realTimeCaptureMode
Definition
recorder_export_settings.h:55
RecorderExportSettings::profileIndex
int profileIndex
Definition
recorder_export_settings.h:34
RecorderExportSettings::videoDirectory
QString videoDirectory
Definition
recorder_export_settings.h:39
RecorderExportSettings::framesCount
int framesCount
Definition
recorder_export_settings.h:53
RecorderExportSettings::inputFps
int inputFps
Definition
recorder_export_settings.h:32
RecorderProfile
Definition
recorder_export_settings.h:18
RecorderProfile::arguments
QString arguments
Definition
recorder_export_settings.h:21
RecorderProfile::extension
QString extension
Definition
recorder_export_settings.h:20
RecorderProfile::name
QString name
Definition
recorder_export_settings.h:19
plugins
dockers
recorder
recorder_export_settings.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52