summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-11-03 17:39:31 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-03 14:33:15 -0800
commitc65583671b86cdba93b31ea9ad29307179af703b (patch)
tree488a7d8a2e184ce9a986f8e93eed98042ed5b6d4 /qt-ui/simplewidgets.h
parent5fa2851bdf9bb3968054bf288f96cc832196ba35 (diff)
downloadsubsurface-c65583671b86cdba93b31ea9ad29307179af703b.tar.gz
Fix position and size of the Filter
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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index 5fbdad613..b33dd8f9a 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -130,6 +130,12 @@ private:
struct dive_components *what;
};
+class MultiFilter : public QScrollArea {
+ Q_OBJECT
+public:
+ MultiFilter(QWidget *parent);
+};
+
class TagFilter : public QWidget {
Q_OBJECT
public:
@@ -139,6 +145,7 @@ public:
private:
Ui::FilterWidget ui;
+ friend class MultiFilter;
};
class BuddyFilter : public QWidget {
@@ -163,13 +170,6 @@ private:
Ui::FilterWidget ui;
};
-
-class MultiFilter : public QScrollArea {
- Q_OBJECT
-public:
- MultiFilter(QWidget *parent);
-};
-
bool isGnome3Session();
QImage grayImage(const QImage &coloredImg);