Qt Virtual Chart Table (QVCT)
CLandmarkPointEditView.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_CLANDMARKITEMEDITVIEW_HPP
20 #define QVCT_CLANDMARKITEMEDITVIEW_HPP
21 
22 // QT
23 #include <QLineEdit>
24 #include <QTextEdit>
25 #include <QWidget>
26 
27 // QVCT
29 class CLandmarkPoint;
30 
31 
33 
39 {
40 
41  //------------------------------------------------------------------------------
42  // FIELDS
43  //------------------------------------------------------------------------------
44 
45 private:
47  QLineEdit* pqLineEditName;
49  QLineEdit* pqLineEditLongitude;
51  QLineEdit* pqLineEditLatitude;
53  QLineEdit* pqLineEditElevation;
55  QLineEdit* pqLineEditType;
59  QTextEdit* pqTextEditComment;
61  QLineEdit* pqLineEditSymbol;
63  QLineEdit* pqLineEditUrl;
64 
65 
66  //------------------------------------------------------------------------------
67  // CONSTRUCTORS / DESTRUCTOR
68  //------------------------------------------------------------------------------
69 
70 public:
71  CLandmarkPointEditView( CLandmarkPoint* _poLandmarkPoint );
73 
74 private:
76  void constructLayout();
77 
78 
79  //------------------------------------------------------------------------------
80  // METHODS: QDialog (override)
81  //------------------------------------------------------------------------------
82 
83 public slots:
84  virtual void accept();
85 
86 };
87 
88 #endif // QVCT_CLANDMARKITEMEDITVIEW_HPP
[UI] Landmark item's edit view
QLineEdit * pqLineEditType
[UI:LineEdit] Type
QLineEdit * pqLineEditName
[UI:LineEdit] Name
QTextEdit * pqTextEditDescription
[UI:TextEdit] Description
QLineEdit * pqLineEditUrl
[UI:LineEdit] URL
QLineEdit * pqLineEditLatitude
[UI:LineEdit] Latitude
CLandmarkPointEditView(CLandmarkPoint *_poLandmarkPoint)
QLineEdit * pqLineEditElevation
[UI:LineEdit] Elevation
QTextEdit * pqTextEditComment
[UI:TextEdit] Comment
QLineEdit * pqLineEditLongitude
[UI:LineEdit] Longitude
QLineEdit * pqLineEditSymbol
[UI:LineEdit] Symbol
void constructLayout()
Constructs the layout of the user-interface.
[UI] Landmark overlay point (item)
[UI] Generic overlay object's edit view