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

Method WidgetGetBlock

source/ui/EditUi.cpp:2344–2349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2342 QString v = ui.image_right_edit->text();
2343 if (v.isEmpty());
2344 else if (QiVar::isInteger(v.toStdString())) image.rect.right = QiRange::Restricted(v.toInt(), QiImage::range_rect);
2345 else image.v_right = v;
2346 }
2347 {
2348 QString v = ui.image_bottom_edit->text();
2349 if (v.isEmpty());
2350 else if (QiVar::isInteger(v.toStdString())) image.rect.bottom = QiRange::Restricted(v.toInt(), QiImage::range_rect);
2351 else image.v_bottom = v;
2352 }

Callers

nothing calls this directly

Calls 2

uniqueMethod · 0.80
loadIdMethod · 0.80

Tested by

no test coverage detected