EditShortcutBase EditShortcutBase 0 0 587 402 unnamed textLabel2 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 space-separated shortcut sets. 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 line1 HLine Sunken Qt::Horizontal shortcut layout2 unnamed spacer1 Qt::Horizontal Expanding 40 20 pushButton1 &Single Shortcut spacer2 Qt::Horizontal Expanding 40 20 pushButton2 C&lear spacer3 Qt::Horizontal Expanding 40 20 line2 HLine Sunken Qt::Horizontal pushButton1 clicked() EditShortcutBase editShortcut() pushButton2 clicked() EditShortcutBase clearShortcut() editShortcut() clearShortcut()