Changeset 10657 in ntrip for trunk/BNC/src/bncwindow.h


Ignore:
Timestamp:
Jun 2, 2025, 9:22:52 AM (10 months ago)
Author:
stuerze
Message:

upload to caster revised

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.h

    r10619 r10657  
    3737
    3838class bncAboutDlg : public QDialog {
    39   Q_OBJECT
    40   public:
     39    Q_OBJECT
     40public:
    4141    bncAboutDlg(QWidget* parent);
    4242    ~bncAboutDlg();
     
    4444
    4545class bncFlowchartDlg : public QDialog {
    46   Q_OBJECT
    47 
    48   public:
     46    Q_OBJECT
     47
     48public:
    4949    bncFlowchartDlg(QWidget* parent);
    5050    ~bncFlowchartDlg();
     
    6060
    6161class bncWindow : public QMainWindow {
    62   Q_OBJECT
    63 
    64   public:
     62    Q_OBJECT
     63
     64public:
    6565    bncWindow();
    6666    ~bncWindow();
     
    6868    void AddToolbar();
    6969
    70   public slots:
     70public slots:
    7171    void slotMountPointsRead(QList<bncGetThread*>);
    7272    void slotBncTextChanged();
    7373
    74   private slots:
     74private slots:
    7575    void slotWindowMessage(const QByteArray msg, bool showOnScreen);
    7676    void slotHelp();
     
    101101    void slotPostProcessingProgress(int);
    102102
    103   protected:
    104     virtual void closeEvent(QCloseEvent *);
    105 
    106   private:
     103protected:
     104    virtual void closeEvent(QCloseEvent*);
     105
     106private:
    107107    void saveOptions();
    108108    void populateMountPointsTable();
     
    114114    void enableStartStop();
    115115
    116     QMenu*     _menuHlp;
    117     QMenu*     _menuFile;
    118 
    119     QAction*   _actHelp;
    120     QAction*   _actAbout;
    121     QAction*   _actFlowchart;
    122     QAction*   _actFontSel;
    123     QAction*   _actSaveOpt;
    124     QAction*   _actQuit;
    125     QAction*   _actMapMountPoints;
    126     QAction*   _actStart;
    127     QAction*   _actStop;
    128     QAction*   _actAddMountPoints;
    129     QAction*   _actDeleteMountPoints;
    130     QAction*   _actwhatsthis;
    131     QAction*   _actwhatsthismenu;
     116    QMenu* _menuHlp;
     117    QMenu* _menuFile;
     118
     119    QAction* _actHelp;
     120    QAction* _actAbout;
     121    QAction* _actFlowchart;
     122    QAction* _actFontSel;
     123    QAction* _actSaveOpt;
     124    QAction* _actQuit;
     125    QAction* _actMapMountPoints;
     126    QAction* _actStart;
     127    QAction* _actStop;
     128    QAction* _actAddMountPoints;
     129    QAction* _actDeleteMountPoints;
     130    QAction* _actwhatsthis;
     131    QAction* _actwhatsthismenu;
    132132
    133133    QLineEdit* _proxyHostLineEdit;
     
    149149    QLineEdit* _miscPortLineEdit;
    150150
    151     QComboBox*     _reqcActionComboBox;
    152     QPushButton*   _reqcEditOptionButton;
     151    QComboBox* _reqcActionComboBox;
     152    QPushButton* _reqcEditOptionButton;
    153153    qtFileChooser* _reqcObsFileChooser;
    154154    qtFileChooser* _reqcNavFileChooser;
    155     QLineEdit*     _reqcOutObsLineEdit;
    156     QLineEdit*     _reqcOutNavLineEdit;
    157     QLineEdit*     _reqcOutLogLineEdit;
    158     QLineEdit*     _reqcPlotDirLineEdit;
    159     QLineEdit*     _reqcSkyPlotSignals;
    160     QCheckBox*     _reqcLogSummaryOnly;
     155    QLineEdit* _reqcOutObsLineEdit;
     156    QLineEdit* _reqcOutNavLineEdit;
     157    QLineEdit* _reqcOutLogLineEdit;
     158    QLineEdit* _reqcPlotDirLineEdit;
     159    QLineEdit* _reqcSkyPlotSignals;
     160    QCheckBox* _reqcLogSummaryOnly;
    161161
    162162    qtFileChooser* _sp3CompFileChooser;
    163     QLineEdit*     _sp3CompExclude;
    164     QLineEdit*     _sp3CompLogLineEdit;
    165     QCheckBox*     _sp3CompSummaryOnly;
     163    QLineEdit* _sp3CompExclude;
     164    QLineEdit* _sp3CompLogLineEdit;
     165    QCheckBox* _sp3CompSummaryOnly;
    166166
    167167    QComboBox* _rnxVersComboBox;
     
    182182    QCheckBox* _autoStartCheckBox;
    183183    QCheckBox* _miscScanRTCMCheckBox;
    184     QSpinBox*  _outWaitSpinBox;
     184    QSpinBox* _outWaitSpinBox;
    185185    QComboBox* _adviseObsRateComboBox;
    186     QSpinBox*  _adviseFailSpinBox;
    187     QSpinBox*  _adviseRecoSpinBox;
     186    QSpinBox* _adviseFailSpinBox;
     187    QSpinBox* _adviseRecoSpinBox;
    188188    QLineEdit* _adviseScriptLineEdit;
    189189    QComboBox* _miscIntrComboBox;
     
    200200    QLineEdit* _serialFileNMEALineEdit;
    201201    QComboBox* _serialAutoNMEAComboBox;
    202     QSpinBox*  _serialNMEASamplingSpinBox;
    203 
    204     QLineEdit*   _LatLineEdit;
    205     QLineEdit*   _LonLineEdit;
    206 
    207     QComboBox*  _onTheFlyComboBox;
    208 
    209     QTextEdit*  _log;
    210 
    211     QWidget*    _canvas;
     202    QSpinBox* _serialNMEASamplingSpinBox;
     203
     204    QLineEdit* _LatLineEdit;
     205    QLineEdit* _LonLineEdit;
     206
     207    QComboBox* _onTheFlyComboBox;
     208
     209    QTextEdit* _log;
     210
     211    QWidget* _canvas;
    212212    QTabWidget* _aogroup;
    213213
    214214    QTabWidget* _loggroup;
    215     bncFigure*  _bncFigure;
    216     bncFigureLate*  _bncFigureLate;
    217     bncFigurePPP*   _bncFigurePPP;
    218 
    219     QTableWidget*  _cmbTable;
    220     QLineEdit*     _cmbMaxresLineEdit;
    221     QLineEdit*     _cmbMaxdisplacementLineEdit;
    222     QComboBox*     _cmbMethodComboBox;
    223     QSpinBox*      _cmbSamplSpinBox;
    224     QLineEdit*     _cmbLogPath;
    225     QCheckBox*     _cmbGpsCheckBox;
    226     QCheckBox*     _cmbGloCheckBox;
    227     QCheckBox*     _cmbGalCheckBox;
    228     QCheckBox*     _cmbBdsCheckBox;
    229     QCheckBox*     _cmbQzssCheckBox;
    230     QCheckBox*     _cmbSbasCheckBox;
    231     QCheckBox*     _cmbNavicCheckBox;
     215    bncFigure* _bncFigure;
     216    bncFigureLate* _bncFigureLate;
     217    bncFigurePPP* _bncFigurePPP;
     218
     219    QTableWidget* _cmbTable;
     220    QLineEdit* _cmbMaxresLineEdit;
     221    QLineEdit* _cmbMaxdisplacementLineEdit;
     222    QComboBox* _cmbMethodComboBox;
     223    QComboBox* _cmbSamplComboBox;
     224    QLineEdit* _cmbLogPath;
     225    QCheckBox* _cmbGpsCheckBox;
     226    QCheckBox* _cmbGloCheckBox;
     227    QCheckBox* _cmbGalCheckBox;
     228    QCheckBox* _cmbBdsCheckBox;
     229    QCheckBox* _cmbQzssCheckBox;
     230    QCheckBox* _cmbSbasCheckBox;
     231    QCheckBox* _cmbNavicCheckBox;
    232232    qtFileChooser* _cmbBsxFile;
    233233
    234     QTableWidget*  _uploadTable;
    235     QComboBox*     _uploadIntrComboBox;
    236     QSpinBox*      _uploadSamplRtcmEphCorrSpinBox;
    237     QComboBox*     _uploadSamplSp3ComboBox;
    238     QSpinBox*      _uploadSamplClkRnxSpinBox;
    239     QSpinBox*      _uploadSamplBiaSnxSpinBox;
     234    QTableWidget* _uploadTable;
     235    QComboBox* _uploadIntrComboBox;
     236    QComboBox* _uploadSamplRtcmEphCorrComboBox;
     237    QComboBox* _uploadSamplSp3ComboBox;
     238    QSpinBox* _uploadSamplClkRnxSpinBox;
     239    QSpinBox* _uploadSamplBiaSnxSpinBox;
    240240    qtFileChooser* _uploadAntexFile;
    241241
    242     QTableWidget*  _uploadEphTable;
    243     QSpinBox*      _uploadSamplRtcmEphSpinBox;
    244 
    245     bncCaster*          _caster;
     242    QTableWidget* _uploadEphTable;
     243    QSpinBox* _uploadSamplRtcmEphSpinBox;
     244
     245    bncCaster* _caster;
    246246    bncEphUploadCaster* _casterEph;
    247247
     
    252252    bool _runningSp3Comp;
    253253
    254     bool running() {return _runningRealTime || _runningPPP || _runningEdit ||
    255                     _runningQC || _runningSp3Comp;}
    256 
    257     bncMapWin*           _mapWin;
     254    bool running() {
     255        return _runningRealTime || _runningPPP || _runningEdit ||
     256            _runningQC || _runningSp3Comp;
     257    }
     258
     259    bncMapWin* _mapWin;
    258260
    259261    QList<bncGetThread*> _threads;
     
    265267#include "plugininterface.h"
    266268class t_bncFactory : public QObject, public GnssCenter::t_pluginFactoryInterface {
    267  Q_OBJECT
    268  Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
    269  public:
    270   virtual QWidget* create() {return new bncWindow();}
    271   virtual QString getName() const {return QString("BNC");}
     269    Q_OBJECT
     270        Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
     271public:
     272    virtual QWidget* create() { return new bncWindow(); }
     273    virtual QString getName() const { return QString("BNC"); }
    272274};
    273275#endif
Note: See TracChangeset for help on using the changeset viewer.