#include "statusbarmessagelabel.h"
#include "dvdwizard.h"
#include "stopmotion/stopmotion.h"
+#include "noteswidget.h"
class KdenliveDoc;
class TrackView;
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;
//KListWidget *m_effectList;
QDockWidget *m_notesDock;
- KTextEdit *m_notesWidget;
+ NotesWidget *m_notesWidget;
QDockWidget *m_effectStackDock;
EffectStackView *m_effectStack;
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;
- QMenu *m_customEffectsMenu;
+ KActionCategory *m_effectActions;
+ QMenu *m_effectsMenu;
QMenu *m_transitionsMenu;
QMenu *m_timelineContextMenu;
QMenu *m_timelineContextClipMenu;
/** 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 slotSelectAddTimelineClip();
void slotSelectAddTimelineTransition();
void slotAddVideoEffect(QAction *result);
- void slotAddAudioEffect(QAction *result);
- 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();
+ void slotActivateEffectStackView(ClipItem* item = NULL, int ix = -1, bool raise = true);
void slotActivateTransitionView(Transition *);
void slotChangeTool(QAction * action);
void slotChangeEdit(QAction * action);
/** @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();
+ /** @brief Insert current project's timecode into the notes widget. */
+ void slotInsertNotesTimecode();
signals:
Q_SCRIPTABLE void abortRenderJob(const QString &url);
};