I reached: Line edit value: "0" But doing that doesn't make sense, my problem is that
if (ui.beaufortBox->isChecked() && ui.knotBox_2->isChecked())
if (ui.beaufortBox->isChecked() && ui.knotBox_2->isChecked())
To copy to clipboard, switch view to plain text mode
doesn't return true (of course I selected this radiobuttons before) and I don't know why. In my code after user selects radiobuttons, all radiobuttons are
->setCheckable(false)
->setCheckable(false)
To copy to clipboard, switch view to plain text mode
But the real mistery is when user selected two checkboxes (ui.beaufortBox and ui.knotBox_2) and clicked next step button, it sets up labels correctly (which means that this radiobuttons are checked) and after they are set to checkable(false) if clause with
if (ui.beaufortBox->isChecked() && ui.knotBox_2->isChecked())
if (ui.beaufortBox->isChecked() && ui.knotBox_2->isChecked())
To copy to clipboard, switch view to plain text mode
doesn't return true. Regards
Bookmarks