@@ -397,6 +397,11 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
397
397
" A second sound device may be required to hear the alerts." ) );
398
398
chbAudioAlerts->setAccessibleName ( tr ( " Audio Alerts check box" ) );
399
399
400
+ // show tooltips
401
+ chbShowToolTips->setWhatsThis ( " <b>" + tr ( " Show ToolTips" ) + " :</b> " +
402
+ tr ( " Enable or disable the showing of ToolTips when the mouse points to certain items." ) );
403
+ chbShowToolTips->setAccessibleName ( tr ( " Show ToolTips check box" ) );
404
+
400
405
// init driver button
401
406
#if defined( _WIN32 ) && !defined( WITH_JACK )
402
407
butDriverSetup->setText ( tr ( " ASIO Device Settings" ) );
@@ -480,6 +485,9 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
480
485
// init audio alerts
481
486
chbAudioAlerts->setCheckState ( pSettings->bEnableAudioAlerts ? Qt::Checked : Qt::Unchecked );
482
487
488
+ // init show tooltips
489
+ chbShowToolTips->setCheckState ( pSettings->bShowToolTips ? Qt::Checked : Qt::Unchecked );
490
+
483
491
// update feedback detection
484
492
chbDetectFeedback->setCheckState ( pSettings->bEnableFeedbackDetection ? Qt::Checked : Qt::Unchecked );
485
493
@@ -645,6 +653,8 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
645
653
646
654
QObject::connect ( chbAudioAlerts, &QCheckBox::stateChanged, this , &CClientSettingsDlg::OnAudioAlertsChanged );
647
655
656
+ QObject::connect ( chbShowToolTips, &QCheckBox::stateChanged, this , &CClientSettingsDlg::OnShowToolTipsChanged );
657
+
648
658
// line edits
649
659
QObject::connect ( edtNewClientLevel, &QLineEdit::editingFinished, this , &CClientSettingsDlg::OnNewClientLevelEditingFinished );
650
660
@@ -998,6 +1008,8 @@ void CClientSettingsDlg::OnMeterStyleActivated ( int iMeterStyleIdx )
998
1008
999
1009
void CClientSettingsDlg::OnAudioAlertsChanged ( int value ) { pSettings->bEnableAudioAlerts = value == Qt::Checked; }
1000
1010
1011
+ void CClientSettingsDlg::OnShowToolTipsChanged ( int value ) { pSettings->bShowToolTips = value == Qt::Checked; }
1012
+
1001
1013
void CClientSettingsDlg::OnAutoJitBufStateChanged ( int value )
1002
1014
{
1003
1015
pClient->SetDoAutoSockBufSize ( value == Qt::Checked );
0 commit comments