QList<QCheckBox *> widgets = findChildren<QCheckBox *>();
foreach(QCheckBox* checkbox, widgets)
{
     connect(checkbox, SIGNAL(stateChanged(int)), this, SLOT(slotEnableSaveButton()));
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-03-12
相关资源
相似解决方案