X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomtrackview.h;h=344a01a25565a91df13512c9eb0a641fc19978b9;hb=f694ca2820be2eb00f589edbbe97f61218df92bd;hp=240d5f19e1bb6a0a367dc5eb9f20558a86d1e3d0;hpb=17a4a5bf6c8ab0cb1554a010a002a2e208d988c9;p=kdenlive diff --git a/src/customtrackview.h b/src/customtrackview.h index 240d5f19..344a01a2 100644 --- a/src/customtrackview.h +++ b/src/customtrackview.h @@ -205,6 +205,9 @@ public: int getFrameWidth(); /** @brief Returns last requested seeking pos (or SEEK_INACTIVE if no seek). */ int seekPosition() const; + + /** @brief Trigger a monitor refresh. */ + void monitorRefresh(); public slots: /** @brief Send seek request to MLT. */ @@ -302,6 +305,9 @@ public slots: void slotAddEffect(ClipItem *clip, QDomElement effect); void slotImportClipKeyframes(GRAPHICSRECTITEM type); + /** @brief Get effect parameters ready for MLT*/ + static void adjustEffectParameters(EffectsParameterList ¶meters, QDomNodeList params, MltVideoProfile profile, const QString &prefix = QString()); + protected: virtual void drawBackground(QPainter * painter, const QRectF & rect); //virtual void drawForeground ( QPainter * painter, const QRectF & rect ); @@ -403,7 +409,7 @@ private: ClipItem *getClipUnderCursor() const; AbstractClipItem *getMainActiveClip() const; void resetSelectionGroup(bool selectItems = true); - void groupSelectedItems(bool force = false, bool createNewGroup = false); + void groupSelectedItems(QList selection = QList (), bool force = false, bool createNewGroup = false, bool selectNewGroup = false); /** Get available space for clip move (min and max free positions) */ void getClipAvailableSpace(AbstractClipItem *item, GenTime &minimum, GenTime &maximum); /** Get available space for transition move (min and max free positions) */ @@ -475,9 +481,6 @@ private: /** @brief Prepare an add clip command for an effect */ void processEffect(ClipItem *item, QDomElement effect, int offset, QUndoCommand *effectCommand); - - /** @brief Get effect parameters ready for MLT*/ - void adjustEffectParameters(EffectsParameterList ¶meters, QDomNodeList params, const QString &prefix = QString()); private slots: void slotRefreshGuides(); @@ -495,7 +498,7 @@ private slots: * @param resetThumbs Should we recreate the timeline thumbnails. */ void slotRefreshThumbs(const QString &id, bool resetThumbs); /** @brief A Filter job producer results. */ - void slotGotFilterJobResults(const QString &id, int startPos, int track, const QString &filter, stringMap filterParams, QStringList extra); + void slotGotFilterJobResults(const QString &id, int startPos, int track, stringMap filterParams, stringMap extra); signals: @@ -527,7 +530,7 @@ signals: /** @brief Cursor position changed, repaint ruler.*/ void updateRuler(); /** @brief Send data from a clip to be imported as keyframes for effect / transition.*/ - void importKeyframes(GRAPHICSRECTITEM type, const QString&); + void importKeyframes(GRAPHICSRECTITEM type, const QString&, int maximum); }; #endif