MCPcopy Create free account
hub / github.com/cutechess/cutechess / setModel

Method setModel

projects/gui/src/stringvalidator.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void StringValidator::setModel(const QAbstractItemModel* model)
29{
30 m_model = model;
31 m_startIndex = model->index(0, 0);
32}
33
34void StringValidator::setStartIndex(const QModelIndex& index)
35{

Callers 7

GameDatabaseDialogMethod · 0.80
createDockWindowsMethod · 0.80
NewGameDialogMethod · 0.80
EngineSelectionDialogMethod · 0.80
NewTournamentDialogMethod · 0.80

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected