19 #ifndef SDRBASE_GUI_CWKEYERGUI_H_ 20 #define SDRBASE_GUI_CWKEYERGUI_H_ 42 explicit CWKeyerGUI(QWidget* parent =
nullptr);
45 void setCWKeyer(
CWKeyer* cwKeyer);
47 void resetToDefaults();
48 QByteArray serialize()
const;
49 bool deserialize(
const QByteArray& data);
52 void displaySettings();
70 void applySettings(
bool force =
false);
71 void blockApplySettings(
bool block);
72 void setKeyLabel(QLabel *label, Qt::Key key, Qt::KeyboardModifiers keyModifiers);
75 void on_cwTextClear_clicked(
bool checked);
76 void on_cwTextEdit_editingFinished();
77 void on_cwSpeed_valueChanged(
int value);
78 void on_playDots_toggled(
bool checked);
79 void on_playDashes_toggled(
bool checked);
80 void on_playText_toggled(
bool checked);
81 void on_playLoopCW_toggled(
bool checked);
82 void on_playStop_toggled(
bool checked);
83 void on_keyingStyle_toggled(
bool checked);
84 void on_keyDotCapture_toggled(
bool checked);
85 void on_keyDashCapture_toggled(
bool checked);
86 void on_keyboardKeyer_toggled(
bool checked);
87 void commandKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers,
bool release);
88 void keyboardKeyPressed(Qt::Key key, Qt::KeyboardModifiers keyModifiers,
bool release);
void setSettings(const CWKeyerSettings &settings)
CommandKeyReceiver * m_commandKeyReceiver
CWKeyerSettings m_settings