本文整理汇总了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();
}
开发者ID:nodexcoin,项目名称:nodex,代码行数:24,代码来源:optionsdialog.cpp
示例2: disableApplyButton
void OptionsDialog::on_applyButton_clicked()
{
mapper->submit();
disableApplyButton();
}
开发者ID:BlueDragon747,项目名称:universalmol,代码行数:5,代码来源:optionsdialog.cpp
示例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();
}
开发者ID:masterofnix,项目名称:SAC2,代码行数:6,代码来源:optionspage.cpp
示例4: savePayConQuotes
void OptionsDialog::on_applyButton_clicked()
{
mapper->submit();
savePayConQuotes();
disableApplyButton();
}
开发者ID:MystPhysX,项目名称:paycon,代码行数:6,代码来源:optionsdialog.cpp
示例5: disableApplyButton
void SettingPage::on_applyButton_clicked()
{
mapper->submit();
disableApplyButton();
}
开发者ID:huanghao2008,项目名称:montecoin,代码行数:5,代码来源:settingpage.cpp
注:本文中的disableApplyButton函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论