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

Method WidgetGetMouse

source/ui/EditUi.cpp:2170–2189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2168}
2169void EditUi::ItemSelectIdenticalParam()
2170{
2171 if (tableCurrent.size() != 1) return;
2172 const Action& current = actions->at(tableCurrent.front());
2173 QiVector<int> index;
2174 for (size_t i = 0; i < actions->size(); i++) if (actions->at(i).paramEquals(current)) index.append(i);
2175 ItemSelect(index);
2176}
2177void EditUi::ItemSelectIdenticalFull()
2178{
2179 if (tableCurrent.size() != 1) return;
2180 const Action& current = actions->at(tableCurrent.front());
2181 QiVector<int> index;
2182 for (size_t i = 0; i < actions->size(); i++) if (actions->at(i).fullEquals(current)) index.append(i);
2183 ItemSelect(index);
2184}
2185void EditUi::Redo()
2186{
2187 if (actionsHistory.canRedo())
2188 {
2189 idChecker.check(*actions);
2190
2191 actionsHistory.redo();
2192 *actions = actionsHistory.toVector();

Callers

nothing calls this directly

Calls 3

RestrictedFunction · 0.85
toIntMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected