Browse Source

Todavia Limpiando el código, documentando

Rafael Arce Nazario 9 years ago
parent
commit
2a2c5ae847
5 changed files with 11 additions and 7 deletions
  1. 1
    1
      country.h
  2. 2
    2
      doublepoint.h
  3. 3
    1
      mainwindow.h
  4. 3
    3
      map.h
  5. 2
    0
      prMap.pro

+ 1
- 1
country.h View File

6
 #include <QMap>
6
 #include <QMap>
7
 
7
 
8
 
8
 
9
-/// A class to display a map of a country, given the coordinates
9
+/// \brief A class to display a map of a country, given the coordinates
10
 /// that define its limits.
10
 /// that define its limits.
11
 
11
 
12
 class Country {
12
 class Country {

+ 2
- 2
doublepoint.h View File

1
 #ifndef DOUBLEPOINT_H
1
 #ifndef DOUBLEPOINT_H
2
 #define DOUBLEPOINT_H
2
 #define DOUBLEPOINT_H
3
 
3
 
4
-/// A class to display to store an x, y coordinate of type double.
5
-///
4
+/// \brief A class to display to represent a point in the x,y plane.
5
+
6
 class DoublePoint {
6
 class DoublePoint {
7
 public:
7
 public:
8
     double x, y;
8
     double x, y;

+ 3
- 1
mainwindow.h View File

2
 #define MAINWINDOW_H
2
 #define MAINWINDOW_H
3
 
3
 
4
 #include <QMainWindow>
4
 #include <QMainWindow>
5
-// #include <census.h>
6
 #include "map.h"
5
 #include "map.h"
7
 namespace Ui {
6
 namespace Ui {
8
 class MainWindow;
7
 class MainWindow;
9
 }
8
 }
10
 
9
 
10
+/// \brief The mainwindow for the prMap application.
11
+
12
+
11
 class MainWindow : public QMainWindow
13
 class MainWindow : public QMainWindow
12
 {
14
 {
13
     Q_OBJECT
15
     Q_OBJECT

+ 3
- 3
map.h View File

35
     
35
     
36
     /// \fn drawLine(const GISPOI &city01, const GISPOI &city02)
36
     /// \fn drawLine(const GISPOI &city01, const GISPOI &city02)
37
     /// \~English
37
     /// \~English
38
-    /// \brief adds a line from city01 to city02
38
+    /// \brief adds a line from poi01 to poi02
39
     /// \~Spanish
39
     /// \~Spanish
40
     /// \brief añade una linea entre los centroides de city01 a city02
40
     /// \brief añade una linea entre los centroides de city01 a city02
41
     ///
41
     ///
42
-    void drawLine(const GISPOI &city01, const GISPOI &city02) {
42
+    void drawLine(const GISPOI &poi01, const GISPOI &poi02) {
43
         this->cityLines.push_back(
43
         this->cityLines.push_back(
44
-            QPair<const GISPOI *, const GISPOI *> (&city01, &city02));
44
+            QPair<const GISPOI *, const GISPOI *> (&poi01, &poi02));
45
     }
45
     }
46
     
46
     
47
     /// \fn ~Map)()
47
     /// \fn ~Map)()

+ 2
- 0
prMap.pro View File

32
 
32
 
33
 RESOURCES += \
33
 RESOURCES += \
34
     prmap.qrc
34
     prmap.qrc
35
+
36
+DEFINES += QT_NO_DEBUG_OUTPUT