点击 QRadioButton 后 QLineEdit 收不到 textChanged 信号。
connect(radioButton, &QRadioButton::clicked, [=]{lineEdit->textChanged("");
});connect(lineEdit, &QLineEdit::textChanged, [=](){...
});
QLineEdit 先 connect textChanged, QRadioButton 后点击才收得到信号。
connect(lineEdit, &QLineEdit::textChanged, [=](){...
});connect(radioButton, &QRadioButton::clicked, [=]{lineEdit->textChanged("");
});