MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / WidgetGetSoundPlay

Method WidgetGetSoundPlay

source/ui/EditUi.cpp:2455–2465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2453 if (v.isEmpty());
2454 else if (QiVar::isInteger(v.toStdString())) ocr.rect.top = QiRange::Restricted(v.toInt(), QiOcr::range_rect);
2455 else ocr.v_top = v;
2456 }
2457 {
2458 QString v = ui.ocr_right_edit->text();
2459 if (v.isEmpty());
2460 else if (QiVar::isInteger(v.toStdString())) ocr.rect.right = QiRange::Restricted(v.toInt(), QiOcr::range_rect);
2461 else ocr.v_right = v;
2462 }
2463 {
2464 QString v = ui.ocr_bottom_edit->text();
2465 if (v.isEmpty());
2466 else if (QiVar::isInteger(v.toStdString())) ocr.rect.bottom = QiRange::Restricted(v.toInt(), QiOcr::range_rect);
2467 else ocr.v_bottom = v;
2468 }

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected