Qt Virtual Chart Table (QVCT)
CLandmarkContainerEditView.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_CLANDMARKCONTAINEREDITVIEW_HPP
20 #define QVCT_CLANDMARKCONTAINEREDITVIEW_HPP
21 
22 // QT
23 #include <QLineEdit>
24 #include <QWidget>
25 
26 // QVCT
28 class CLandmarkContainer;
29 
30 
32 
38 {
39 
40  //------------------------------------------------------------------------------
41  // FIELDS
42  //------------------------------------------------------------------------------
43 
44 private:
46  QLineEdit* pqLineEditName;
47 
48 
49  //------------------------------------------------------------------------------
50  // CONSTRUCTORS / DESTRUCTOR
51  //------------------------------------------------------------------------------
52 
53 public:
54  CLandmarkContainerEditView( CLandmarkContainer* _poLandmarkContainer );
56 
57 private:
59  void constructLayout();
60 
61 
62  //------------------------------------------------------------------------------
63  // METHODS: QDialog (override)
64  //------------------------------------------------------------------------------
65 
66 public slots:
67  virtual void accept();
68 
69 };
70 
71 #endif // QVCT_CLANDMARKCONTAINEREDITVIEW_HPP
[UI] Landmark container's edit view
QLineEdit * pqLineEditName
[UI:LineEdit] Name
void constructLayout()
Constructs the layout of the user-interface.
CLandmarkContainerEditView(CLandmarkContainer *_poLandmarkContainer)
[UI] Landmark overlay container
[UI] Generic overlay object's edit view