summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-09-17 13:51:08 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-17 15:27:21 -0700
commita59ac2199ba12e278be176dfe03378e954715ec1 (patch)
tree1302b0c0b0da555cf2bdb0eee70935e240a23fad /qt-ui
parentd4bdb8c73d82f41551348b2d3bda14ed0c3310c5 (diff)
downloadsubsurface-a59ac2199ba12e278be176dfe03378e954715ec1.tar.gz
Add skeleton to the Tag Filtering.
Just the ui file and a empty class to start playing with it. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/simplewidgets.h7
-rw-r--r--qt-ui/tagfilter.ui27
2 files changed, 34 insertions, 0 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index b41189fe5..1673055c0 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -12,6 +12,7 @@ class QAbstractButton;
#include "ui_shifttimes.h"
#include "ui_shiftimagetimes.h"
#include "ui_divecomponentselection.h"
+#include "ui_tagfilter.h"
#include "exif.h"
class MinMaxAvgWidget : public QWidget {
@@ -126,6 +127,12 @@ private:
struct dive_components *what;
};
+class TagFilter : public QWidget {
+ Q_OBJECT
+public:
+ TagFilter(QWidget *parent);
+};
+
bool isGnome3Session();
QImage grayImage(const QImage& coloredImg);
diff --git a/qt-ui/tagfilter.ui b/qt-ui/tagfilter.ui
new file mode 100644
index 000000000..91078ed82
--- /dev/null
+++ b/qt-ui/tagfilter.ui
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>TagFilter</class>
+ <widget class="QWidget" name="TagFilter">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>300</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLineEdit" name="filterTag"/>
+ </item>
+ <item>
+ <widget class="QListView" name="tagView"/>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>