18 #ifndef SDRGUI_GUI_EDITCOMMANDDIALOG_H_ 19 #define SDRGUI_GUI_EDITCOMMANDDIALOG_H_ 37 explicit EditCommandDialog(
const QStringList& groups,
const QString& group, QWidget* parent = 0);
40 QString getGroup()
const;
41 void setGroup(
const QString& group);
42 QString getDescription()
const;
43 void setDescription(
const QString& description);
44 QString getCommand()
const;
45 void setCommand(
const QString& command);
46 QString getArguments()
const;
47 void setArguments(
const QString& arguments);
48 Qt::Key getKey()
const;
49 Qt::KeyboardModifiers getKeyModifiers()
const;
50 void setKey(Qt::Key key, Qt::KeyboardModifiers modifiers);
51 bool getAssociateKey()
const;
52 void setAssociateKey(
bool associate);
53 bool getRelease()
const;
54 void setRelease(
bool release);
56 void toCommand(
Command& command)
const;
57 void fromCommand(
const Command& command);
60 Ui::EditCommandDialog*
ui;
66 void setKeyAssociate();
69 void on_showFileDialog_clicked(
bool checked);
70 void on_keyCapture_toggled(
bool checked);
71 void commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers,
bool release);
CommandKeyReceiver * m_commandKeyReceiver
Qt::KeyboardModifiers m_keyModifiers
Ui::EditCommandDialog * ui