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

Method WidgetGetVolume

source/ui/EditUi.cpp:2447–2454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2445 {
2446 QString v = ui.ocr_left_edit->text();
2447 if (v.isEmpty());
2448 else if (QiVar::isInteger(v.toStdString())) ocr.rect.left = QiRange::Restricted(v.toInt(), QiOcr::range_rect);
2449 else ocr.v_left = v;
2450 }
2451 {
2452 QString v = ui.ocr_top_edit->text();
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 {

Callers

nothing calls this directly

Calls 2

RestrictedFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected