Other: added 'All Mail Visible' toggle in bridge-gui-tester.

This commit is contained in:
Xavier Michelon
2022-09-15 12:22:46 +02:00
parent 43ac21fd66
commit 8a7c56e8fd
7 changed files with 101 additions and 15 deletions

View File

@ -199,6 +199,24 @@ void SettingsTab::setIsBetaEnabled(bool enabled)
}
//****************************************************************************************************************************************************
/// \return true if the 'All Mail Visible' check box is checked.
//****************************************************************************************************************************************************
bool SettingsTab::isAllMailVisible() const
{
return ui_.checkAllMailVisible->isChecked();
}
//****************************************************************************************************************************************************
/// \param[in] visible The new value for the 'All Mail Visible' check box.
//****************************************************************************************************************************************************
void SettingsTab::setIsAllMailVisible(bool visible)
{
ui_.checkAllMailVisible->setChecked(visible);
}
//****************************************************************************************************************************************************
/// \return The delay to apply before sending automatically generated events.
//****************************************************************************************************************************************************
@ -447,6 +465,7 @@ void SettingsTab::resetUI()
ui_.checkIsFirstGUIStart->setChecked(false);
ui_.checkAutostart->setChecked(true);
ui_.checkBetaEnabled->setChecked(true);
ui_.checkAllMailVisible->setChecked(true);
ui_.checkDarkTheme->setChecked(false);
QString const tmpDir = QStandardPaths::writableLocation(QStandardPaths::TempLocation);