summaryrefslogtreecommitdiffstats
path: root/qt-ui/usersurvey.ui
diff options
context:
space:
mode:
authorGravatar nikhil <nikhil.gosala@gmail.com>2014-12-16 17:44:58 +0530
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-17 21:43:35 -0800
commit355db4618769ca7d097082ab85f80b6f696c036a (patch)
treee6138b896a95eb497746e6a84011b83fcbd378fd /qt-ui/usersurvey.ui
parent71dbcdc0d625e5dc2a2bc2de5b8be1962fb92f9e (diff)
downloadsubsurface-355db4618769ca7d097082ab85f80b6f696c036a.tar.gz
Modified the UI of the User Survey Page
The UI in the User Survey page was not clear and the Text Blocks were getting cut. So I increased the size of the Text Blocks. Also the survey was using CheckBoxes instead of RadioButtons. The problem with this is that the user could choose to be both Recreational and Technical diver which cannot be possible. So I replaced the CheckBoxes with RadioButtons. I also replaced the CheckBoxes, which asked the user from where he was importing data, with RadioButtons so that the user can select only one option. I also modified the English used and made it concise and clear. Signed-off by : Nikhil Bharadwaj Gosala <nikhil.gosala@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usersurvey.ui')
-rw-r--r--qt-ui/usersurvey.ui396
1 files changed, 278 insertions, 118 deletions
diff --git a/qt-ui/usersurvey.ui b/qt-ui/usersurvey.ui
index 011be4f3c..5ca07881b 100644
--- a/qt-ui/usersurvey.ui
+++ b/qt-ui/usersurvey.ui
@@ -6,129 +6,286 @@
<rect>
<x>0</x>
<y>0</y>
- <width>500</width>
- <height>600</height>
+ <width>538</width>
+ <height>650</height>
</rect>
</property>
<property name="windowTitle">
<string>User Survey</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="font">
- <font>
- <pointsize>11</pointsize>
- </font>
- </property>
- <property name="text">
- <string>Subsurface user survey</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>We would love to learn more about our users, their preferences and their usage habits. Please take a minute to fill out this form and submit it to the Subsurface team. Please select all options that apply to you.</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="tech">
- <property name="text">
- <string>Technical diver</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="recreational">
- <property name="text">
- <string>Recreational diver</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="planning">
- <property name="text">
- <string>Interested in dive planning</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="download">
- <property name="text">
- <string>I am downloading dives from supported dive computer</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="divecomputer">
- <property name="text">
- <string>I am importing dives from other software / sources</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="manual">
- <property name="text">
- <string>I am manually entering dives</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="companion">
- <property name="text">
- <string>I use the Android companion app to track dive locations</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Please type suggestions (in English) in the following box</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPlainTextEdit" name="suggestions"/>
- </item>
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>The following information about your system will also be submitted</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPlainTextEdit" name="system">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QLabel" name="label">
+ <property name="geometry">
+ <rect>
+ <x>180</x>
+ <y>10</y>
+ <width>241</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>11</pointsize>
+ </font>
+ </property>
+ <property name="text">
+ <string>Subsurface User Survey</string>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_2">
+ <property name="geometry">
+ <rect>
+ <x>9</x>
+ <y>36</y>
+ <width>521</width>
+ <height>63</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;We would love to learn more about our users, their preferences and their usage habits. Please spare a minute to fill out this form and submit it to the Subsurface team.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="tech">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>150</y>
+ <width>161</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Technical Diver</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">diverButtonGroup</string>
+ </attribute>
+ </widget>
+ <widget class="QRadioButton" name="recreational">
+ <property name="geometry">
+ <rect>
+ <x>180</x>
+ <y>150</y>
+ <width>181</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Recreational Diver</string>
+ </property>
+ <attribute name="buttonGroup">
+ <string notr="true">diverButtonGroup</string>
+ </attribute>
+ </widget>
+ <widget class="QRadioButton" name="planning">
+ <property name="geometry">
+ <rect>
+ <x>380</x>
+ <y>150</y>
+ <width>141</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <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">
+ <rect>
+ <x>10</x>
+ <y>230</y>
+ <width>386</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Supported Dive Computer</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="divecomputer">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>260</y>
+ <width>364</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Other software/sources</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="manual">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>290</y>
+ <width>218</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Manually entering dives</string>
+ </property>
+ </widget>
+ <widget class="QRadioButton" name="companion">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>320</y>
+ <width>393</width>
+ <height>26</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Android Companion App</string>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_3">
+ <property name="geometry">
+ <rect>
+ <x>9</x>
+ <y>370</y>
+ <width>368</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Any Suggestions? (In English)</string>
+ </property>
+ </widget>
+ <widget class="QPlainTextEdit" name="suggestions">
+ <property name="geometry">
+ <rect>
+ <x>9</x>
+ <y>400</y>
+ <width>521</width>
+ <height>71</height>
+ </rect>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_4">
+ <property name="geometry">
+ <rect>
+ <x>9</x>
+ <y>490</y>
+ <width>461</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>The following information about your system will also be submitted.</string>
+ </property>
+ </widget>
+ <widget class="QPlainTextEdit" name="system">
+ <property name="geometry">
+ <rect>
+ <x>9</x>
+ <y>520</y>
+ <width>521</width>
+ <height>71</height>
+ </rect>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="geometry">
+ <rect>
+ <x>350</x>
+ <y>610</y>
+ <width>176</width>
+ <height>31</height>
+ </rect>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_5">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>120</y>
+ <width>231</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>What kind of diver are you?</string>
+ </property>
+ </widget>
+ <widget class="Line" name="line">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>100</y>
+ <width>511</width>
+ <height>20</height>
+ </rect>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ <widget class="Line" name="line_2">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>180</y>
+ <width>511</width>
+ <height>20</height>
+ </rect>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ <widget class="QLabel" name="label_6">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>200</y>
+ <width>271</width>
+ <height>21</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>Where are you importing data from?</string>
+ </property>
+ </widget>
+ <widget class="Line" name="line_3">
+ <property name="geometry">
+ <rect>
+ <x>10</x>
+ <y>350</y>
+ <width>511</width>
+ <height>20</height>
+ </rect>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
</widget>
<tabstops>
<tabstop>recreational</tabstop>
@@ -144,4 +301,7 @@
</tabstops>
<resources/>
<connections/>
+ <buttongroups>
+ <buttongroup name="diverButtonGroup"/>
+ </buttongroups>
</ui>