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

Method updateMappingKeyListComboBox

QKeyMapper/qitemsetupdialog.cpp:412–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void QItemSetupDialog::updateMappingKeyListComboBox()
413{
414 const KeyListComboBox *mapkeyComboBox = QKeyMapper::getInstance()->getMapKeyComboBox();
415
416 m_MappingKeyListComboBox->clear();
417
418 m_MappingKeyListComboBox->addItem(QString());
419 for(int i = 1; i < mapkeyComboBox->count(); i++) {
420 QIcon icon = mapkeyComboBox->itemIcon(i);
421 QString text = mapkeyComboBox->itemText(i);
422 m_MappingKeyListComboBox->addItem(icon, text);
423 }
424}
425
426bool QItemSetupDialog::isCrosshairSetupDialogVisible()
427{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected