class Render;
class Transition;
-class MainWindow : public KXmlGuiWindow {
+class MainWindow : public KXmlGuiWindow
+{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kdenlive.MainWindow")
* The constructor inits the main window. If Url is present, it will be opened.
* If Url is not present, and openLastproject is set, last project will be set
* If no file is open after trying this, a default "newfile" will be created. */
- MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
+ explicit MainWindow(const QString &MltPath = QString(), const KUrl & Url = KUrl(), QWidget *parent = 0);
void parseProfiles(const QString &mltPath = QString());
static EffectsList videoEffects;
QAction *m_loopZone;
QAction *m_playZone;
StatusBarMessageLabel *m_messageLabel;
+ QActionGroup *m_clipTypeGroup;
bool m_findActivated;
QString m_findString;
QActionGroup *actionGroup);
void aboutPlugins();
QStringList m_pluginFileNames;
+ QByteArray m_timelineState;
public slots:
void openFile(const KUrl &url);
void slotSwitchMarkersComments();
void slotSwitchSnap();
void slotRenderProject();
- void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile);
+ void slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile, const QString &scriptExport);
void slotFullScreen();
void slotUpdateDocumentState(bool modified);
void slotZoomIn();
void slotInsertTrack(int ix = 0);
void slotDeleteTrack(int ix = 0);
void slotChangeTrack(int ix = 0);
- void slotGetNewStuff();
+ void slotGetNewLumaStuff();
+ void slotGetNewRenderStuff();
+ void slotGetNewMltProfileStuff();
void slotAutoTransition();
void slotRunWizard();
void generateClip();
void slotZoneMoved(int start, int end);
void slotUpdatePreviewSettings();
- void slotDvdWizard(const QString &url = QString());
+ void slotDvdWizard(const QString &url = QString(), const QString &profile = "dv_pal");
+ void slotGroupClips();
+ void slotUnGroupClips();
+ void slotSplitAudio();
+ void slotUpdateClipType(QAction *action);
+ void slotShowTimeline(bool show);
+ void slotMaximizeCurrent(bool show);
signals:
Q_SCRIPTABLE void abortRenderJob(const QString &url);