connect(shortcut1, SIGNAL(activated()), this, SLOT(shortCutMotorTune()));
connect(shortcut2, SIGNAL(activated()), this, SLOT(shortCutSystemInformation()));
QShortcut* shortcut1 = new QShortcut(QKeySequence(ButtonKeyDefines::QKEY_SOFTBUTTON_LEFT, ButtonKeyDefines::QKEY_SOFTBUTTON_RIGHT), pTableWidget);
connect(shortcut1, SIGNAL(activated()), this, SLOT(shortCutMotorTune()));
QShortcut* shortcut2 = new QShortcut(QKeySequence(ButtonKeyDefines::QKEY_LEFT, ButtonKeyDefines::QKEY_RIGHT), pTableWidget);
connect(shortcut2, SIGNAL(activated()), this, SLOT(shortCutSystemInformation()));
To copy to clipboard, switch view to plain text mode
Bookmarks