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

Method WidgetGetDialog

source/ui/EditUi.cpp:2334–2343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2332 else if (QiVar::isInteger(v.toStdString())) image.rect.left = QiRange::Restricted(v.toInt(), QiImage::range_rect);
2333 else image.v_left = v;
2334 }
2335 {
2336 QString v = ui.image_top_edit->text();
2337 if (v.isEmpty());
2338 else if (QiVar::isInteger(v.toStdString())) image.rect.top = QiRange::Restricted(v.toInt(), QiImage::range_rect);
2339 else image.v_top = v;
2340 }
2341 {
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 }

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected