summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-11-16 14:04:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 18:34:47 +0000
commit7c5c38b154baeeb05d2c70a3c248cda41349133a (patch)
tree4084a8661d50e536f96eb9e98e327ee25a1bcc27 /qt-ui/simplewidgets.h
parent7967d2bec1f90f230800ada64c7fe69b3f2009cd (diff)
downloadsubsurface-7c5c38b154baeeb05d2c70a3c248cda41349133a.tar.gz
Addded a min / max layout for the filter, and a filter count
But the filter count seems to be broken for some reason and I really don't know why. It seems to work for tags, but not for everything else. 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.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 68735451e..00992d6ec 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -130,15 +130,21 @@ private:
struct dive_components *what;
};
-class MultiFilter : public QScrollArea {
+namespace Ui{
+ class FilterWidget2;
+};
+
+class MultiFilter : public QWidget {
Q_OBJECT
public
slots:
void closeFilter();
+ void adjustHeight();
+ void filterFinished();
+
public:
MultiFilter(QWidget *parent);
- QWidget *expandedWidget;
- QWidget *minimizedWidget;
+ Ui::FilterWidget2 *ui;
};
class TagFilter : public QWidget {