A Morse Code Training Application. https://bits.sigpipe.me/projects/cutecw/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

42 lines
606 B

#ifndef PREFS_H
#define PREFS_H
#include "Morse.h"
#include <QDialog>
#include <QSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QLineEdit>
namespace Ui {
class Prefs;
}
class Prefs : public QDialog
{
Q_OBJECT
public:
explicit Prefs(Morse *morse, QWidget *parent = 0);
~Prefs();
public slots:
void ok();
void cancel();
void testTone();
private:
Morse *m_morse;
QSpinBox *m_WPMRate;
QSpinBox *m_tone;
QCheckBox *m_StartSound;
QComboBox *m_Lang;
QLineEdit *m_StartSoundStr;
int m_oldTone;
int m_oldRate;
};
#endif // PREFS_H