]> git.sesse.net Git - kdenlive/blobdiff - src/doubleparameterwidget.h
Use label at the bottom of the effect stack instead of tooltips for showing parameter...
[kdenlive] / src / doubleparameterwidget.h
index 0a914a40b9a395e5159f7881563b63bf471cae8d..15fa4a0ec43086c4b9b45c261585845aa937c6b5 100644 (file)
@@ -49,8 +49,10 @@ public:
     * @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 &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. */
     int getValue();
 
@@ -61,14 +63,20 @@ public slots:
     /** @brief Sets value to m_default. */
     void slotReset();
 
+private slots:
+    /** @brief Emits showComment with m_comment. */
+    void slotShowComment();
+
 private:
     int m_default;
     QLabel *m_name;
     QSlider *m_slider;
     QSpinBox *m_spinBox;
+    QString m_comment;
     
 signals:
     void valueChanged(int);
+    void showComment(const QString&);
 };
 
 #endif