diff options
author | nikhil <nikhil.gosala@gmail.com> | 2014-12-16 21:31:14 +0530 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-17 21:43:45 -0800 |
commit | be1b79081d078b55aad0e85016d3ef2cd4cbdeaf (patch) | |
tree | 322cc665fc090384222f9ecc37c713bbd6835331 /qt-ui | |
parent | 355db4618769ca7d097082ab85f80b6f696c036a (diff) | |
download | subsurface-be1b79081d078b55aad0e85016d3ef2cd4cbdeaf.tar.gz |
Modification to the User Survey UI
As per the suggestion by Dirk Hohndel, I changed the "Type of Diver" from
RadioButton to Checkbox.
The User Survey UI was not clear earlier, so I grouped the similar options under
a question. I also modified the language and re-arranged the visual components.
Earlier, the user could choose contradicting import types at once. This has beencorrected by using RadioButtons instead of CheckBoxes.
Signed-off-by : Nikhil Bharadwaj Gosala <nikhil.gosala@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/usersurvey.ui | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/qt-ui/usersurvey.ui b/qt-ui/usersurvey.ui index 5ca07881b..b92bc186b 100644 --- a/qt-ui/usersurvey.ui +++ b/qt-ui/usersurvey.ui @@ -50,7 +50,7 @@ <bool>true</bool> </property> </widget> - <widget class="QRadioButton" name="tech"> + <widget class="QCheckBox" name="tech"> <property name="geometry"> <rect> <x>10</x> @@ -62,11 +62,8 @@ <property name="text"> <string>Technical Diver</string> </property> - <attribute name="buttonGroup"> - <string notr="true">diverButtonGroup</string> - </attribute> </widget> - <widget class="QRadioButton" name="recreational"> + <widget class="QCheckBox" name="recreational"> <property name="geometry"> <rect> <x>180</x> @@ -78,11 +75,8 @@ <property name="text"> <string>Recreational Diver</string> </property> - <attribute name="buttonGroup"> - <string notr="true">diverButtonGroup</string> - </attribute> </widget> - <widget class="QRadioButton" name="planning"> + <widget class="QCheckBox" name="planning"> <property name="geometry"> <rect> <x>380</x> @@ -94,9 +88,6 @@ <property name="text"> <string>Dive Planner</string> </property> - <attribute name="buttonGroup"> - <string notr="true">diverButtonGroup</string> - </attribute> </widget> <widget class="QRadioButton" name="download"> <property name="geometry"> @@ -301,7 +292,4 @@ </tabstops> <resources/> <connections/> - <buttongroups> - <buttongroup name="diverButtonGroup"/> - </buttongroups> </ui> |