bool generateImageProxy() const;
/** @brief Returns a list of the expanded folder ids. */
QStringList expandedFolders() const;
+ /** @brief Deselect all clips in project tree. */
+ void clearSelection();
public slots:
void setDocument(KdenliveDoc *doc);
void updateAllClips(bool displayRatioChanged, bool fpsChanged);
void slotReplyGetImage(const QString &clipId, const QImage &img);
void slotReplyGetImage(const QString &clipId, const QString &name, int width, int height);
- void slotReplyGetFileProperties(const QString &clipId, Mlt::Producer *producer, const stringMap &properties, const stringMap &metadata, bool replace, bool refreshThumbnail);
+ void slotReplyGetFileProperties(const QString &clipId, Mlt::Producer *producer, const stringMap &properties, const stringMap &metadata, bool replace);
void slotAddClip(DocClipBase *clip, bool getProperties);
void slotDeleteClip(const QString &clipId);
void slotUpdateClip(const QString &id);
ItemDelegate *m_listViewDelegate;
/** @brief False if we have not yet finished opening the document. */
bool m_refreshed;
+ /** @brief False if we have not yet finished checking all project tree thumbs. */
+ bool m_allClipsProcessed;
QToolButton *m_addButton;
QToolButton *m_deleteButton;
QToolButton *m_editButton;
QList <PROXYINFO> m_proxyList;
QFutureSynchronizer<void> m_proxyThreads;
InvalidDialog *m_invalidClipDialog;
- QTimer m_refreshMonitorTimer;
void requestClipThumbnail(const QString id);
void setThumbnail(const QString &clipId, const QPixmap &pix);
/** @brief Get cached thumbnail for a project's clip or create it if no cache. */
void getCachedThumbnail(ProjectItem *item);
+ void getCachedThumbnail(SubProjectItem *item);
/** @brief The clip is about to be reloaded, cancel thumbnail requests. */
void resetThumbsProducer(DocClipBase *clip);
/** @brief Stop creation of this clip's proxy. */
void slotAbortProxy(const QString id, const QString path);
/** @brief Start creation of proxy clip. */
- void slotGenerateProxy();//const QString destPath, const QString sourcePath, int clipType, int exif);
- /** @brief Timer triggering a refresh of the clip monitor. */
- void slotRefreshMonitor();
+ void slotGenerateProxy();
signals:
void clipSelected(DocClipBase *, QPoint zone = QPoint());