From 48dda4192f5e82fcaa7a04577a8a0b9aea1a00c8 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 4 Jun 2013 18:51:27 -0300 Subject: Added a new widget 'MinMaxAvgWidget' Added a new widget, MinMaxAvgWidget, a simple widget that displays values in 'min, max, avg' fashion. it has a setMaximum, setAverage and setMinimum methods, that is userful for setting the minimum, maximum and average of stuff. Ah, it also shows the minimum, maximum and average of things. Signed-off-by: Tomaz Canabrava --- qt-ui/maintab.ui | 230 +++++++------------------------------------------------ 1 file changed, 27 insertions(+), 203 deletions(-) (limited to 'qt-ui/maintab.ui') diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 854e67940..55d4f3a54 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -14,7 +14,7 @@ TabWidget - 2 + 3 true @@ -453,40 +453,26 @@ Stats - - + + - Max. Temp. + SAC - + - - - TextLabel - - - Qt::AlignCenter - - + - + - Min Depth + Temperature - + - - - TextLabel - - - Qt::AlignCenter - - + @@ -494,196 +480,28 @@ - Max. Depth + Depth - - - TextLabel - - - Qt::AlignCenter - - - - - maximumDepthAllText - minimumDepthAllText - - - - - - Ave. Temp. - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Ave. Time - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Min. Temp. - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Ave. Depth - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Max. SAC - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Min. SAC - - - - - - TextLabel - - - Qt::AlignCenter - - + - - - - Ave. SAC - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - - - - Dives - - - - - - TextLabel - - - Qt::AlignCenter - - - - - - - + - Longest + Duration - - - TextLabel - - - Qt::AlignCenter - - + - + Total Time @@ -702,14 +520,14 @@ - - + + - Shortest + Dives - + - + TextLabel @@ -737,6 +555,12 @@
starwidget.h
1 + + MinMaxAvgWidget + QWidget +
simplewidgets.h
+ 1 +
-- cgit v1.2.3-70-g09d2