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

Method setUILanguage

QKeyMapper/qmappingsequenceedit.cpp:87–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void QMappingSequenceEdit::setUILanguage(int languageindex)
88{
89 Q_UNUSED(languageindex);
90
91 ui->mappingSequenceEditTable->setHorizontalHeaderLabels(QStringList() << tr("Split Mapping Sequence"));
92 ui->confirmButton->setText(tr(CONFIRMBUTTON_STR));
93 ui->cancelButton->setText(tr(CANCELBUTTON_STR));
94 ui->deleteButton->setText(tr("Delete"));
95 ui->undoButton->setText(tr("Undo"));
96 ui->redoButton->setText(tr("Redo"));
97
98 ui->mappingKeyLabel->setText(tr("MappingKey"));
99 ui->mapkeyListLabel->setText(tr("MappingKeyList"));
100 ui->insertMappingKeyButton->setText(tr("Insert"));
101
102 ui->mapList_SelectKeyboardButton->setToolTip(tr("Keyboard Keys"));
103 ui->mapList_SelectMouseButton->setToolTip(tr("Mouse Keys"));
104 ui->mapList_SelectGamepadButton->setToolTip(tr("Gamepad Keys"));
105 ui->mapList_SelectFunctionButton->setToolTip(tr("Function Keys"));
106}
107
108void QMappingSequenceEdit::setTitle(const QString &title)
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected