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

Method WidgetGetJump

source/ui/EditUi.cpp:2321–2327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2319 QString v = ui.loop_max_edit->text();
2320 if (v.isEmpty()) loop.max = loop.min, loop.v_max = loop.v_min;
2321 else if (QiVar::isInteger(v.toStdString())) loop.max = QiRange::Restricted(v.toInt(), QiLoop::range_count);
2322 else loop.v_max = v;
2323 }
2324 return loop;
2325}
2326QiImage EditUi::WidgetGetImage()
2327{
2328 QiImage image;
2329 {
2330 QString v = ui.image_left_edit->text();

Callers

nothing calls this directly

Calls 2

toIntMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected