+ /** @brief Lists effects names. */
+ QStringList effectNames();
+ QString getInfo(const QString & tag, const QString & id) const;
+ QString getInfoFromIndex(const int ix) const;
+ QString getEffectInfo(const QDomElement &effect) const;
+ void clone(const EffectsList &original);
+ QDomElement append(QDomElement e);
+ bool isEmpty() const;
+ int count() const;
+ const QDomElement at(int ix) const;
+ void removeAt(int ix);
+ QDomElement itemFromIndex(int ix) const;
+ QDomElement insert(QDomElement effect);
+ void updateEffect(const QDomElement &effect);
+ static bool hasKeyFrames(const QDomElement &effect);
+ static bool hasSimpleKeyFrames(const QDomElement &effect);
+ static bool hasGeometryKeyFrames(const QDomElement &effect);
+ static void setParameter(QDomElement effect, const QString &name, const QString &value);
+ static QString parameter(const QDomElement &effect, const QString &name);
+ /** @brief Change the value of a 'property' element from the effect node. */
+ static void setProperty(QDomElement effect, const QString &name, const QString &value);
+ /** @brief Rename a 'property' element from the effect node. */
+ static void renameProperty(QDomElement effect, const QString &oldName, const QString &newName);
+ /** @brief Get the value of a 'property' element from the effect node. */
+ static QString property(QDomElement effect, const QString &name);
+ /** @brief Delete a 'property' element from the effect node. */
+ static void removeProperty(QDomElement effect, const QString &name);
+ /** @brief Remove all 'meta.*' properties from a producer, used when replacing proxy producers in xml for rendering. */
+ static void removeMetaProperties(QDomElement producer);
+ void clearList();
+ /** @brief Get am effect with effect index equal to ix. */
+ QDomElement effectFromIndex(const QDomNodeList &effects, int ix);
+ /** @brief Update all effects indexes to make sure they are 1, 2, 3, ... */
+ void updateIndexes(QDomNodeList effects, int startIndex);
+ /** @brief Enable / disable a list of effects */
+ void enableEffects(const QList<int> &indexes, bool disable);