source: ntrip/trunk/BNS/bnswindow.h@ 1735

Last change on this file since 1735 was 1728, checked in by weber, 15 years ago

* empty log message *

File size: 2.8 KB
RevLine 
[748]1#ifndef BNSWINDOW_H
2#define BNSWINDOW_H
3
4#include <QtGui>
[749]5#include <QWhatsThis>
[748]6
[757]7#include "bns.h"
8
[749]9class bnsAboutDlg : public QDialog {
10 Q_OBJECT
11 public:
12 bnsAboutDlg(QWidget* parent);
13 ~bnsAboutDlg();
14};
15
[998]16class bnsFlowchartDlg : public QDialog {
17 Q_OBJECT
18
19 public:
20 bnsFlowchartDlg(QWidget* parent);
21 ~bnsFlowchartDlg();
22};
23
[748]24class bnsWindow : public QMainWindow {
25Q_OBJECT
26
27 public:
[758]28 bnsWindow();
[748]29 ~bnsWindow();
30
31 public slots:
[750]32 void slotMessage(const QByteArray msg);
[760]33 void slotError(const QByteArray msg);
[1668]34 void bnsText(const QString &text);
[748]35
36 private slots:
[749]37 void slotHelp();
38 void slotAbout();
[998]39 void slotFlowchart();
[749]40 void slotFontSel();
41 void slotSaveOptions();
42 void slotWhatsThis();
[754]43 void slotStart();
44 void slotStop();
[1058]45 void slotEphBytes(int nBytes);
46 void slotClkBytes(int nBytes);
[1258]47 void slotOutBytes1(int nBytes);
48 void slotOutBytes2(int nBytes);
[1728]49 void slotOutBytes3(int nBytes);
[748]50
51 protected:
[749]52 virtual void closeEvent(QCloseEvent *);
[748]53
54 private:
[749]55 void CreateMenu();
56 void AddToolbar();
[760]57 void deleteBns();
[1058]58 void updateStatus(int ii, int nBytes);
[748]59
[749]60 QMenu* _menuHlp;
61 QMenu* _menuFile;
62
63 QAction* _actHelp;
64 QAction* _actAbout;
[998]65 QAction* _actFlowchart;
[749]66 QAction* _actFontSel;
67 QAction* _actSaveOpt;
68 QAction* _actQuit;
[754]69 QAction* _actWhatsThis;
70 QAction* _actStart;
71 QAction* _actStop;
[749]72
73 QWidget* _canvas;
[750]74
[958]75 QLineEdit* _proxyHostLineEdit;
76 QLineEdit* _proxyPortLineEdit;
[1728]77
78 QLineEdit* _logFileLineEdit;
79 QCheckBox* _fileAppendCheckBox;
80 QCheckBox* _autoStartCheckBox;
81
[958]82 QLineEdit* _ephHostLineEdit;
[752]83 QLineEdit* _ephPortLineEdit;
[1089]84 QLineEdit* _ephEchoLineEdit;
[1728]85
[787]86 QLineEdit* _clkPortLineEdit;
[1728]87 QLineEdit* _inpEchoLineEdit;
88
[1249]89 QLineEdit* _outHost_1_LineEdit;
90 QLineEdit* _outPort_1_LineEdit;
[1728]91 QLineEdit* _mountpoint_1_LineEdit;
[1249]92 QLineEdit* _password_1_LineEdit;
[1728]93 QComboBox* _refSys_1_ComboBox;
94 QLineEdit* _outFile_1_LineEdit;
95 QCheckBox* _beClocks1CheckBox;
96
[1249]97 QLineEdit* _outHost_2_LineEdit;
98 QLineEdit* _outPort_2_LineEdit;
[1728]99 QLineEdit* _mountpoint_2_LineEdit;
[1249]100 QLineEdit* _password_2_LineEdit;
[1728]101 QComboBox* _refSys_2_ComboBox;
[1068]102 QLineEdit* _outFile_2_LineEdit;
[1728]103 QCheckBox* _beClocks2CheckBox;
104
105 QLineEdit* _outHost_3_LineEdit;
106 QLineEdit* _outPort_3_LineEdit;
107 QLineEdit* _mountpoint_3_LineEdit;
108 QLineEdit* _password_3_LineEdit;
109 QComboBox* _refSys_3_ComboBox;
110 QLineEdit* _outFile_3_LineEdit;
111 QCheckBox* _beClocks3CheckBox;
112
[845]113 QLineEdit* _rnxPathLineEdit;
[1728]114 QComboBox* _rnxIntrComboBox;
115 QSpinBox* _rnxSamplSpinBox;
116
[845]117 QLineEdit* _sp3PathLineEdit;
118 QComboBox* _sp3IntrComboBox;
119 QSpinBox* _sp3SamplSpinBox;
[750]120
121 QTextEdit* _log;
[757]122
[1668]123 QTabWidget* tabs;
[1083]124//QWidget* _status;
125 QGroupBox* _status;
[1728]126 QLabel* _statusLbl[10];
127 double _statusCnt[5];
[1058]128 QMutex _mutex;
129
[757]130 t_bns* _bns;
[748]131};
132#endif
Note: See TracBrowser for help on using the repository browser.