]> git.sesse.net Git - kdenlive/blobdiff - src/slideshowclip.h
Do not hide render profile list when there is only one item:
[kdenlive] / src / slideshowclip.h
index dc9d07bbe70b5b9e9d8bcccd5327a3e5bc412680..4189987bde1846134f0a5f33bbb4b15ce88c7db1 100644 (file)
@@ -43,14 +43,22 @@ public:
     QString lumaDuration() const;
     int imageCount() const;
     bool loop() const;
+    bool crop() const;
     bool fade() const;
     QString lumaFile() const;
     int softness() const;
+    QString animation() const;
+    /** @brief Return the first number for the sequence begining */
+    int begin() const;
 
     /** @brief Check if there are several files with filename pattern, like: image_001.jpg, image_002.jpg,... */
     static int sequenceCount(KUrl file);
+    /** @brief Get the image frame number from a file path, for example image_047.jpg will return 47. */
+    static int getFrameNumberFromPath(KUrl path);
     /** @brief return the url pattern for selected slideshow. */
-    static QString selectedPath(KUrl url, bool isMime, QString extension, int *count);
+    static QString selectedPath(KUrl url, bool isMime, QString extension, QStringList *list);
+    /** @brief Convert the selection animation style into an affine geometry string. */
+    static QString animationToGeometry(const QString &animation, int &ttl);
 
 private slots:
     void parseFolder();
@@ -66,6 +74,7 @@ private slots:
 private:
     Ui::SlideshowClip_UI m_view;
     int m_count;
+    int m_patternBegin;
     Timecode m_timecode;
     KIO::PreviewJob *m_thumbJob;
 };