Commit 7707b4cc authored by Olivier SOLDANO's avatar Olivier SOLDANO Committed by Anthony Léonard

Add tooltips for accessibility

Most of the UI was lacking tooltips for accessibility.
This patch is a roundup of all the fields, buttons, and selectors,
for setting up a first stone to build upon.

Change-Id: I63f5e9aa1c5e96c61fd04540df50895579bb293d
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent 957911ac
......@@ -458,6 +458,9 @@
</item>
<item>
<widget class="QPushButton" name="aboutButton">
<property name="toolTip">
<string>about button</string>
</property>
<property name="text">
<string>About</string>
</property>
......@@ -471,6 +474,9 @@
</item>
<item>
<widget class="QPushButton" name="creditsButton">
<property name="toolTip">
<string>credits button</string>
</property>
<property name="text">
<string>Credits</string>
</property>
......
This diff is collapsed.
......@@ -37,6 +37,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Banned contacts list</string>
</property>
</widget>
</item>
<item>
......@@ -94,6 +97,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Deban contact button</string>
</property>
<property name="text">
<string>Deban contact, and add to contact list</string>
</property>
......
......@@ -49,6 +49,9 @@
</property>
<item>
<widget class="QListView" name="contactView">
<property name="toolTip">
<string>existing contacts list</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
......@@ -61,6 +64,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>contact transfer number text entry</string>
</property>
<property name="placeholderText">
<string>or type number...</string>
</property>
......@@ -100,6 +106,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>Transfer call button</string>
</property>
<property name="text">
<string>Transfer</string>
</property>
......
......@@ -203,6 +203,9 @@
<pointsize>9</pointsize>
</font>
</property>
<property name="toolTip">
<string>Search contact text input</string>
</property>
<property name="maxLength">
<number>100</number>
</property>
......@@ -241,6 +244,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>search button</string>
</property>
<property name="text">
<string/>
</property>
......@@ -303,6 +309,9 @@
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="currentIndex">
<number>0</number>
</property>
......@@ -545,7 +554,7 @@
</size>
</property>
<property name="toolTip">
<string>settings menu</string>
<string>Configuration menu</string>
</property>
<property name="text">
<string/>
......@@ -779,7 +788,7 @@ Copy and share it with your friends!</string>
</size>
</property>
<property name="toolTip">
<string>Share your ring id</string>
<string>Show ring ID QR code</string>
</property>
<property name="text">
<string/>
......@@ -829,6 +838,9 @@ Copy and share it with your friends!</string>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Share ring ID button</string>
</property>
<property name="text">
<string/>
</property>
......@@ -964,7 +976,7 @@ Copy and share it with your friends!</string>
</size>
</property>
<property name="toolTip">
<string/>
<string>Back to homepage button</string>
</property>
<property name="text">
<string/>
......@@ -1054,7 +1066,7 @@ Copy and share it with your friends!</string>
</size>
</property>
<property name="toolTip">
<string/>
<string>Back to homepage button</string>
</property>
<property name="text">
<string/>
......@@ -1173,6 +1185,9 @@ Copy and share it with your friends!</string>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Peer contact method selector</string>
</property>
</widget>
</item>
<item>
......@@ -1479,6 +1494,9 @@ Copy and share it with your friends!</string>
<height>56</height>
</size>
</property>
<property name="toolTip">
<string>Answer incoming call button</string>
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/icons/ic_done_white_24dp.png</normaloff>:/images/icons/ic_done_white_24dp.png</iconset>
......@@ -1521,6 +1539,9 @@ Copy and share it with your friends!</string>
<height>56</height>
</size>
</property>
<property name="toolTip">
<string>Ignore incoming call button</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
......@@ -1701,6 +1722,9 @@ Copy and share it with your friends!</string>
<height>64</height>
</size>
</property>
<property name="toolTip">
<string>Cancel outgoing call</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
......@@ -1812,6 +1836,9 @@ Copy and share it with your friends!</string>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Back to homepage button</string>
</property>
<property name="text">
<string/>
</property>
......
......@@ -68,6 +68,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Call button</string>
</property>
<property name="text">
<string/>
</property>
......
......@@ -93,6 +93,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>General configuration tab</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
......@@ -112,6 +115,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Audio / Video configuration tab</string>
</property>
<property name="text">
<string>Audio/Video</string>
</property>
......@@ -128,8 +134,11 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Accounts configuration tab</string>
</property>
<property name="text">
<string>Account</string>
<string>Accounts</string>
</property>
<property name="checkable">
<bool>true</bool>
......@@ -275,6 +284,9 @@
<height>74</height>
</size>
</property>
<property name="toolTip">
<string>Avatar (click to change)</string>
</property>
<property name="text">
<string/>
</property>
......@@ -295,6 +307,9 @@
</item>
<item>
<widget class="QLineEdit" name="profileNameEdit">
<property name="toolTip">
<string>Display name text input</string>
</property>
<property name="placeholderText">
<string>Name</string>
</property>
......@@ -381,6 +396,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Number of days of history kept</string>
</property>
</widget>
</item>
<item>
......@@ -462,6 +480,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>clear history button</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
......@@ -548,6 +569,9 @@
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string>Call records path</string>
</property>
<property name="text">
<string/>
</property>
......@@ -575,6 +599,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>Always record calls checkbox</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(77, 77, 77);</string>
</property>
......@@ -630,6 +657,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>keep minimized on close checkbox</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(77, 77, 77);</string>
</property>
......@@ -645,6 +675,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>enable notifications checkbox</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(77, 77, 77);</string>
</property>
......@@ -666,6 +699,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>Launch ring on startup checkbox</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
......@@ -692,6 +728,9 @@
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Autamatic update checks checkbox</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(77, 77, 77);</string>
</property>
......@@ -714,6 +753,9 @@
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Interval between update checks in days selector</string>
</property>
<property name="minimum">
<number>1</number>
</property>
......@@ -771,6 +813,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Check for updates now button</string>
</property>
<property name="text">
<string>Check for updates now</string>
</property>
......@@ -822,7 +867,7 @@
</layout>
</widget>
<widget class="QWidget" name="videoPage">
<layout class="QGridLayout" name="gridLayout" rowstretch="1,10" columnstretch="0">
<layout class="QGridLayout" name="gridLayout" rowstretch="1,10" columnstretch="0,0,0">
<property name="leftMargin">
<number>10</number>
</property>
......@@ -993,6 +1038,9 @@
<pointsize>11</pointsize>
</font>
</property>
<property name="toolTip">
<string>Video device selector</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(77, 77, 77);</string>
</property>
......@@ -1009,6 +1057,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Video device selector</string>
</property>
</widget>
</item>
<item row="4" column="0">
......@@ -1040,6 +1091,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Video device resolution selector</string>
</property>
</widget>
</item>
</layout>
......@@ -1070,7 +1124,11 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="outputComboBox"/>
<widget class="QComboBox" name="outputComboBox">
<property name="toolTip">
<string>Audio output device selector</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
......@@ -1085,7 +1143,11 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="inputComboBox"/>
<widget class="QComboBox" name="inputComboBox">
<property name="toolTip">
<string>Audio input device selector</string>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="verticalSpacer_6">
......@@ -1160,6 +1222,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>New account type selector</string>
</property>
</widget>
</item>
<item>
......@@ -1214,6 +1279,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Delete account button</string>
</property>
<property name="text">
<string/>
</property>
......@@ -1238,6 +1306,9 @@
</property>
<item>
<widget class="QPushButton" name="importButton">
<property name="toolTip">
<string>Import account archive button</string>
</property>
<property name="text">
<string>Import</string>
</property>
......@@ -1245,6 +1316,9 @@
</item>
<item>
<widget class="QPushButton" name="exportButton">
<property name="toolTip">
<string>Export account button</string>
</property>
<property name="text">
<string>Export</string>
</property>
......
......@@ -39,6 +39,9 @@
</item>
<item>
<widget class="QLineEdit" name="searchBar">
<property name="toolTip">
<string>search existing contact text entry</string>
</property>
<property name="placeholderText">
<string>Search...</string>
</property>
......@@ -48,10 +51,17 @@
</widget>
</item>
<item>
<widget class="QListView" name="contactView"/>
<widget class="QListView" name="contactView">
<property name="toolTip">
<string>existing contacts list</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="createNewButton">
<property name="toolTip">
<string>Create new contact button</string>
</property>
<property name="text">
<string>Create new contact</string>
</property>
......@@ -94,6 +104,9 @@
</item>
<item>
<widget class="QLineEdit" name="nameLineEdit">
<property name="toolTip">
<string>New contact name text entry</string>
</property>
<property name="placeholderText">
<string>Enter a name here...</string>
</property>
......@@ -124,6 +137,9 @@
</item>
<item>
<widget class="QPushButton" name="okButton">
<property name="toolTip">
<string>Validate contact creation button</string>
</property>
<property name="text">
<string>Create</string>
</property>
......
......@@ -121,6 +121,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Accept contact request button</string>
</property>
<property name="styleSheet">
<string notr="true">padding-left: 15px;
padding-right: 15px;</string>
......@@ -144,6 +147,9 @@ padding-right: 15px;</string>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Mute contact request</string>
</property>
<property name="styleSheet">
<string notr="true">padding-left: 15px;
padding-right: 15px;</string>
......@@ -167,6 +173,9 @@ padding-right: 15px;</string>
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Ban contact request</string>
</property>
<property name="styleSheet">
<string notr="true">padding-left: 15px;
padding-right: 15px;</string>
......
......@@ -93,6 +93,9 @@
<height>60</height>
</size>
</property>
<property name="toolTip">
<string>Account avatar</string>
</property>
<property name="text">
<string/>
</property>
......@@ -121,6 +124,9 @@
<height>10</height>
</size>
</property>
<property name="toolTip">
<string>Account status</string>
</property>
<property name="styleSheet">
<string notr="true">text: centered;</string>
</property>
......@@ -130,7 +136,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="currentAccountSelector"/>
<widget class="QComboBox" name="currentAccountSelector">
<property name="toolTip">
<string>account selection combobox</string>
</property>
</widget>
</item>
</layout>
</item>
......
......@@ -134,6 +134,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Cancel contact deletion button</string>
</property>
<property name="text">
<string>Cancel</string>
</property>
......@@ -160,6 +163,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Validate contact deletion button</string>
</property>
<property name="text">
<string>Ok</string>
</property>
......
......@@ -119,6 +119,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Cancel contact deletion button</string>
</property>
<property name="text">
<string>Cancel</string>
</property>
......@@ -132,6 +135,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Delete contact validation button</string>
</property>
<property name="text">
<string>Delete</string>
</property>
......@@ -145,6 +151,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Delete and ban validation button</string>
</property>
<property name="text">
<string>Delete and ban</string>
</property>
......
......@@ -34,6 +34,9 @@
</property>
<item>
<widget class="QListView" name="listMessageView">
<property name="toolTip">
<string>Message list</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
......@@ -67,6 +70,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Message input</string>
</property>
<property name="placeholderText">
<string>Send text message...</string>
</property>
......@@ -89,6 +95,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Send message button</string>
</property>
<property name="text">
<string/>
</property>
......
......@@ -16,6 +16,9 @@
<layout class="QVBoxLayout" name="verticalLayout" stretch="9,0">
<item>
<widget class="VideoWidget" name="videoFeed" native="true">
<property name="toolTip">
<string>Photobooth display</string>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
......
......@@ -60,6 +60,9 @@
</property>
<item>
<widget class="QSlider" name="qualitySlider">
<property name="toolTip">
<string>Quality slider</string>
</property>
<property name="maximum">
<number>100</number>
</property>
......@@ -96,6 +99,9 @@
</item>
<item>
<widget class="QCheckBox" name="autoCheckBox">
<property name="toolTip">
<string>Automatic quality checkbox</string>
</property>
<property name="text">
<string>Auto</string>
</property>
......
......@@ -110,6 +110,9 @@
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Validate Contact Request Button</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
......@@ -132,6 +135,9 @@
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Mute contact request button</string>
</property>
<property name="text">
<string/>
</property>
......@@ -151,6 +157,9 @@
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Ban contact request button</string>
</property>
<property name="text">
<string/>
</property>
......
......@@ -136,6 +136,9 @@ border-right: transparent;</string>
<height>18</height>
</size>
</property>
<property name="toolTip">
<string>Select folder</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
......
......@@ -334,6 +334,9 @@
<height>36</height>
</size>
</property>
<property name="toolTip">
<string>Record call</string>
</property>
<property name="text">
<string/>
</property>
......@@ -577,6 +580,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Configuration</string>
</property>
<property name="text">
<string/>
</property>
......
......@@ -29,6 +29,12 @@
<iconset resource="ressources.qrc">
<normaloff>:/images/ring.png</normaloff>:/images/ring.png</iconset>
</property>
<property name="accessibleName">
<string>Wizard Dialog</string>
</property>
<property name="accessibleDescription">
<string>Account creation wizard dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="bottomMargin">
<number>0</number>
......@@ -62,6 +68,9 @@
<bold>false</bold>
</font>
</property>
<property name="accessibleName">
<string>Welcome Label</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(63, 63, 63)</string>
</property>
......@@ -94,6 +103,9 @@
</item>
<item>
<widget class="QLabel" name="welcomeLogo">
<property name="accessibleName">
<string>Welcome Logo</string>
</property>
<property name="text">
<string/>
</property>
......@@ -123,6 +135,18 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Create Ring account button</string>
</property>
<property name="accessibleName">
<string/>
</property>
<property name="accessibleDescription">