Qt Virtual Chart Table (QVCT)
CDeviceTcpSbs1EditView.hpp
Go to the documentation of this file.
1 // INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
2 
3 /*
4  * Qt Virtual Chart Table (QVCT)
5  * Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
6  * Author: Cedric Dufour <http://cedric.dufour.name>
7  *
8  * The Qt Virtual Chart Table (QVCT) is free software:
9  * you can redistribute it and/or modify it under the terms of the GNU General
10  * Public License as published by the Free Software Foundation, Version 3.
11  *
12  * The Qt Virtual Chart Table (QVCT) is distributed in the hope
13  * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
14  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU General Public License for more details.
17  */
18 
19 #ifndef QVCT_CDEVICETCPSBS1EDITVIEW_HPP
20 #define QVCT_CDEVICETCPSBS1EDITVIEW_HPP
21 
22 // QT
23 #include <QCheckBox>
24 #include <QComboBox>
25 #include <QLineEdit>
26 #include <QWidget>
27 
28 // QVCT
30 class CDeviceTcpSbs1;
31 
32 
34 
40 {
41  Q_OBJECT
42 
43  //------------------------------------------------------------------------------
44  // FIELDS
45  //------------------------------------------------------------------------------
46 
47 private:
49  QLineEdit* pqLineEditHost;
51  QLineEdit* pqLineEditPort;
53  QComboBox* pqComboBoxTimeZone;
58 
59 
60  //------------------------------------------------------------------------------
61  // CONSTRUCTORS / DESTRUCTOR
62  //------------------------------------------------------------------------------
63 
64 public:
65  CDeviceTcpSbs1EditView( CDeviceTcpSbs1* _poDeviceTcpSbs1 );
67 
68 private:
70  void constructLayout();
71 
72 
73  //------------------------------------------------------------------------------
74  // METHODS: QDialog (override)
75  //------------------------------------------------------------------------------
76 
77 public slots:
78  virtual void accept();
79 
80 };
81 
82 #endif // QVCT_CDEVICETCPSBS1EDITVIEW_HPP
[UI] Route container's edit view
QLineEdit * pqLineEditPort
[UI:LineEdit] Port
void constructLayout()
Constructs the layout of the user-interface.
QLineEdit * pqLineEditHost
[UI:LineEdit] Host
QCheckBox * pqCheckBoxGroundTraffic
[UI:CheckBox] Ground traffic
CDeviceTcpSbs1EditView(CDeviceTcpSbs1 *_poDeviceTcpSbs1)
QComboBox * pqComboBoxTimeZone
[UI:ComboBox] Time zone
QCheckBox * pqCheckBoxCallsignLookup
[UI:CheckBox] Callsign lookup
SBS-1 protocol (TCP socket) navigation device.
[UI] Generic overlay object's edit view