From 19f6e8810cdaedcbecd87aa762c75e59bebe26c9 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sat, 13 Oct 2018 11:52:08 +0200 Subject: Start to implement a simplified version of the filter widget The idea of this new widget is to be able to filter more types of data, while keeping it simple and extending the feature set to something that was impossible with the old implementation. While the old implementation had 4 panels that you could use to filter specific tags / people / types of dives the new one will let you filter by visibility, temperature people, name, equipment, etc, in a more natural way than the old one. Signed-off-by: Tomaz Canabrava --- desktop-widgets/filterwidget2.ui | 260 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 260 insertions(+) create mode 100644 desktop-widgets/filterwidget2.ui (limited to 'desktop-widgets/filterwidget2.ui') diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui new file mode 100644 index 000000000..bf6d6a8ed --- /dev/null +++ b/desktop-widgets/filterwidget2.ui @@ -0,0 +1,260 @@ + + + FilterWidget2 + + + + 0 + 0 + 510 + 320 + + + + Form + + + + + + Min + + + + + + + + 0 + 0 + + + + Qt::TabFocus + + + + + + + + + + + 0 + 0 + + + + Qt::TabFocus + + + + + + + Tags + + + + + + + Rating + + + + + + + + 0 + 0 + + + + Qt::TabFocus + + + + + + + People + + + + + + + Max + + + + + + + Min + + + + + + + + + + Display dives that will not match the search, only applies to tags, people, location and equipment + + + Invert filter + + + + + + + Max + + + + + + + + + + + + + + 0 + 0 + + + + Qt::TabFocus + + + + + + + + + + Equipment + + + + + + + Max + + + + + + + Location + + + + + + + + + + + + + + + + From + + + + + + + To + + + + + + + Visibility + + + + + + + Water Temp + + + + + + + Min + + + + + + + Air Temp + + + + + + + Min + + + + + + + Max + + + + + + + + + + + + + + StarWidget + QWidget +
desktop-widgets/starwidget.h
+ 1 +
+
+ + minRating + maxRating + minVisibility + maxVisibility + from + to + tags + people + location + equipment + invertFilter + + + +
-- cgit v1.2.3-70-g09d2