MCPcopy Create free account
hub / github.com/QNapi/qnapi / autoDetectEncodingClicked

Method autoDetectEncodingClicked

gui/src/forms/frmoptions.cpp:279–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void frmOptions::autoDetectEncodingClicked() {
280 bool checkedCE = static_cast<EncodingChangeMethod>(
281 ui.cbEncodingMethod->currentIndex()) == ECM_CHANGE;
282 bool checkedADE = ui.cbAutoDetectEncoding->isChecked();
283 ui.cbEncFrom->setEnabled(checkedCE && !checkedADE);
284 ui.lbConvertFrom->setEnabled(checkedCE && !checkedADE);
285}
286
287void frmOptions::showAllEncodingsClicked() {
288 QString encFrom = ui.cbEncFrom->currentText();

Callers

nothing calls this directly

Calls 1

setEnabledMethod · 0.80

Tested by

no test coverage detected