]> git.sesse.net Git - kdenlive/blobdiff - src/choosecolorwidget.h
Improve support for multi-stream clips:
[kdenlive] / src / choosecolorwidget.h
index 4c2c2ff2bb46246043e7b3e57457d0b4c8438687..24ab8cbc70004a62bbd74334529534647b9d8b0f 100644 (file)
@@ -38,14 +38,12 @@ class ChooseColorWidget : public QWidget
 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(), QString color = "0xffffffff", QWidget* parent = 0);
+    * @param color (optional) initial color 
+    * @param alphaEnabled (optional) Should transparent colors be enabled */
+    explicit ChooseColorWidget(QString text = QString(), QString color = "0xffffffff", bool alphaEnabled = false, QWidget* parent = 0);
 
     /** @brief Gets the choosen color. */
     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;