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

Method WidgetGetMsgView

source/ui/EditUi.cpp:2466–2479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2464 QString v = ui.ocr_bottom_edit->text();
2465 if (v.isEmpty());
2466 else if (QiVar::isInteger(v.toStdString())) ocr.rect.bottom = QiRange::Restricted(v.toInt(), QiOcr::range_rect);
2467 else ocr.v_bottom = v;
2468 }
2469 ocr.text = ui.ocr_text_edit->text();
2470 ocr.var = ui.ocr_var_edit->text();
2471 ocr.row = ui.ocr_row_check->isChecked();
2472 ocr.match = ui.ocr_match_check->isChecked();
2473 ocr.move = ui.ocr_move_check->isChecked();
2474 ocr.mult = ui.ocr_mult_check->isChecked();
2475 return ocr;
2476}
2477QiVarOperator EditUi::WidgetGetVarOperator()
2478{
2479 QiVarOperator varOperator;
2480 varOperator.script = ui.varOperator_textedit->toPlainText();
2481 return varOperator;
2482}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected