mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-10-08 00:00:29 -04:00
Add a setup checkbox "RTS/DTR Off", to enable proper CAT control of
Elecraft K2 (and possibly other rigs?). git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+7
-3
@@ -5,7 +5,7 @@
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
#include "ui_devsetup.h"
|
||||
#include "mainwindow.h"
|
||||
#include <hamlib/rigclass.h>
|
||||
|
||||
class DevSetup : public QDialog
|
||||
{
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
bool m_catEnabled;
|
||||
bool m_After73;
|
||||
bool m_bRigOpen;
|
||||
bool m_bDTRoff;
|
||||
|
||||
QString m_myCall;
|
||||
QString m_myGrid;
|
||||
@@ -57,8 +58,6 @@ public:
|
||||
QStringList m_macro;
|
||||
QStringList m_dFreq;
|
||||
|
||||
Rig* rig;
|
||||
|
||||
QProcess p4;
|
||||
QMessageBox msgBox0;
|
||||
|
||||
@@ -85,9 +84,14 @@ private slots:
|
||||
|
||||
void on_testPTTButton_clicked();
|
||||
|
||||
void on_cbDTRoff_toggled(bool checked);
|
||||
|
||||
private:
|
||||
Rig* rig;
|
||||
void msgBox(QString t);
|
||||
Ui::DialogSndCard ui;
|
||||
};
|
||||
|
||||
extern int ptt(int nport, int ntx, int* iptt, int* nopen);
|
||||
|
||||
#endif // DEVSETUP_H
|
||||
|
||||
Reference in New Issue
Block a user