class RenderWidget;
#ifndef NO_JOGSHUTTLE
class JogShuttle;
+class JogShuttleAction;
#endif /* NO_JOGSHUTTLE */
class DocClipBase;
class Render;
class RGBParade;
class KActionCollection;
class AudioSignal;
+class AbstractAudioScopeWidget;
class AudioSpectrum;
class Spectrogram;
KComboBox *m_timecodeFormat;
/** This list holds all the scopes used in Kdenlive, allowing to manage some global settings */
- QList <QDockWidget *> m_scopesList;
+ QList <QDockWidget *> m_gfxScopesList;
+ QList <AbstractAudioScopeWidget *> m_audioScopesList;
QMenu *m_videoEffectsMenu;
QMenu *m_audioEffectsMenu;
/** Actions used in the stopmotion widget */
KActionCategory *m_stopmotion_actions;
+
+ /** Action names that can be used in the slotDoAction() slot, with their i18n() names */
+ QStringList m_action_names;
+
/** @brief Shortcut to remove the focus from any element.
*
#ifndef NO_JOGSHUTTLE
JogShuttle *m_jogProcess;
+ JogShuttleAction* m_jogShuttle;
#endif /* NO_JOGSHUTTLE */
KRecentFilesAction *m_fileOpenRecent;
KAction *m_loopZone;
KAction *m_playZone;
KAction *m_loopClip;
+ KSelectAction *m_loadLayout;
StatusBarMessageLabel *m_messageLabel;
QActionGroup *m_clipTypeGroup;
KActionCollection *m_effectsActionCollection;
void saveOptions();
#ifndef NO_JOGSHUTTLE
void activateShuttleDevice();
- void slotShuttleAction(int code);
#endif /* NO_JOGSHUTTLE */
void connectDocumentInfo(KdenliveDoc *doc);
void findAhead();
private slots:
void newFile(bool showProjectSettings = true, bool force = false);
- void queryQuit();
void activateDocument();
void connectDocument(TrackView*, KdenliveDoc*);
void slotAddCustomEffect(QAction *result);
void slotAddTransition(QAction *result);
void slotAddProjectClip(KUrl url);
-#ifndef NO_JOGSHUTTLE
- void slotShuttleButton(int code);
-#endif /* NO_JOGSHUTTLE */
void slotShowClipProperties(DocClipBase *clip);
void slotShowClipProperties(QList <DocClipBase *>cliplist, QMap<QString, QString> commonproperties);
void slotActivateEffectStackView();
/** @brief The monitor informs that it needs (or not) to have frames sent by the renderer. */
void slotMonitorRequestRenderFrame(bool request);
/** @brief Check if someone needs the render frame sent. */
- void slotUpdateScopeFrameRequest();
+ void slotUpdateGfxScopeFrameRequest();
/** @brief Check if someone needs the render frame sent. */
- void slotDoUpdateScopeFrameRequest();
+ void slotDoUpdateGfxScopeFrameRequest();
+ void slotUpdateAudioScopeFrameRequest();
+ void slotDoUpdateAudioScopeFrameRequest();
/** @brief When switching between monitors, update the visible scopes. */
void slotUpdateColorScopes();
/** @brief Switch current monitor to fullscreen. */
void slotSwitchFullscreen();
/** @brief Open the stopmotion dialog. */
void slotOpenStopmotion();
-
+ /** @brief Implements all the actions that are int he ActionsCollection. */
+ void slotDoAction(const QString& action_name);
+ /** @brief Update project because the use of proxy clips was enabled / disabled. */
+ void slotUpdateProxySettings();
+
signals:
Q_SCRIPTABLE void abortRenderJob(const QString &url);
};