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

Method WidgetGetBlockExec

source/ui/EditUi.cpp:2350–2356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }
2353 image.sim = ui.image_sim_edit->text().isEmpty() ? 80 : QiRange::Restricted(ui.image_sim_edit->text().toInt(), QiImage::range_sim);
2354 image.map = imageMap;
2355 image.move = ui.image_move_check->isChecked();
2356 image.mult = ui.image_mult_check->isChecked();
2357 return image;
2358}
2359QiPopText EditUi::WidgetGetPopText()

Callers

nothing calls this directly

Calls 2

toIntMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected