1 | // Part of BNC, a utility for retrieving decoding and
|
---|
2 | // converting GNSS data streams from NTRIP broadcasters,
|
---|
3 | // written by Leos Mervart.
|
---|
4 | //
|
---|
5 | // Copyright (C) 2006
|
---|
6 | // German Federal Agency for Cartography and Geodesy (BKG)
|
---|
7 | // http://www.bkg.bund.de
|
---|
8 | // Czech Technical University Prague, Department of Advanced Geodesy
|
---|
9 | // http://www.fsv.cvut.cz
|
---|
10 | //
|
---|
11 | // Email: euref-ip@bkg.bund.de
|
---|
12 | //
|
---|
13 | // This program is free software; you can redistribute it and/or
|
---|
14 | // modify it under the terms of the GNU General Public License
|
---|
15 | // as published by the Free Software Foundation, version 2.
|
---|
16 | //
|
---|
17 | // This program is distributed in the hope that it will be useful,
|
---|
18 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
20 | // GNU General Public License for more details.
|
---|
21 | //
|
---|
22 | // You should have received a copy of the GNU General Public License
|
---|
23 | // along with this program; if not, write to the Free Software
|
---|
24 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
---|
25 |
|
---|
26 | #ifndef BNCTABLEDLG_H
|
---|
27 | #define BNCTABLEDLG_H
|
---|
28 |
|
---|
29 | #include <QtCore>
|
---|
30 | #include <QtGui>
|
---|
31 |
|
---|
32 | #include "bncconst.h"
|
---|
33 |
|
---|
34 | class bncTableDlg : public QDialog {
|
---|
35 | Q_OBJECT
|
---|
36 |
|
---|
37 | public:
|
---|
38 | bncTableDlg(QWidget* parent);
|
---|
39 | ~bncTableDlg();
|
---|
40 | static t_irc getFullTable(const QString& casterHost, int casterPort,
|
---|
41 | QStringList& allLines, bool alwaysRead = true);
|
---|
42 |
|
---|
43 | signals:
|
---|
44 | void newMountPoints(QStringList* mountPoints);
|
---|
45 |
|
---|
46 | private slots:
|
---|
47 | virtual void accept();
|
---|
48 | void slotGetTable();
|
---|
49 | void slotSkl();
|
---|
50 | void slotSelectionChanged();
|
---|
51 |
|
---|
52 | private:
|
---|
53 | QLineEdit* _casterHostLineEdit;
|
---|
54 | QLineEdit* _casterPortLineEdit;
|
---|
55 | QLineEdit* _casterUserLineEdit;
|
---|
56 | QLineEdit* _casterPasswordLineEdit;
|
---|
57 |
|
---|
58 | QPushButton* _buttonSkl;
|
---|
59 | QPushButton* _buttonGet;
|
---|
60 | QPushButton* _buttonCancel;
|
---|
61 | QPushButton* _buttonOK;
|
---|
62 |
|
---|
63 | QTableWidget* _table;
|
---|
64 | QStringList _allLines;
|
---|
65 | };
|
---|
66 |
|
---|
67 | #endif
|
---|