MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / updateMappingKeyListComboBox

Method updateMappingKeyListComboBox

QKeyMapper/qmappingsequenceedit.cpp:187–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void QMappingSequenceEdit::updateMappingKeyListComboBox()
188{
189 const KeyListComboBox *mapkeyComboBox = QKeyMapper::getInstance()->getMapKeyComboBox();
190
191 ui->MappingSequenceEdit_MappingKeyListComboBox->clear();
192
193 ui->MappingSequenceEdit_MappingKeyListComboBox->addItem(QString());
194 for(int i = 1; i < mapkeyComboBox->count(); i++) {
195 QIcon icon = mapkeyComboBox->itemIcon(i);
196 QString text = mapkeyComboBox->itemText(i);
197 ui->MappingSequenceEdit_MappingKeyListComboBox->addItem(icon, text);
198 }
199}
200
201QString QMappingSequenceEdit::joinCurentMappingSequenceTable()
202{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected