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

Method WidgetGetClock

source/ui/EditUi.cpp:2372–2378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370 {
2371 QString v = ui.timer_min_edit->text();
2372 if (v.isEmpty()) timer.min = 1000;
2373 else if (QiVar::isInteger(v.toStdString())) timer.min = QiRange::Restricted(v.toInt(), QiTimer::range_time);
2374 else timer.v_min = v;
2375 }
2376 {
2377 QString v = ui.timer_max_edit->text();
2378 if (v.isEmpty()) timer.max = timer.min, timer.v_max = timer.v_min;
2379 else if (QiVar::isInteger(v.toStdString())) timer.max = QiRange::Restricted(v.toInt(), QiTimer::range_time);
2380 else timer.v_max = v;
2381 }

Callers

nothing calls this directly

Calls 2

RestrictedFunction · 0.85
timeMethod · 0.80

Tested by

no test coverage detected