]> git.sesse.net Git - kdenlive/blobdiff - src/doubleparameterwidget.h
Make it possible to add a comment explaining effect parameters (for now only double...
[kdenlive] / src / doubleparameterwidget.h
index 87c30b668857f40149c3859a54c26d7ab02590dc..0a914a40b9a395e5159f7881563b63bf471cae8d 100644 (file)
@@ -45,9 +45,10 @@ public:
     * @param min Minimum value
     * @param max maximum value
     * @param defaultValue Value used when using reset functionality
+    * @param comment A comment explaining the parameter. Will be shown for the tooltip.
     * @param suffix (optional) Suffix to display in spinbox
     * @param parent (optional) Parent Widget */
-    DoubleParameterWidget(const QString &name, int value, int min, int max, int defaultValue, const QString suffix = QString(), QWidget* parent = 0);
+    DoubleParameterWidget(const QString &name, int value, int min, int max, int defaultValue, const QString &comment, const QString suffix = QString(), QWidget* parent = 0);
     /** @brief Updates the label to display @param name. */
     void setName(const QString &name);
     /** @brief Gets the parameter's value. */