diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-11-16 14:04:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-16 18:34:47 +0000 |
commit | 7c5c38b154baeeb05d2c70a3c248cda41349133a (patch) | |
tree | 4084a8661d50e536f96eb9e98e327ee25a1bcc27 /qt-ui/simplewidgets.h | |
parent | 7967d2bec1f90f230800ada64c7fe69b3f2009cd (diff) | |
download | subsurface-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.h | 12 |
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 { |