本文整理汇总了C++中disableApplyButton函数的典型用法代码示例。如果您正苦于以下问题:C++ disableApplyButton函数的具体用法?C++ disableApplyButton怎么用?C++ disableApplyButton使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了disableApplyButton函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: connect
void OptionsDialog::setModel(OptionsModel *model)
{
this->model = model;
if(model)
{
connect(model, SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit()));
mapper->setModel(model);
setMapper();
mapper->toFirst();
}
/* update the display unit, to not use the default ("BTC") */
updateDisplayUnit();
/* warn only when language selection changes by user action (placed here so init via mapper doesn't trigger this) */
connect(ui->lang, SIGNAL(valueChanged()), this, SLOT(showRestartWarning_Lang()));
#ifdef USE_NATIVE_I2P
QObject::connect(tabI2P, SIGNAL(settingsChanged()), this, SLOT(showRestartWarning_I2P()));
#endif
/* disable apply button after settings are loaded as there is nothing to save */
disableApplyButton();
}
示例2: disableApplyButton
void OptionsDialog::on_applyButton_clicked()
{
mapper->submit();
disableApplyButton();
}
示例3: tr
void OptionsDialog::on_applyButton_clicked()
{
mapper->submit();
QMessageBox::warning(this, tr("Warning"), tr("This setting will take effect after restarting Securealumnicoin."), QMessageBox::Ok);
disableApplyButton();
}
示例4: savePayConQuotes
void OptionsDialog::on_applyButton_clicked()
{
mapper->submit();
savePayConQuotes();
disableApplyButton();
}
示例5: disableApplyButton
void SettingPage::on_applyButton_clicked()
{
mapper->submit();
disableApplyButton();
}