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
18{
19 QString name;
20 QString extension;
21 QString arguments;
22};
23
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;
36 int lastFrameSec = 5;
37 QSize size;
38 QString ffmpegPath;
40 QString h264Encoder;
43
44
45 // The following are additional settings, which will not be serialized in
46 // the RecorderExportConfiguration
49 QSize imageSize;
50
53 int framesCount = 0;
54
55 bool realTimeCaptureMode = false;
57};
58
59
60#endif // KRITA_RECORDER_EXPORT_SETTINGS_H
RecorderFormat
QList< RecorderProfile > profiles
QList< RecorderProfile > defaultProfiles