2012-05-22 13:09:48 -04:00
|
|
|
#ifndef DEVSETUP_H
|
|
|
|
#define DEVSETUP_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "ui_devsetup.h"
|
|
|
|
|
|
|
|
class DevSetup : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
DevSetup(QWidget *parent=0);
|
|
|
|
~DevSetup();
|
|
|
|
|
|
|
|
void initDlg();
|
|
|
|
qint32 m_idInt;
|
|
|
|
qint32 m_pttPort;
|
|
|
|
qint32 m_nDevIn;
|
|
|
|
qint32 m_nDevOut;
|
|
|
|
qint32 m_inDevList[100];
|
|
|
|
qint32 m_outDevList[100];
|
|
|
|
qint32 m_paInDevice;
|
|
|
|
qint32 m_paOutDevice;
|
|
|
|
qint32 m_timeout;
|
|
|
|
qint32 m_dPhi;
|
|
|
|
qint32 m_fCal;
|
|
|
|
qint32 m_udpPort;
|
|
|
|
qint32 m_astroFont;
|
|
|
|
qint32 m_mult570;
|
2013-11-02 16:52:10 -04:00
|
|
|
qint32 m_mult570Tx;
|
2022-04-08 11:21:04 -04:00
|
|
|
qint32 m_dB;
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
double m_fAdd;
|
|
|
|
double m_cal570;
|
2015-03-09 15:33:34 -04:00
|
|
|
double m_TxOffset;
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
bool m_xpolx;
|
|
|
|
bool m_network;
|
|
|
|
bool m_fs96000;
|
|
|
|
bool m_xpol;
|
|
|
|
bool m_IQswap;
|
|
|
|
bool m_restartSoundIn;
|
|
|
|
bool m_restartSoundOut;
|
|
|
|
bool m_initIQplus;
|
2013-11-02 16:52:10 -04:00
|
|
|
bool m_bIQxt;
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
QString m_myCall;
|
|
|
|
QString m_myGrid;
|
|
|
|
QString m_saveDir;
|
|
|
|
QString m_azelDir;
|
|
|
|
QString m_dxccPfx;
|
|
|
|
QString m_colors;
|
2012-09-18 12:28:01 -04:00
|
|
|
QString m_editorCommand;
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
QColor m_colorBackground;
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void accept();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_soundCardRadioButton_toggled(bool checked);
|
|
|
|
void on_cbXpol_stateChanged(int arg1);
|
|
|
|
void on_cal570SpinBox_valueChanged(double ppm);
|
|
|
|
void on_mult570SpinBox_valueChanged(int mult);
|
|
|
|
void on_sbBackgroundRed_valueChanged(int arg1);
|
|
|
|
void on_sbBackgroundGreen_valueChanged(int arg1);
|
|
|
|
void on_sbBackgroundBlue_valueChanged(int arg1);
|
|
|
|
void updateColorLabels(void);
|
|
|
|
void on_sbRed0_valueChanged(int arg1);
|
|
|
|
void on_sbGreen0_valueChanged(int arg1);
|
|
|
|
void on_sbBlue0_valueChanged(int arg1);
|
|
|
|
void on_sbRed1_valueChanged(int arg1);
|
|
|
|
void on_sbGreen1_valueChanged(int arg1);
|
|
|
|
void on_sbBlue1_valueChanged(int arg1);
|
|
|
|
void on_sbRed2_valueChanged(int arg1);
|
|
|
|
void on_sbGreen2_valueChanged(int arg1);
|
|
|
|
void on_sbBlue2_valueChanged(int arg1);
|
|
|
|
void on_sbRed3_valueChanged(int arg1);
|
|
|
|
void on_sbGreen3_valueChanged(int arg1);
|
|
|
|
void on_sbBlue3_valueChanged(int arg1);
|
|
|
|
void on_pushButton_5_clicked();
|
2013-11-02 16:52:10 -04:00
|
|
|
void on_mult570TxSpinBox_valueChanged(int arg1);
|
2015-03-09 15:33:34 -04:00
|
|
|
void on_rbIQXT_toggled(bool checked);
|
|
|
|
void on_sbTxOffset_valueChanged(double f);
|
2022-04-08 11:21:04 -04:00
|
|
|
void on_sb_dB_valueChanged(int n);
|
2012-05-22 13:09:48 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
int r,g,b,r0,g0,b0,r1,g1,b1,r2,g2,b2,r3,g3,b3;
|
|
|
|
Ui::DialogSndCard ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DEVSETUP_H
|