X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fslideshowclip.h;h=69fc496fcbcfee1c950aa8b21a6541a62ddcffbd;hb=8d37be5eb4693a75a8354fa91613f3fcd9adab4b;hp=9120de9a3ecfc8a7c4d83ac0bbb70334b449994e;hpb=d5363787d623deff631d695dead90aabba0610a3;p=kdenlive diff --git a/src/slideshowclip.h b/src/slideshowclip.h index 9120de9a..69fc496f 100644 --- a/src/slideshowclip.h +++ b/src/slideshowclip.h @@ -37,18 +37,26 @@ 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 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, 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();