X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fslideshowclip.h;h=36ba0a2a3343dcd5e6a95b2c30f46db3f20b01c3;hb=e3b4bf11679a3a195be8896f465b1616581f1fb3;hp=2bd70acb8f830f437e61a9da8c230e89f79af2e9;hpb=2a5b3fb98f98e7679acd50c957003c3723e347a5;p=kdenlive diff --git a/src/slideshowclip.h b/src/slideshowclip.h index 2bd70acb..36ba0a2a 100644 --- a/src/slideshowclip.h +++ b/src/slideshowclip.h @@ -37,15 +37,24 @@ public: SlideshowClip(Timecode tc, QWidget * parent = 0); virtual ~ SlideshowClip(); /** return selected path for slideshow in MLT format */ - QString selectedPath() const; + QString selectedPath(); QString clipName() const; QString clipDuration() const; 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 Check if there are several files with filename pattern, like: image_001.jpg, image_002.jpg,... */ + static int sequenceCount(KUrl file); + /** @brief return the url pattern for selected slideshow. */ + static QString selectedPath(KUrl url, bool isMime, QString extension, int *count); + /** @brief Convert the selection animation style into an affine geometry string. */ + static QString animationToGeometry(const QString &animation, int &ttl); private slots: void parseFolder();