mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
71dbcdc0d6
commit
355db46187
1 changed files with 278 additions and 118 deletions
|
@ -6,129 +6,286 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>500</width>
|
<width>538</width>
|
||||||
<height>600</height>
|
<height>650</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>User Survey</string>
|
<string>User Survey</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<widget class="QLabel" name="label">
|
||||||
<item>
|
<property name="geometry">
|
||||||
<widget class="QLabel" name="label">
|
<rect>
|
||||||
<property name="font">
|
<x>180</x>
|
||||||
<font>
|
<y>10</y>
|
||||||
<pointsize>11</pointsize>
|
<width>241</width>
|
||||||
</font>
|
<height>21</height>
|
||||||
</property>
|
</rect>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Subsurface user survey</string>
|
<property name="font">
|
||||||
</property>
|
<font>
|
||||||
</widget>
|
<pointsize>11</pointsize>
|
||||||
</item>
|
</font>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QLabel" name="label_2">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Subsurface User Survey</string>
|
||||||
<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>
|
</widget>
|
||||||
<property name="alignment">
|
<widget class="QLabel" name="label_2">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
<property name="geometry">
|
||||||
</property>
|
<rect>
|
||||||
<property name="wordWrap">
|
<x>9</x>
|
||||||
<bool>true</bool>
|
<y>36</y>
|
||||||
</property>
|
<width>521</width>
|
||||||
</widget>
|
<height>63</height>
|
||||||
</item>
|
</rect>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QCheckBox" name="tech">
|
<property name="text">
|
||||||
<property name="text">
|
<string><html><head/><body><p>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.</p></body></html></string>
|
||||||
<string>Technical diver</string>
|
</property>
|
||||||
</property>
|
<property name="alignment">
|
||||||
</widget>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="wordWrap">
|
||||||
<widget class="QCheckBox" name="recreational">
|
<bool>true</bool>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Recreational diver</string>
|
</widget>
|
||||||
</property>
|
<widget class="QRadioButton" name="tech">
|
||||||
</widget>
|
<property name="geometry">
|
||||||
</item>
|
<rect>
|
||||||
<item>
|
<x>10</x>
|
||||||
<widget class="QCheckBox" name="planning">
|
<y>150</y>
|
||||||
<property name="text">
|
<width>161</width>
|
||||||
<string>Interested in dive planning</string>
|
<height>26</height>
|
||||||
</property>
|
</rect>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
<property name="text">
|
||||||
<item>
|
<string>Technical Diver</string>
|
||||||
<widget class="QCheckBox" name="download">
|
</property>
|
||||||
<property name="text">
|
<attribute name="buttonGroup">
|
||||||
<string>I am downloading dives from supported dive computer</string>
|
<string notr="true">diverButtonGroup</string>
|
||||||
</property>
|
</attribute>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
<widget class="QRadioButton" name="recreational">
|
||||||
<item>
|
<property name="geometry">
|
||||||
<widget class="QCheckBox" name="divecomputer">
|
<rect>
|
||||||
<property name="text">
|
<x>180</x>
|
||||||
<string>I am importing dives from other software / sources</string>
|
<y>150</y>
|
||||||
</property>
|
<width>181</width>
|
||||||
</widget>
|
<height>26</height>
|
||||||
</item>
|
</rect>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QCheckBox" name="manual">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Recreational Diver</string>
|
||||||
<string>I am manually entering dives</string>
|
</property>
|
||||||
</property>
|
<attribute name="buttonGroup">
|
||||||
</widget>
|
<string notr="true">diverButtonGroup</string>
|
||||||
</item>
|
</attribute>
|
||||||
<item>
|
</widget>
|
||||||
<widget class="QCheckBox" name="companion">
|
<widget class="QRadioButton" name="planning">
|
||||||
<property name="text">
|
<property name="geometry">
|
||||||
<string>I use the Android companion app to track dive locations</string>
|
<rect>
|
||||||
</property>
|
<x>380</x>
|
||||||
</widget>
|
<y>150</y>
|
||||||
</item>
|
<width>141</width>
|
||||||
<item>
|
<height>26</height>
|
||||||
<widget class="QLabel" name="label_3">
|
</rect>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Please type suggestions (in English) in the following box</string>
|
<property name="text">
|
||||||
</property>
|
<string>Dive Planner</string>
|
||||||
</widget>
|
</property>
|
||||||
</item>
|
<attribute name="buttonGroup">
|
||||||
<item>
|
<string notr="true">diverButtonGroup</string>
|
||||||
<widget class="QPlainTextEdit" name="suggestions"/>
|
</attribute>
|
||||||
</item>
|
</widget>
|
||||||
<item>
|
<widget class="QRadioButton" name="download">
|
||||||
<widget class="QLabel" name="label_4">
|
<property name="geometry">
|
||||||
<property name="text">
|
<rect>
|
||||||
<string>The following information about your system will also be submitted</string>
|
<x>10</x>
|
||||||
</property>
|
<y>230</y>
|
||||||
</widget>
|
<width>386</width>
|
||||||
</item>
|
<height>26</height>
|
||||||
<item>
|
</rect>
|
||||||
<widget class="QPlainTextEdit" name="system">
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="text">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
<string>Supported Dive Computer</string>
|
||||||
<horstretch>0</horstretch>
|
</property>
|
||||||
<verstretch>0</verstretch>
|
</widget>
|
||||||
</sizepolicy>
|
<widget class="QRadioButton" name="divecomputer">
|
||||||
</property>
|
<property name="geometry">
|
||||||
<property name="readOnly">
|
<rect>
|
||||||
<bool>true</bool>
|
<x>10</x>
|
||||||
</property>
|
<y>260</y>
|
||||||
</widget>
|
<width>364</width>
|
||||||
</item>
|
<height>26</height>
|
||||||
<item>
|
</rect>
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
</property>
|
||||||
<property name="orientation">
|
<property name="text">
|
||||||
<enum>Qt::Horizontal</enum>
|
<string>Other software/sources</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="standardButtons">
|
</widget>
|
||||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
|
<widget class="QRadioButton" name="manual">
|
||||||
</property>
|
<property name="geometry">
|
||||||
</widget>
|
<rect>
|
||||||
</item>
|
<x>10</x>
|
||||||
</layout>
|
<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>
|
</widget>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>recreational</tabstop>
|
<tabstop>recreational</tabstop>
|
||||||
|
@ -144,4 +301,7 @@
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
<buttongroups>
|
||||||
|
<buttongroup name="diverButtonGroup"/>
|
||||||
|
</buttongroups>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue