X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=6b0f711aa7759dffaf4a6e3dd1137e99a9de5ba8;hb=9999e7e3faa786ebf2fc01a5a1105b0389101e7b;hp=a7f1c2c76dbf311b4a38aec2254231276aad377e;hpb=e8cb078eb6a33d286c9fe2aff730980f7a2eff32;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index a7f1c2c7..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; @@ -305,7 +303,7 @@ private: QStringList m_pluginFileNames; QByteArray m_timelineState; void loadTranscoders(); - void loadStabilize(); + void loadClipActions(); QPixmap createSchemePreviewIcon(const KSharedConfigPtr &config); /** @brief Checks that the Kdenlive mime type is correctly installed. @@ -318,7 +316,8 @@ private: StopmotionWidget *m_stopmotion; QTime m_timer; - + /** @brief The last selected clip in timeline. */ + ClipItem *m_mainClip; /** @brief Update statusbar stylesheet (in case of color theme change). */ void setStatusBarStyleSheet(const QPalette &p); @@ -327,7 +326,7 @@ public slots: * * Checks if already open and whether backup exists */ void openFile(const KUrl &url); - void slotGotProgressInfo(const QString &message, int progress); + void slotGotProgressInfo(const QString &message, int progress, MessageType type = DefaultMessage); void slotReloadEffects(); Q_SCRIPTABLE void setRenderingProgress(const QString &url, int progress); Q_SCRIPTABLE void setRenderingFinished(const QString &url, int status, const QString &error); @@ -364,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(); @@ -485,7 +485,7 @@ private slots: /** @brief Lets the sampleplugin create a generator. */ void generateClip(); void slotZoneMoved(int start, int end); - void slotDvdWizard(const QString &url = QString(), const QString &profile = "dv_pal"); + void slotDvdWizard(const QString &url = QString()); void slotGroupClips(); void slotUnGroupClips(); void slotEditItemDuration(); @@ -497,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 slotStabilize(); + 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. @@ -554,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(); @@ -565,6 +565,14 @@ private slots: void slotChangePalette(); /** @brief Save current timeline clip as mlt playlist. */ 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);