| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | #ifndef MAINWINDOW_H
 | 
					
						
							|  |  |  | #define MAINWINDOW_H
 | 
					
						
							|  |  |  | #include <QtGui>
 | 
					
						
							| 
									
										
										
										
											2014-03-03 16:27:25 +00:00
										 |  |  | #include <QtWidgets>
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  | #include <QPointer>
 | 
					
						
							| 
									
										
										
										
											2021-05-17 22:18:52 +01:00
										 |  |  | #include <QScopedPointer>
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | #include <QLabel>
 | 
					
						
							|  |  |  | #include <QDateTime>
 | 
					
						
							|  |  |  | #include <QHash>
 | 
					
						
							| 
									
										
										
										
											2021-05-07 01:14:51 +01:00
										 |  |  | #include <QProcess>
 | 
					
						
							| 
									
										
										
										
											2012-08-31 15:51:58 +00:00
										 |  |  | #include "getfile.h"
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | #include "soundin.h"
 | 
					
						
							|  |  |  | #include "soundout.h"
 | 
					
						
							| 
									
										
										
										
											2014-03-03 16:44:14 +00:00
										 |  |  | #include "signalmeter.h"
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | #include "commons.h"
 | 
					
						
							|  |  |  | #include "sleep.h"
 | 
					
						
							| 
									
										
										
										
											2014-03-03 16:27:25 +00:00
										 |  |  | #include <QtConcurrent/QtConcurrent>
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define NFFT 32768
 | 
					
						
							|  |  |  | #define NSMAX 5760000
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //--------------------------------------------------------------- MainWindow
 | 
					
						
							|  |  |  | namespace Ui { | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   class MainWindow; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 22:18:52 +01:00
										 |  |  | class QTimer; | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  | class Astro; | 
					
						
							|  |  |  | class BandMap; | 
					
						
							|  |  |  | class Messages; | 
					
						
							|  |  |  | class WideGraph; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | class MainWindow : public QMainWindow | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   Q_OBJECT | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public: | 
					
						
							|  |  |  |   explicit MainWindow(QWidget *parent = 0); | 
					
						
							|  |  |  |   ~MainWindow(); | 
					
						
							|  |  |  |   bool m_network; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public slots: | 
					
						
							|  |  |  |   void showSoundInError(const QString& errorMsg); | 
					
						
							|  |  |  |   void showStatusMessage(const QString& statusMsg); | 
					
						
							|  |  |  |   void dataSink(int k); | 
					
						
							|  |  |  |   void diskDat(); | 
					
						
							|  |  |  |   void diskWriteFinished(); | 
					
						
							|  |  |  |   void freezeDecode(int n); | 
					
						
							|  |  |  |   void readFromStdout(); | 
					
						
							| 
									
										
										
										
											2021-05-07 01:14:51 +01:00
										 |  |  |   void m65_error (QProcess::ProcessError); | 
					
						
							| 
									
										
										
										
											2012-09-18 16:28:01 +00:00
										 |  |  |   void editor_error(); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  |   void guiUpdate(); | 
					
						
							|  |  |  |   void doubleClickOnCall(QString hiscall, bool ctrl); | 
					
						
							| 
									
										
										
										
											2021-05-22 09:55:43 -04:00
										 |  |  |   void doubleClickOnMessages(QString hiscall, QString t2, bool ctrl); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 22:18:52 +01:00
										 |  |  | private: | 
					
						
							|  |  |  |   virtual void keyPressEvent (QKeyEvent *) override; | 
					
						
							|  |  |  |   virtual bool eventFilter (QObject *, QEvent *) override; | 
					
						
							|  |  |  |   virtual void closeEvent (QCloseEvent *) override; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | private slots: | 
					
						
							|  |  |  |   void on_tx1_editingFinished(); | 
					
						
							|  |  |  |   void on_tx2_editingFinished(); | 
					
						
							|  |  |  |   void on_tx3_editingFinished(); | 
					
						
							|  |  |  |   void on_tx4_editingFinished(); | 
					
						
							|  |  |  |   void on_tx5_editingFinished(); | 
					
						
							|  |  |  |   void on_tx6_editingFinished(); | 
					
						
							|  |  |  |   void on_actionDeviceSetup_triggered(); | 
					
						
							|  |  |  |   void on_monitorButton_clicked(); | 
					
						
							|  |  |  |   void on_actionExit_triggered(); | 
					
						
							|  |  |  |   void on_actionAbout_triggered(); | 
					
						
							|  |  |  |   void on_actionLinrad_triggered(); | 
					
						
							|  |  |  |   void on_actionCuteSDR_triggered(); | 
					
						
							|  |  |  |   void on_autoButton_clicked(); | 
					
						
							|  |  |  |   void on_stopTxButton_clicked(); | 
					
						
							|  |  |  |   void on_tolSpinBox_valueChanged(int arg1); | 
					
						
							|  |  |  |   void on_actionAstro_Data_triggered(); | 
					
						
							|  |  |  |   void on_stopButton_clicked(); | 
					
						
							| 
									
										
										
										
											2021-06-30 11:28:40 -04:00
										 |  |  |   void on_actionRelease_Notes_triggered(); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  |   void on_actionOnline_Users_Guide_triggered(); | 
					
						
							| 
									
										
										
										
											2021-05-10 09:38:14 -04:00
										 |  |  |   void on_actionQSG_Q65_triggered(); | 
					
						
							|  |  |  |   void on_actionQSG_MAP65_v3_triggered(); | 
					
						
							| 
									
										
										
										
											2021-05-20 14:36:58 -04:00
										 |  |  |   void on_actionQ65_Sensitivity_in_MAP65_3_0_triggered(); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  |   void on_actionWide_Waterfall_triggered(); | 
					
						
							|  |  |  |   void on_actionBand_Map_triggered(); | 
					
						
							|  |  |  |   void on_actionMessages_triggered(); | 
					
						
							|  |  |  |   void on_actionOpen_triggered(); | 
					
						
							|  |  |  |   void on_actionOpen_next_in_directory_triggered(); | 
					
						
							|  |  |  |   void on_actionDecode_remaining_files_in_directory_triggered(); | 
					
						
							|  |  |  |   void on_actionDelete_all_tf2_files_in_SaveDir_triggered(); | 
					
						
							|  |  |  |   void on_actionErase_Band_Map_and_Messages_triggered(); | 
					
						
							|  |  |  |   void on_actionFind_Delta_Phi_triggered(); | 
					
						
							|  |  |  |   void on_actionF4_sets_Tx6_triggered(); | 
					
						
							|  |  |  |   void on_actionOnly_EME_calls_triggered(); | 
					
						
							|  |  |  |   void on_actionNo_shorthands_if_Tx1_triggered(); | 
					
						
							|  |  |  |   void on_actionNo_Deep_Search_triggered(); | 
					
						
							|  |  |  |   void on_actionNormal_Deep_Search_triggered(); | 
					
						
							|  |  |  |   void on_actionAggressive_Deep_Search_triggered(); | 
					
						
							|  |  |  |   void on_actionNone_triggered(); | 
					
						
							|  |  |  |   void on_actionSave_all_triggered(); | 
					
						
							|  |  |  |   void on_actionKeyboard_shortcuts_triggered(); | 
					
						
							|  |  |  |   void on_actionSpecial_mouse_commands_triggered(); | 
					
						
							|  |  |  |   void on_actionAvailable_suffixes_and_add_on_prefixes_triggered(); | 
					
						
							|  |  |  |   void on_DecodeButton_clicked(); | 
					
						
							|  |  |  |   void decode(); | 
					
						
							|  |  |  |   void decodeBusy(bool b); | 
					
						
							|  |  |  |   void on_EraseButton_clicked(); | 
					
						
							|  |  |  |   void on_txb1_clicked(); | 
					
						
							|  |  |  |   void on_txFirstCheckBox_stateChanged(int arg1); | 
					
						
							|  |  |  |   void set_ntx(int n); | 
					
						
							|  |  |  |   void on_txb2_clicked(); | 
					
						
							|  |  |  |   void on_txb3_clicked(); | 
					
						
							|  |  |  |   void on_txb4_clicked(); | 
					
						
							|  |  |  |   void on_txb5_clicked(); | 
					
						
							|  |  |  |   void on_txb6_clicked(); | 
					
						
							|  |  |  |   void on_lookupButton_clicked(); | 
					
						
							|  |  |  |   void on_addButton_clicked(); | 
					
						
							|  |  |  |   void on_setTxFreqButton_clicked(); | 
					
						
							|  |  |  |   void on_dxCallEntry_textChanged(const QString &arg1); | 
					
						
							|  |  |  |   void on_dxGridEntry_textChanged(const QString &arg1); | 
					
						
							|  |  |  |   void selectCall2(bool ctrl); | 
					
						
							|  |  |  |   void on_genStdMsgsPushButton_clicked(); | 
					
						
							|  |  |  |   void bumpDF(int n); | 
					
						
							|  |  |  |   void on_logQSOButton_clicked(); | 
					
						
							|  |  |  |   void on_actionErase_map65_rx_log_triggered(); | 
					
						
							|  |  |  |   void on_actionErase_map65_tx_log_triggered(); | 
					
						
							|  |  |  |   void on_NBcheckBox_toggled(bool checked); | 
					
						
							|  |  |  |   void on_actionJT65A_triggered(); | 
					
						
							|  |  |  |   void on_actionJT65B_triggered(); | 
					
						
							|  |  |  |   void on_actionJT65C_triggered(); | 
					
						
							|  |  |  |   void on_NBslider_valueChanged(int value); | 
					
						
							|  |  |  |   void on_actionAdjust_IQ_Calibration_triggered(); | 
					
						
							|  |  |  |   void on_actionApply_IQ_Calibration_triggered(); | 
					
						
							|  |  |  |   void on_actionAFMHot_triggered(); | 
					
						
							|  |  |  |   void on_actionBlue_triggered(); | 
					
						
							|  |  |  |   void on_actionFUNcube_Dongle_triggered(); | 
					
						
							| 
									
										
										
										
											2012-09-18 15:44:10 +00:00
										 |  |  |   void on_actionEdit_wsjt_log_triggered(); | 
					
						
							| 
									
										
										
										
											2013-11-11 17:02:37 +00:00
										 |  |  |   void on_actionTx_Tune_triggered(); | 
					
						
							| 
									
										
										
										
											2021-04-06 14:05:14 -04:00
										 |  |  |   void on_actionQ65A_triggered(); | 
					
						
							|  |  |  |   void on_actionQ65B_triggered(); | 
					
						
							| 
									
										
										
										
											2017-01-15 22:01:24 +00:00
										 |  |  |   void on_actionNoJT65_triggered(); | 
					
						
							| 
									
										
										
										
											2021-04-06 14:05:14 -04:00
										 |  |  |   void on_actionNoQ65_triggered(); | 
					
						
							|  |  |  |   void on_actionQ65C_triggered(); | 
					
						
							|  |  |  |   void on_actionQ65D_triggered(); | 
					
						
							|  |  |  |   void on_actionQ65E_triggered(); | 
					
						
							| 
									
										
										
										
											2012-09-18 15:44:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-16 19:22:45 +00:00
										 |  |  |   void on_pbTxMode_clicked(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | private: | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   Ui::MainWindow *ui; | 
					
						
							|  |  |  |   QString m_appDir; | 
					
						
							|  |  |  |   QString m_settings_filename; | 
					
						
							| 
									
										
										
										
											2021-05-17 22:18:52 +01:00
										 |  |  |   QScopedPointer<Astro> m_astro_window; | 
					
						
							|  |  |  |   QScopedPointer<BandMap> m_band_map_window; | 
					
						
							|  |  |  |   QScopedPointer<Messages> m_messages_window; | 
					
						
							|  |  |  |   QScopedPointer<WideGraph> m_wide_graph_window; | 
					
						
							|  |  |  |   QPointer<QTimer> m_gui_timer; | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   qint64  m_msErase; | 
					
						
							|  |  |  |   qint32  m_nDevIn; | 
					
						
							|  |  |  |   qint32  m_nDevOut; | 
					
						
							|  |  |  |   qint32  m_idInt; | 
					
						
							|  |  |  |   qint32  m_waterfallAvg; | 
					
						
							|  |  |  |   qint32  m_DF; | 
					
						
							|  |  |  |   qint32  m_tol; | 
					
						
							|  |  |  |   qint32  m_QSOfreq0; | 
					
						
							|  |  |  |   qint32  m_ntx; | 
					
						
							|  |  |  |   qint32  m_pttPort; | 
					
						
							|  |  |  |   qint32  m_astroFont; | 
					
						
							|  |  |  |   qint32  m_timeout; | 
					
						
							|  |  |  |   qint32  m_dPhi; | 
					
						
							|  |  |  |   qint32  m_fCal; | 
					
						
							|  |  |  |   qint32  m_txFreq; | 
					
						
							|  |  |  |   qint32  m_setftx; | 
					
						
							|  |  |  |   qint32  m_ndepth; | 
					
						
							|  |  |  |   qint32  m_sec0; | 
					
						
							|  |  |  |   qint32  m_map65RxLog; | 
					
						
							|  |  |  |   qint32  m_nutc0; | 
					
						
							|  |  |  |   qint32  m_mode65; | 
					
						
							|  |  |  |   qint32  m_nrx; | 
					
						
							|  |  |  |   qint32  m_hsym0; | 
					
						
							|  |  |  |   qint32  m_paInDevice; | 
					
						
							|  |  |  |   qint32  m_paOutDevice; | 
					
						
							|  |  |  |   qint32  m_udpPort; | 
					
						
							|  |  |  |   qint32  m_NBslider; | 
					
						
							|  |  |  |   qint32  m_adjustIQ; | 
					
						
							|  |  |  |   qint32  m_applyIQcal; | 
					
						
							|  |  |  |   qint32  m_mult570; | 
					
						
							|  |  |  |   qint32  m_mult570Tx; | 
					
						
							|  |  |  |   qint32  m_nsum; | 
					
						
							|  |  |  |   qint32  m_nsave; | 
					
						
							|  |  |  |   qint32  m_TRperiod; | 
					
						
							|  |  |  |   qint32  m_modeJT65; | 
					
						
							|  |  |  |   qint32  m_modeQ65; | 
					
						
							| 
									
										
										
										
											2021-08-04 14:38:34 -04:00
										 |  |  |   qint32  m_RxState; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   double  m_fAdd; | 
					
						
							|  |  |  |   //    double  m_IQamp;
 | 
					
						
							|  |  |  |   //    double  m_IQphase;
 | 
					
						
							|  |  |  |   double  m_cal570; | 
					
						
							|  |  |  |   double  m_TxOffset; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   bool    m_monitoring; | 
					
						
							|  |  |  |   bool    m_transmitting; | 
					
						
							|  |  |  |   bool    m_diskData; | 
					
						
							|  |  |  |   bool    m_loopall; | 
					
						
							|  |  |  |   bool    m_decoderBusy; | 
					
						
							|  |  |  |   bool    m_txFirst; | 
					
						
							|  |  |  |   bool    m_auto; | 
					
						
							|  |  |  |   bool    m_txMute; | 
					
						
							|  |  |  |   bool    m_restart; | 
					
						
							|  |  |  |   bool    m_xpol; | 
					
						
							|  |  |  |   bool    m_xpolx; | 
					
						
							|  |  |  |   bool    m_call3Modified; | 
					
						
							|  |  |  |   bool    m_startAnother; | 
					
						
							|  |  |  |   bool    m_saveAll; | 
					
						
							|  |  |  |   bool    m_onlyEME; | 
					
						
							|  |  |  |   bool    m_widebandDecode; | 
					
						
							|  |  |  |   bool    m_kb8rq; | 
					
						
							|  |  |  |   bool    m_NB; | 
					
						
							|  |  |  |   bool    m_fs96000; | 
					
						
							|  |  |  |   bool    m_IQswap; | 
					
						
							|  |  |  |   bool    m_10db; | 
					
						
							|  |  |  |   bool    m_initIQplus; | 
					
						
							|  |  |  |   bool    m_bIQxt; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   float   m_gainx; | 
					
						
							|  |  |  |   float   m_gainy; | 
					
						
							|  |  |  |   float   m_phasex; | 
					
						
							|  |  |  |   float   m_phasey; | 
					
						
							|  |  |  |   float   m_pctZap; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QRect   m_wideGraphGeom; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QLabel* lab1;                            // labels in status bar
 | 
					
						
							|  |  |  |   QLabel* lab2; | 
					
						
							|  |  |  |   QLabel* lab3; | 
					
						
							|  |  |  |   QLabel* lab4; | 
					
						
							|  |  |  |   QLabel* lab5; | 
					
						
							|  |  |  |   QLabel* lab6; | 
					
						
							|  |  |  |   QLabel* lab7; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QMessageBox msgBox0; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QFuture<void>* future1; | 
					
						
							|  |  |  |   QFuture<void>* future2; | 
					
						
							|  |  |  |   QFutureWatcher<void>* watcher1; | 
					
						
							|  |  |  |   QFutureWatcher<void>* watcher2; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QProcess proc_m65; | 
					
						
							|  |  |  |   QProcess proc_qthid; | 
					
						
							|  |  |  |   QProcess proc_editor; | 
					
						
							| 
									
										
										
										
											2012-09-18 15:44:10 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QString m_path; | 
					
						
							|  |  |  |   QString m_pbdecoding_style1; | 
					
						
							|  |  |  |   QString m_pbmonitor_style; | 
					
						
							|  |  |  |   QString m_pbAutoOn_style; | 
					
						
							|  |  |  |   QString m_messagesText; | 
					
						
							|  |  |  |   QString m_bandmapText; | 
					
						
							|  |  |  |   QString m_myCall; | 
					
						
							|  |  |  |   QString m_myGrid; | 
					
						
							|  |  |  |   QString m_hisCall; | 
					
						
							|  |  |  |   QString m_hisGrid; | 
					
						
							|  |  |  |   QString m_saveDir; | 
					
						
							|  |  |  |   QString m_azelDir; | 
					
						
							|  |  |  |   QString m_dxccPfx; | 
					
						
							|  |  |  |   QString m_palette; | 
					
						
							|  |  |  |   QString m_dateTime; | 
					
						
							|  |  |  |   QString m_mode; | 
					
						
							|  |  |  |   QString m_colors; | 
					
						
							|  |  |  |   QString m_editorCommand; | 
					
						
							|  |  |  |   QString m_modeTx; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   QHash<QString,bool> m_worked; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   SignalMeter *xSignalMeter; | 
					
						
							|  |  |  |   SignalMeter *ySignalMeter; | 
					
						
							| 
									
										
										
										
											2014-03-03 16:44:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-20 12:45:18 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   SoundInThread soundInThread;             //Instantiate the audio threads
 | 
					
						
							|  |  |  |   SoundOutThread soundOutThread; | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 19:30:51 +01:00
										 |  |  |   //---------------------------------------------------- private functions
 | 
					
						
							|  |  |  |   void readSettings(); | 
					
						
							|  |  |  |   void writeSettings(); | 
					
						
							|  |  |  |   void createStatusBar(); | 
					
						
							|  |  |  |   void updateStatusBar(); | 
					
						
							|  |  |  |   void msgBox(QString t); | 
					
						
							|  |  |  |   void genStdMsgs(QString rpt); | 
					
						
							|  |  |  |   void lookup(); | 
					
						
							|  |  |  |   void ba2msg(QByteArray ba, char* message); | 
					
						
							|  |  |  |   void msgtype(QString t, QLineEdit* tx); | 
					
						
							|  |  |  |   void stub(); | 
					
						
							| 
									
										
										
										
											2021-05-19 13:04:23 -04:00
										 |  |  |   bool isGrid4(QString g); | 
					
						
							| 
									
										
										
										
											2021-05-07 01:14:51 +01:00
										 |  |  |   bool subProcessFailed (QProcess *, int exit_code, QProcess::ExitStatus); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern void getfile(QString fname, bool xpol, int idInt); | 
					
						
							|  |  |  | extern void savetf2(QString fname, bool xpol); | 
					
						
							|  |  |  | extern int killbyname(const char* progName); | 
					
						
							|  |  |  | extern void getDev(int* numDevices,char hostAPI_DeviceName[][50], | 
					
						
							|  |  |  |                    int minChan[], int maxChan[], | 
					
						
							|  |  |  |                    int minSpeed[], int maxSpeed[]); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern "C" { | 
					
						
							|  |  |  | //----------------------------------------------------- C and Fortran routines
 | 
					
						
							| 
									
										
										
										
											2017-01-17 18:45:23 +00:00
										 |  |  |   void symspec_(int* k, int* nxpol, int* ndiskdat, int* nb, | 
					
						
							| 
									
										
										
										
											2012-09-04 17:43:23 +00:00
										 |  |  |                 int* m_NBslider, int* idphi, int* nfsample, float* fgreen, | 
					
						
							|  |  |  |                 int* iqadjust, int* iqapply, float* gainx, float* gainy, | 
					
						
							|  |  |  |                 float* phasex, float* phasey, float* rejectx, float* rejecty, | 
					
						
							|  |  |  |                 float* px, float* py, float s[], int* nkhz, int* nhsym, | 
					
						
							|  |  |  |                 int* nzap, float* slimit, uchar lstrong[]); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-17 18:45:23 +00:00
										 |  |  |   void gen65_(char* msg, int* mode65, double* samfac, | 
					
						
							| 
									
										
										
										
											2012-08-31 18:29:54 +00:00
										 |  |  |               int* nsendingsh, char* msgsent, short iwave[], int* nwave, | 
					
						
							|  |  |  |               int len1, int len2); | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-22 14:04:08 -04:00
										 |  |  |   void gen_q65_wave_(char* msg, int* ntxFreq, int* mode64, | 
					
						
							|  |  |  |               char* msgsent, short iwave[], int* nwave, | 
					
						
							| 
									
										
										
										
											2017-01-17 16:38:01 +00:00
										 |  |  |               int len1, int len2); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-22 17:09:48 +00:00
										 |  |  |   int ptt_(int* nport, int* itx, int* iptt); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif // MAINWINDOW_H
 |