MCPcopy Create free account
hub / github.com/GENIVI/CANdevStudio / createPropertyWidget

Method createPropertyWidget

src/common/candbhandler.cpp:96–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96QWidget* CanDbHandler::createPropertyWidget()
97{
98 auto* p = new PropertyFieldCombo(false);
99
100 for (auto& item : _dbNames) {
101 p->addItem(item.second, item.first);
102 }
103
104 p->sort();
105 p->setPropText(getName());
106
107 return p;
108}
109
110void CanDbHandler::dbDeleted(const QUuid& id)
111{

Callers 1

common_test.cppFile · 0.80

Calls 3

addItemMethod · 0.80
sortMethod · 0.45
setPropTextMethod · 0.45

Tested by

no test coverage detected