]> git.sesse.net Git - kdenlive/blobdiff - src/colorpickerwidget.h
Fix color selection widget when getting average color for a region
[kdenlive] / src / colorpickerwidget.h
index 16782e79d7656e9854e45ae6b5a75aa5a372b1bf..7838fcf4fab09c4e0d168c9482342e79c9b15c5d 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <QtCore>
 #include <QWidget>
+#include <QFrame>
 
 class QSpinBox;
 class QFrame;
@@ -31,6 +32,19 @@ class QFrame;
 #endif
 
 
+class MyFrame : public QFrame
+{
+    Q_OBJECT
+public:
+    MyFrame(QWidget* parent = 0);
+
+protected:
+    virtual void hideEvent ( QHideEvent * event );
+
+signals:
+    void getColor();
+};
+
 /**
  * @class ColorPickerWidget
  * @brief A widget to pick a color anywhere on the screen.