diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /map65/mainwindow.h | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'map65/mainwindow.h')
| -rw-r--r-- | map65/mainwindow.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/map65/mainwindow.h b/map65/mainwindow.h index d60e1239..0262e0ac 100644 --- a/map65/mainwindow.h +++ b/map65/mainwindow.h @@ -12,11 +12,11 @@ #include "soundout.h" #include "signalmeter.h" #include "commons.h" +#include "map65_decode_display_filter.h" #include "sleep.h" #include <QtConcurrent/QtConcurrent> #include <QByteArray> -#define NFFT 32768 #define NSMAX 5760000 @@ -53,13 +53,16 @@ public: float* getDd() const; std::thread stdoutReaderThread; std::atomic<bool> stdoutReaderStop {false}; + void writeSettings(); bool m_network; int m_pttPortNumber = 0; QString m_pttPath; QString m_appDir; + QString m_installedDataDir; QString m_dataDir; + QString m_eclipseFile; QString m_settings_filename; qint32 m_nDevIn; qint32 m_nDevOut; @@ -84,7 +87,8 @@ public: bool m_xpol; bool m_xpolx; - bool m_fs96000; + int m_fs96000; + int m_pendingFs96000 {-1}; bool m_IQswap; bool m_initIQplus; bool m_bIQxt; @@ -139,6 +143,8 @@ private slots: void on_actionQSG_Q65_triggered(); void on_actionQSG_MAP65_v3_triggered(); void on_actionQ65_Sensitivity_in_MAP65_3_0_triggered(); + void on_actionCopyright_Notice_triggered(); + void on_actionTrademark_Policy_triggered(); void on_actionWide_Waterfall_triggered(); void on_actionBand_Map_triggered(); void on_actionMessages_triggered(); @@ -154,6 +160,7 @@ private slots: void on_actionNo_Deep_Search_triggered(); void on_actionNormal_Deep_Search_triggered(); void on_actionAggressive_Deep_Search_triggered(); + void on_actionFull_Deep_Search_triggered(); void on_actionNone_triggered(); void on_actionSave_all_triggered(); void on_actionKeyboard_shortcuts_triggered(); @@ -202,12 +209,13 @@ private slots: void on_actionQ65D_triggered(); void on_actionQ65E_triggered(); void on_pbTxMode_clicked(); + void onSampleRateChanged(int newRate); private: + QString call3Path() const; virtual void keyPressEvent (QKeyEvent *) override; virtual bool eventFilter (QObject *, QEvent *) override; virtual void closeEvent (QCloseEvent *) override; - QString call3Path() const; QScopedPointer<Astro> m_astro_window; QScopedPointer<BandMap> m_band_map_window; @@ -263,6 +271,7 @@ private: QString m_pbAutoOn_style; QString m_messagesText; QString m_bandmapText; + Map65DecodeDisplayFilter m_decodeDisplayFilter; QString m_hisCall; QString m_hisGrid; QString m_palette; @@ -290,6 +299,7 @@ private: QLabel* lab5; QLabel* lab6; QLabel* lab7; + QLabel* lab8; QMessageBox msgBox0; @@ -323,7 +333,6 @@ private: //---------------------------------------------------- private functions void readSettings(); - void writeSettings(); void createStatusBar(); void updateStatusBar(); void msgBox(QString t); @@ -343,6 +352,10 @@ private: void createMessagesWindow(); }; +extern int g_sampleRate; +extern int active_nfft; +extern std::vector<qint16> id; + extern void getDev(int* numDevices,char hostAPI_DeviceName[][50], int minChan[], int maxChan[], int minSpeed[], int maxSpeed[]); @@ -350,7 +363,7 @@ extern void getDev(int* numDevices,char hostAPI_DeviceName[][50], extern "C" { //----------------------------------------------------- C and Fortran routines void symspec_(int* k, int* nxpol, int* ndiskdat, int* nb, - int* m_NBslider, int* idphi, int* nfsample, + int* m_NBslider, int* idphi, 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, |
