From 04cdfce782f2a104ab5d0ee92de67c7b6271835b Mon Sep 17 00:00:00 2001 From: Maximilian Güntner Date: Sat, 2 Nov 2013 02:20:02 +0100 Subject: Added a custom widget for tagging dives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A custom tag widget has been added to MainTab. Tags are seperated by a comma ",". The implementation supports escaping a comma by using "\,". While typing, the widget supports the user by suggesting tags using a QCompleter. Signed-off-by: Maximilian Güntner --- qt-ui/maintab.ui | 121 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 79 insertions(+), 42 deletions(-) (limited to 'qt-ui/maintab.ui') diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 3685f19ac..3e12d4c47 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -37,8 +37,8 @@ 0 0 - 513 - 468 + 501 + 535 @@ -102,13 +102,6 @@ - - - - Location - - - @@ -116,10 +109,17 @@ - - + + - Coordinates + Location + + + + + + + Tags @@ -130,10 +130,17 @@ - - + + + + false + + + + + - Divemaster + Coordinates @@ -144,15 +151,22 @@ - - + + false - - + + + + Divemaster + + + + + false @@ -176,6 +190,13 @@ + + + + false + + + @@ -193,34 +214,45 @@ - - - - false - - - - + Notes - - - - false - - - - + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + 0 + 0 + + + + + 0 + 0 + + + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAlwaysOff + + + QPlainTextEdit::NoWrap + + + @@ -248,8 +280,8 @@ 0 0 - 513 - 468 + 515 + 473 @@ -335,8 +367,8 @@ 0 0 - 513 - 468 + 515 + 473 @@ -584,7 +616,7 @@ - + Salinity @@ -642,8 +674,8 @@ 0 0 - 513 - 468 + 515 + 473 @@ -802,6 +834,11 @@
tableview.h
1 + + TagWidget + QPlainTextEdit +
qt-ui/tagwidget.h
+
-- cgit v1.2.3-70-g09d2