@@ -397,6 +397,11 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
397397 " A second sound device may be required to hear the alerts." ) );
398398 chbAudioAlerts->setAccessibleName ( tr ( " Audio Alerts check box" ) );
399399
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+
400405 // init driver button
401406#if defined( _WIN32 ) && !defined( WITH_JACK )
402407 butDriverSetup->setText ( tr ( " ASIO Device Settings" ) );
@@ -480,6 +485,9 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
480485 // init audio alerts
481486 chbAudioAlerts->setCheckState ( pSettings->bEnableAudioAlerts ? Qt::Checked : Qt::Unchecked );
482487
488+ // init show tooltips
489+ chbShowToolTips->setCheckState ( pSettings->bShowToolTips ? Qt::Checked : Qt::Unchecked );
490+
483491 // update feedback detection
484492 chbDetectFeedback->setCheckState ( pSettings->bEnableFeedbackDetection ? Qt::Checked : Qt::Unchecked );
485493
@@ -645,6 +653,8 @@ CClientSettingsDlg::CClientSettingsDlg ( CClient* pNCliP, CClientSettings* pNSet
645653
646654 QObject::connect ( chbAudioAlerts, &QCheckBox::stateChanged, this , &CClientSettingsDlg::OnAudioAlertsChanged );
647655
656+ QObject::connect ( chbShowToolTips, &QCheckBox::stateChanged, this , &CClientSettingsDlg::OnShowToolTipsChanged );
657+
648658 // line edits
649659 QObject::connect ( edtNewClientLevel, &QLineEdit::editingFinished, this , &CClientSettingsDlg::OnNewClientLevelEditingFinished );
650660
@@ -998,6 +1008,8 @@ void CClientSettingsDlg::OnMeterStyleActivated ( int iMeterStyleIdx )
9981008
9991009void CClientSettingsDlg::OnAudioAlertsChanged ( int value ) { pSettings->bEnableAudioAlerts = value == Qt::Checked; }
10001010
1011+ void CClientSettingsDlg::OnShowToolTipsChanged ( int value ) { pSettings->bShowToolTips = value == Qt::Checked; }
1012+
10011013void CClientSettingsDlg::OnAutoJitBufStateChanged ( int value )
10021014{
10031015 pClient->SetDoAutoSockBufSize ( value == Qt::Checked );
0 commit comments