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 | #include <QWhatsThis>
|
---|
32 |
|
---|
33 | #include "bncconst.h"
|
---|
34 |
|
---|
35 | class bncTableDlg : public QDialog {
|
---|
36 | Q_OBJECT
|
---|
37 |
|
---|
38 | public:
|
---|
39 | bncTableDlg(QWidget* parent);
|
---|
40 | ~bncTableDlg();
|
---|
41 | static t_irc getFullTable(const QString& casterHost, int casterPort,
|
---|
42 | QStringList& allLines, bool alwaysRead = true);
|
---|
43 |
|
---|
44 | signals:
|
---|
45 | void newMountPoints(QStringList* mountPoints);
|
---|
46 |
|
---|
47 | private slots:
|
---|
48 | virtual void accept();
|
---|
49 | void slotGetTable();
|
---|
50 | void slotSkl();
|
---|
51 | void slotSelectionChanged();
|
---|
52 | void slotWhatsThis();
|
---|
53 |
|
---|
54 | private:
|
---|
55 | QLineEdit* _casterHostLineEdit;
|
---|
56 | QLineEdit* _casterPortLineEdit;
|
---|
57 | QLineEdit* _casterUserLineEdit;
|
---|
58 | QLineEdit* _casterPasswordLineEdit;
|
---|
59 |
|
---|
60 | QPushButton* _buttonSkl;
|
---|
61 | QPushButton* _buttonGet;
|
---|
62 | QPushButton* _buttonCancel;
|
---|
63 | QPushButton* _buttonOK;
|
---|
64 | QPushButton* _buttonWhatsThis;
|
---|
65 |
|
---|
66 | QTableWidget* _table;
|
---|
67 | QStringList _allLines;
|
---|
68 | };
|
---|
69 |
|
---|
70 | #endif
|
---|