X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=6b0f711aa7759dffaf4a6e3dd1137e99a9de5ba8;hb=8cd7e7b5ab508f07f80eae762b54e7cbc8afa36c;hp=141c7e246621c8ab7819631d95086a3e4f17cba0;hpb=76c9abb930245e56533fb0282b919deb33a6d126;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index 141c7e24..6b0f711a 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -61,7 +61,6 @@ class EffectStackView2; class TransitionSettings; class Monitor; class RecMonitor; -class CustomTrackView; class RenderWidget; #ifdef USE_JOGSHUTTLE class JogShuttle; @@ -77,7 +76,6 @@ class Waveform; class RGBParade; class KActionCollection; class AudioSignal; -class AbstractAudioScopeWidget; class AudioSpectrum; class Spectrogram; @@ -204,7 +202,7 @@ private: QUndoView *m_undoView; QUndoGroup *m_commandStack; - KComboBox *m_timecodeFormat; + KSelectAction *m_timeFormatButton; /** This list holds all the scopes used in Kdenlive, allowing to manage some global settings */ QList m_gfxScopesList; @@ -365,6 +363,7 @@ private slots: void slotConnectMonitors(); void slotUpdateClip(const QString &id); void slotUpdateMousePosition(int pos); + void slotUpdateProjectDuration(int pos); void slotAddEffect(const QDomElement effect); void slotEditProfiles(); void slotDetectAudioDriver(); @@ -498,12 +497,12 @@ private slots: void slotUpdateClipType(QAction *action); void slotShowTimeline(bool show); void slotMaximizeCurrent(bool show); - void slotTranscode(KUrl::List urls = KUrl::List()); + void slotTranscode(const KUrl::List &urls = KUrl::List()); void slotStartClipAction(); void slotTranscodeClip(); /** @brief Archive project: creates a copy of the project file with all clips in a new folder. */ void slotArchiveProject(); - void slotSetDocumentRenderProfile(QMap props); + void slotSetDocumentRenderProfile(const QMap &props); void slotPrepareRendering(bool scriptExport, bool zoneOnly, const QString &chapterFile); /** @brief Switches between displaying frames or timecode. @@ -555,7 +554,7 @@ private slots: /** @brief Insert current project's timecode into the notes widget. */ void slotInsertNotesTimecode(); /** @brief Open the project's backupdialog. */ - void slotOpenBackupDialog(const KUrl url = KUrl()); + void slotOpenBackupDialog(const KUrl &url = KUrl()); /** @brief Disable proxies for this project. */ void slotDisableProxies(); @@ -568,6 +567,12 @@ private slots: void slotSaveTimelineClip(); /** @brief Process keyframe data sent from a clip to effect / transition stack. */ void slotProcessImportKeyframes(GRAPHICSRECTITEM type, const QString& data, int maximum); + /** @brief Move playhead to mouse curser position if defined key is pressed */ + void slotAlignPlayheadToMousePos(); + /** @brief Set MLT's consumer deinterlace method */ + void slotSetDeinterlacer(int ix); + /** @brief Set MLT's consumer interpolation method */ + void slotSetInterpolation(int ix); signals: Q_SCRIPTABLE void abortRenderJob(const QString &url);