EditShortcut 0 0 1194 447 A single shortcut can be easily assigned or cleared using the two buttons. Only shortcuts with modifiers can be used.<p> It is possible to have several possible shortcuts, and the first available shortcut will be used. The shortcuts are specified using shortcut sets separated by " - ". One set is specified as <i>base</i>+(<i>list</i>), where base are modifiers and list is a list of keys.<br> For example "<b>Shift+Alt+(123) Shift+Ctrl+(ABC)</b>" will first try <b>Shift+Alt+1</b>, then others with <b>Shift+Ctrl+C</b> as the last one. Qt::RichText true QFrame::HLine QFrame::Sunken Qt::Vertical QSizePolicy::Expanding 40 20 &Single Shortcut Qt::Vertical QSizePolicy::Expanding 40 20 C&lear Qt::Vertical QSizePolicy::Expanding 40 20 QFrame::HLine QFrame::Sunken KLineEdit QWidget
klineedit.h
pushButton1 clicked() EditShortcut editShortcut() 20 20 20 20 pushButton2 clicked() EditShortcut clearShortcut() 20 20 20 20