MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / itemFromArrayByText

Function itemFromArrayByText

src/gui/documentviewer/WizEditorToolBar.cpp:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222WizComboboxStyledItem itemFromArrayByText(const QString& text, const WizComboboxStyledItem array[], const int count)
223{
224 for (int i = 0; i < count; i++)
225 {
226 if (array[i].strText == text)
227 {
228 return array[i];
229 }
230 }
231 WizComboboxStyledItem defaultItem;
232 return defaultItem;
233}
234
235void clearWizCheckState(QComboBox* combobox)
236{

Callers 3

drawTextItemMethod · 0.85
sizeHintMethod · 0.85
drawTextItemMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected