Qt Virtual Chart Table (QVCT)
CVesselPointEditView.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_CVESSELPOINTEDITVIEW_HPP
20 #define QVCT_CVESSELPOINTEDITVIEW_HPP
21 
22 // QT
23 #include <QCheckBox>
24 #include <QLineEdit>
25 #include <QSpinBox>
26 #include <QTextEdit>
27 #include <QWidget>
28 
29 // QVCT
31 class CVesselPoint;
32 
33 
35 
41 {
42 
43  //------------------------------------------------------------------------------
44  // FIELDS
45  //------------------------------------------------------------------------------
46 
47 private:
49  QLineEdit* pqLineEditName;
51  QLineEdit* pqLineEditLongitude;
53  QLineEdit* pqLineEditLatitude;
57  QLineEdit* pqLineEditElevation;
61  QLineEdit* pqLineEditDate;
63  QLineEdit* pqLineEditTime;
91  QLineEdit* pqLineEditType;
95  QTextEdit* pqTextEditComment;
97  QLineEdit* pqLineEditSymbol;
99  QLineEdit* pqLineEditUrl;
102 
103 
104  //------------------------------------------------------------------------------
105  // CONSTRUCTORS / DESTRUCTOR
106  //------------------------------------------------------------------------------
107 
108 public:
109  CVesselPointEditView( CVesselPoint* _poVesselPoint );
110  virtual ~CVesselPointEditView() {};
111 
112 private:
114  void constructLayout();
115 
116 
117  //------------------------------------------------------------------------------
118  // METHODS: QDialog (override)
119  //------------------------------------------------------------------------------
120 
121 public slots:
122  virtual void accept();
123 
124 };
125 
126 #endif // QVCT_CVESSELPOINTEDITVIEW_HPP
[UI] Generic overlay object's edit view
[UI] Vessel point's (item) edit view
QCheckBox * pqCheckBoxValidityApparentBearing
[UI:CheckBox] Apparent bearing validity
QLineEdit * pqLineEditType
[UI:LineEdit] Type
QLineEdit * pqLineEditGroundSpeedVertical
[UI:LineEdit] Ground vertical speed
QLineEdit * pqLineEditGroundBearing
[UI:LineEdit] Ground bearing
QLineEdit * pqLineEditApparentBearing
[UI:LineEdit] Apparent bearing
QCheckBox * pqCheckBoxValidityGroundSpeed
[UI:CheckBox] Ground horizontal speed validity
QCheckBox * pqCheckBoxValidityTime
[UI:CheckBox] Time validity
QCheckBox * pqCheckBoxValidityApparentSpeed
[UI:CheckBox] Apparent horizontal speed validity
CVesselPointEditView(CVesselPoint *_poVesselPoint)
QLineEdit * pqLineEditSymbol
[UI:LineEdit] Symbol
QCheckBox * pqCheckBoxValidityPosition
[UI:CheckBox] Position validity
QCheckBox * pqCheckBoxValidityElevation
[UI:CheckBox] Elevation validity
QLineEdit * pqLineEditTime
[UI:LineEdit] Time
QCheckBox * pqCheckBoxValidityGroundSpeedVertical
[UI:CheckBox] Ground vertical speed validity
QLineEdit * pqLineEditName
[UI:LineEdit] Name
QLineEdit * pqLineEditLatitude
[UI:LineEdit] Latitude
QCheckBox * pqCheckBoxValidityApparentSpeedVertical
[UI:CheckBox] Apparent vertical speed validity
QLineEdit * pqLineEditUrl
[UI:LineEdit] URL
QCheckBox * pqCheckBoxValidityGroundBearing
[UI:CheckBox] Ground bearing validity
void constructLayout()
Constructs the layout of the user-interface.
QTextEdit * pqTextEditComment
[UI:TextEdit] Comment
QLineEdit * pqLineEditApparentSpeed
[UI:LineEdit] Apparent horizontal speed
QLineEdit * pqLineEditGroundSpeed
[UI:LineEdit] Ground horizontal speed
QSpinBox * pqSpinBoxTrackRecordRate
[UI:SpinBox] Track recroding rate
QLineEdit * pqLineEditApparentSpeedVertical
[UI:LineEdit] Apparent vertical speed
QTextEdit * pqTextEditDescription
[UI:TextEdit] Description
QLineEdit * pqLineEditElevation
[UI:LineEdit] Elevation
QLineEdit * pqLineEditDate
[UI:LineEdit] Date
QLineEdit * pqLineEditLongitude
[UI:LineEdit] Longitude
[UI] Vessel overlay point (item) / vessel