]> git.sesse.net Git - kdenlive/blobdiff - src/choosecolorwidget.h
Add GUI for MLT filter dynamic text.
[kdenlive] / src / choosecolorwidget.h
index deac2b818b9039c06195d1c87517e6694c3e0bc8..4c2c2ff2bb46246043e7b3e57457d0b4c8438687 100644 (file)
@@ -39,10 +39,13 @@ public:
     /** @brief Sets up the widget.
     * @param text (optional) What the color will be used for
     * @param color (optional) initial color */
-    ChooseColorWidget(QString text = QString(), QColor color = QColor(), QWidget* parent = 0);
+    ChooseColorWidget(QString text = QString(), QString color = "0xffffffff", QWidget* parent = 0);
 
     /** @brief Gets the choosen color. */
-    QColor getColor();
+    QString getColor();
+    /** @brief Enable the use of alpha channel.
+    * @param enabled (required) whether alpha is enabled or disabled */
+    void setAlphaChannelEnabled(bool enabled);
 
 private:
     KColorButton *m_button;