Marble

TourCaptureDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2014 Sanjiban Bairagya <sanjiban22393@gmail.com>
4//
5
6#ifndef TOURCAPTUREDIALOG_H
7#define TOURCAPTUREDIALOG_H
8
9#include <QDialog>
10
11#include "marble_export.h"
12
13namespace Ui {
14class TourCaptureDialog;
15}
16
17namespace Marble {
18
19class MarbleWidget;
20
21class MovieCapture;
22class TourPlayback;
23class MARBLE_EXPORT TourCaptureDialog : public QDialog
24{
25 Q_OBJECT
26
27public:
28 explicit TourCaptureDialog(MarbleWidget *widget, QWidget *parent = nullptr);
29 ~TourCaptureDialog() override;
30
31public Q_SLOTS:
32 void startRecording();
33 void stopRecording();
34 void setRate( double rate );
35 void setTourPlayback( TourPlayback* playback );
36 void setDefaultFilename( const QString &filename );
37 void handleError();
38
39private Q_SLOTS:
40 void loadDestinationFile();
41 void updateProgress( double position );
42 void recordNextFrame();
43
44private:
45 Ui::TourCaptureDialog *ui;
46 MovieCapture *m_recorder;
47 TourPlayback *m_playback;
48 bool m_writingPossible;
49 double m_current_position;
50 QString m_defaultFileName;
51};
52
53} // namespace Marble
54
55#endif // MOVIECAPTUREDIALOG_H
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.