summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 16:49:52 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 14:58:55 -0700
commit358611d029c68a3f402b8387f34946ac6acb64e7 (patch)
tree43007c18c8e0a0c992bedc118ad2d293d2b6d38b /qt-ui/simplewidgets.h
parentb1d76ed4d794ca1d97c81e769470e3da79c20b17 (diff)
downloadsubsurface-358611d029c68a3f402b8387f34946ac6acb64e7.tar.gz
Implement the Buddy Filter interface.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index f90e5478c..02467e201 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -140,6 +140,16 @@ private:
Ui::FilterWidget ui;
};
+class BuddyFilter : public QWidget {
+ Q_OBJECT
+public:
+ BuddyFilter(QWidget *parent = 0);
+ virtual void showEvent(QShowEvent *);
+ virtual void hideEvent(QHideEvent *);
+private:
+ Ui::FilterWidget ui;
+};
+
class MultiFilter : public QScrollArea {
Q_OBJECT
public: