source: ntrip/trunk/GnssCenter/monitor/dlgconf.cpp@ 5461

Last change on this file since 5461 was 5461, checked in by mervart, 11 years ago
File size: 1.1 KB
Line 
1
2/* -------------------------------------------------------------------------
3 * RTNet DlgConf
4 * -------------------------------------------------------------------------
5 *
6 * Class: t_dlgConf
7 *
8 * Purpose: Set configuration
9 *
10 * Author: L. Mervart
11 *
12 * Created: 15-Sep-2013
13 *
14 * Changes:
15 *
16 * -----------------------------------------------------------------------*/
17
18#include "dlgconf.h"
19#include "settings.h"
20#include "const.h"
21
22using namespace std;
23using namespace GnssCenter;
24
25// Constructor
26/////////////////////////////////////////////////////////////////////////////
27t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
28
29 _hostLineEdit = new QLineEdit;
30 _portLineEdit = new QLineEdit;
31
32 QFormLayout* formLayout = new QFormLayout;
33 formLayout->addRow("Host:", _hostLineEdit);
34 formLayout->addRow("Port:", _portLineEdit);
35
36 setLayout(formLayout);
37
38 t_settings settings(pluginName);
39 settings.setValue("host", "rtnet.rtcm-ntrip.org");
40 settings.setValue("port", 7777);
41 settings.sync();
42
43}
44
45// Destructor
46/////////////////////////////////////////////////////////////////////////////
47t_dlgConf::~t_dlgConf() {
48}
49
Note: See TracBrowser for help on using the repository browser.