Qt Virtual Chart Table (QVCT)
CVesselPointDeviceEditView.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_CVESSELPOINTDEVICEEDITVIEW_HPP
20 #define QVCT_CVESSELPOINTDEVICEEDITVIEW_HPP
21 
22 // QT
23 #include <QCheckBox>
24 #include <QWidget>
25 
26 // QVCT
29 class CVesselPointDevice;
30 
31 
33 
39 {
40  Q_OBJECT
41 
42  //------------------------------------------------------------------------------
43  // FIELDS
44  //------------------------------------------------------------------------------
45 
46 private:
52  QCheckBox* pqCheckBoxPosition;
54  QCheckBox* pqCheckBoxElevation;
56  QCheckBox* pqCheckBoxTime;
70  QCheckBox* pqCheckBoxText;
71 
72 
73  //------------------------------------------------------------------------------
74  // CONSTRUCTORS / DESTRUCTOR
75  //------------------------------------------------------------------------------
76 
77 public:
78  CVesselPointDeviceEditView( CVesselPointDevice* _poVesselPointDevice );
80 
81 private:
83  void constructLayout();
84 
85 
86  //------------------------------------------------------------------------------
87  // METHODS: QDialog (override)
88  //------------------------------------------------------------------------------
89 
90 public slots:
91  virtual void accept();
92 
93 };
94 
95 #endif // QVCT_CVESSELPOINTDEVICEEDITVIEW_HPP
[UI] Generic overlay object's edit view
[UI] Overlay-specific text label
[UI] Vessel point's (item) edit view
QCheckBox * pqCheckBoxApparentSpeedVertical
[UI:CheckBox] Synchronize apparent vertical speed
COverlayText * poTextName
[UI:Label] Name
QCheckBox * pqCheckBoxElevation
[UI:CheckBox] Synchronize elevation
QCheckBox * pqCheckBoxGroundBearing
[UI:CheckBox] Synchronize ground bearing
QCheckBox * pqCheckBoxPosition
[UI:CheckBox] Synchronize position
QCheckBox * pqCheckBoxText
[UI:CheckBox] Synchronize additional textual data string
QCheckBox * pqCheckBoxTime
[UI:CheckBox] Synchronize time
QCheckBox * pqCheckBoxGroundSpeedVertical
[UI:CheckBox] Synchronize ground vertical speed
QCheckBox * pqCheckBoxApparentBearing
[UI:CheckBox] Synchronize apparent bearing
QCheckBox * pqCheckBoxGroundSpeed
[UI:CheckBox] Synchronize ground horizontal speed
CVesselPointDeviceEditView(CVesselPointDevice *_poVesselPointDevice)
COverlayText * poTextSourceName
[UI:Label] Source name
void constructLayout()
Constructs the layout of the user-interface.
QCheckBox * pqCheckBoxApparentSpeed
[UI:CheckBox] Synchronize apparent horizontal speed
[UI] Vessel device