@@ -48,37 +48,45 @@ CConnectDlg::CConnectDlg ( CClientSettings* pNSetP, const bool bNewShowCompleteR
4848 QString strDirectoryAN = tr ( " Directory combo box" );
4949
5050 lblList->setWhatsThis ( strDirectoryWT );
51+ lblList->setToolTip ( strDirectoryWT );
5152 lblList->setAccessibleName ( strDirectoryAN );
5253 cbxDirectory->setWhatsThis ( strDirectoryWT );
54+ cbxDirectory->setToolTip ( strDirectoryWT );
5355 cbxDirectory->setAccessibleName ( strDirectoryAN );
5456
5557 // filter
5658 QString strFilterWT = " <b>" + tr ( " Filter" ) + " :</b> " +
5759 tr ( " Filters the server list by the given text. Note that the filter is case insensitive. "
5860 " A single # character will filter for those servers with at least one person connected." );
59- QString strFilterAN = tr ( " Filter edit box" );
6061 lblFilter->setWhatsThis ( strFilterWT );
62+ lblFilter->setToolTip ( strFilterWT );
6163 edtFilter->setWhatsThis ( strFilterWT );
64+ edtFilter->setToolTip ( strFilterWT );
6265
66+ QString strFilterAN = tr ( " Filter edit box" );
6367 lblFilter->setAccessibleName ( strFilterAN );
6468 edtFilter->setAccessibleName ( strFilterAN );
6569
6670 // show all mucisians
67- chbExpandAll->setWhatsThis ( " <b>" + tr ( " Show All Musicians" ) + " :</b> " +
68- tr ( " Uncheck to collapse the server list to show just the server details. "
69- " Check to show everyone on the servers." ) );
71+ QString strExpandAllWT = " <b>" + tr ( " Show All Musicians" ) + " :</b> " +
72+ tr ( " Uncheck to collapse the server list to show just the server details. "
73+ " Check to show everyone on the servers." );
74+ chbExpandAll->setWhatsThis ( strExpandAllWT );
75+ chbExpandAll->setToolTip ( strExpandAllWT );
7076
7177 chbExpandAll->setAccessibleName ( tr ( " Show all musicians check box" ) );
7278
7379 // server list view
74- lvwServers->setWhatsThis ( " <b>" + tr ( " Server List" ) + " :</b> " +
75- tr ( " The Connection Setup window lists the available servers registered with "
76- " the selected directory. Use the Directory dropdown to change the directory, "
77- " find the server you want to join in the server list, click on it, and "
78- " then click the Connect button to connect. Alternatively, double click on "
79- " the server name to connect." ) +
80- " <br>" + tr ( " Permanent servers (those that have been listed for longer than 48 hours) are shown in bold." ) +
81- " <br>" + tr ( " You can add custom directories in Advanced Settings." ) );
80+ QString strServersWT = " <b>" + tr ( " Server List" ) + " :</b> " +
81+ tr ( " The Connection Setup window lists the available servers registered with "
82+ " the selected directory. Use the Directory dropdown to change the directory, "
83+ " find the server you want to join in the server list, click on it, and "
84+ " then click the Connect button to connect. Alternatively, double click on "
85+ " the server name to connect." ) +
86+ " <br>" + tr ( " Permanent servers (those that have been listed for longer than 48 hours) are shown in bold." ) + " <br>" +
87+ tr ( " You can add custom directories in Advanced Settings." );
88+ lvwServers->setWhatsThis ( strServersWT );
89+ lvwServers->setToolTip ( strServersWT );
8290
8391 lvwServers->setAccessibleName ( tr ( " Server list view" ) );
8492
@@ -91,15 +99,20 @@ CConnectDlg::CConnectDlg ( CClientSettings* pNSetP, const bool bNewShowCompleteR
9199 .arg ( QString ( " <tt>example.org:%1</tt>" ).arg ( DEFAULT_PORT_NUMBER ) );
92100
93101 lblServerAddr->setWhatsThis ( strServAddrH );
102+ lblServerAddr->setToolTip ( strServAddrH );
94103 cbxServerAddr->setWhatsThis ( strServAddrH );
104+ cbxServerAddr->setToolTip ( strServAddrH );
95105
96106 cbxServerAddr->setAccessibleName ( tr ( " Server address edit box" ) );
97107 cbxServerAddr->setAccessibleDescription ( tr ( " Holds the current server address. It also stores old addresses in the combo box list." ) );
98108
109+ QString strDeleteServerAddrWT = " <b>" + tr ( " Delete Server Address" ) + " :</b> " +
110+ tr ( " Click the button to clear the currently selected server address "
111+ " and delete it from the list of stored servers." );
112+ butDeleteServerAddr->setWhatsThis ( strDeleteServerAddrWT );
113+ butDeleteServerAddr->setToolTip ( strDeleteServerAddrWT );
114+
99115 butDeleteServerAddr->setAccessibleName ( tr ( " Delete server address button" ) );
100- butDeleteServerAddr->setWhatsThis ( " <b>" + tr ( " Delete Server Address" ) + " :</b> " +
101- tr ( " Click the button to clear the currently selected server address "
102- " and delete it from the list of stored servers." ) );
103116
104117 UpdateDirectoryComboBox ();
105118
0 commit comments