File indexing completed on 2022-11-22 14:07:49

0001 /*
0002     this file is part of Kdenlive, the Libre Video Editor by KDE
0003     SPDX-FileCopyrightText: 2019 Vincent Pinon <vpinon@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006 */
0007 
0008 #pragma once
0009 
0010 #include "pythoninterfaces/abstractpythoninterface.h"
0011 
0012 #include <QDialog>
0013 #include <QObject>
0014 #include <QProcess>
0015 #include <QTemporaryFile>
0016 
0017 class OtioConvertions: public AbstractPythonInterface
0018 {
0019     Q_OBJECT
0020 public:
0021     OtioConvertions();
0022     bool getOtioConverters();
0023     bool configureSetup();
0024     bool wellConfigured();
0025     bool runOtioconvert(const QString &inputFile, const QString &outputFile);
0026 
0027 private:
0028     QString m_importAdapters;
0029     QString m_exportAdapters;
0030 
0031 public slots:
0032     void slotExportProject();
0033     void slotImportProject();
0034 };