#FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.svg*")
kde4_install_icons( ${DATA_INSTALL_DIR}/kdenlive/icons)
-#install( FILES ${files} DESTINATION ${ICON_INSTALL_DIR} )
\ No newline at end of file
+#install( FILES ${files} DESTINATION ${ICON_INSTALL_DIR} )
class AbstractClipItem : public QObject, public QGraphicsRectItem
{
Q_OBJECT
-#if QT_VERSION >= 0x040600
Q_PROPERTY(QRectF rect READ rect WRITE setRect)
-#endif
public:
AbstractClipItem(const ItemInfo &info, const QRectF& rect, double fps);
find_package(SharedMimeInfo REQUIRED)
install(FILES kdenlive.xml westley.xml DESTINATION ${XDG_MIME_INSTALL_DIR})
-update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
\ No newline at end of file
+update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR})
else {
QPropertyAnimation *startAnimation = new QPropertyAnimation(this, "rect");
startAnimation->setDuration(200);
- QRectF r(0, 0, m_info.cropDuration.frames(fps) - 0.02, (qreal) itemHeight() / 2);
- QRectF r2(0, 0, m_info.cropDuration.frames(fps) - 0.02, (qreal)itemHeight());
+ const QRectF r(0, 0, m_info.cropDuration.frames(fps) - 0.02, (qreal) itemHeight() / 2);
+ const QRectF r2(0, 0, m_info.cropDuration.frames(fps) - 0.02, (qreal)itemHeight());
startAnimation->setStartValue(r);
startAnimation->setEndValue(r2);
startAnimation->setEasingCurve(QEasingCurve::OutQuad);
int defaultZValue() const;
/** @brief When a transition is resized, check if keyframes are out of the transition and fix if necessary. */
bool updateKeyframes();
- void animate();
+
protected:
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);