MCPcopy Create free account
hub / github.com/MyGUI/mygui / updateListData

Method updateListData

UnitTests/TestApp/DataListUI.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 void DataListUI::updateListData()
89 {
90 mListBox->removeAllItems();
91
92 const tools::Data::VectorData& childs = tools::DataManager::getInstance().getRoot()->getChilds();
93 for (tools::Data::VectorData::const_iterator child = childs.begin(); child != childs.end(); child++)
94 {
95 tools::Data* data = *(child);
96 mListBox->addItem((*child)->getPropertyValue("Name"), data);
97 }
98 }
99}

Callers

nothing calls this directly

Calls 5

removeAllItemsMethod · 0.45
getRootMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
addItemMethod · 0.45

Tested by

no test coverage detected