mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
d4bdb8c73d
commit
a59ac2199b
3 changed files with 36 additions and 1 deletions
|
@ -12,6 +12,7 @@ class QAbstractButton;
|
||||||
#include "ui_shifttimes.h"
|
#include "ui_shifttimes.h"
|
||||||
#include "ui_shiftimagetimes.h"
|
#include "ui_shiftimagetimes.h"
|
||||||
#include "ui_divecomponentselection.h"
|
#include "ui_divecomponentselection.h"
|
||||||
|
#include "ui_tagfilter.h"
|
||||||
#include "exif.h"
|
#include "exif.h"
|
||||||
|
|
||||||
class MinMaxAvgWidget : public QWidget {
|
class MinMaxAvgWidget : public QWidget {
|
||||||
|
@ -126,6 +127,12 @@ private:
|
||||||
struct dive_components *what;
|
struct dive_components *what;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class TagFilter : public QWidget {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
TagFilter(QWidget *parent);
|
||||||
|
};
|
||||||
|
|
||||||
bool isGnome3Session();
|
bool isGnome3Session();
|
||||||
QImage grayImage(const QImage& coloredImg);
|
QImage grayImage(const QImage& coloredImg);
|
||||||
|
|
||||||
|
|
27
qt-ui/tagfilter.ui
Normal file
27
qt-ui/tagfilter.ui
Normal file
|
@ -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>
|
|
@ -221,7 +221,8 @@ FORMS = \
|
||||||
qt-ui/plannerSettings.ui \
|
qt-ui/plannerSettings.ui \
|
||||||
qt-ui/usersurvey.ui \
|
qt-ui/usersurvey.ui \
|
||||||
qt-ui/divecomponentselection.ui \
|
qt-ui/divecomponentselection.ui \
|
||||||
qt-ui/configuredivecomputerdialog.ui
|
qt-ui/configuredivecomputerdialog.ui \
|
||||||
|
qt-ui/tagfilter.ui
|
||||||
|
|
||||||
# Nether usermanual or printing is supported on android right now
|
# Nether usermanual or printing is supported on android right now
|
||||||
android: FORMS -= qt-ui/printoptions.ui
|
android: FORMS -= qt-ui/printoptions.ui
|
||||||
|
|
Loading…
Add table
Reference in a new issue