Ver código fonte

Final repo initial commit

Jose Ortiz 9 anos atrás
commit
b65dc1919e
100 arquivos alterados com 7500 adições e 0 exclusões
  1. 33
    0
      BirthOfABird.pro
  2. 711
    0
      README.md
  3. 253
    0
      bird.cpp
  4. 166
    0
      bird.h
  5. 5
    0
      birth.qrc
  6. 103
    0
      doc/en/html/annotated.html
  7. BIN
      doc/en/html/arrowdown.png
  8. BIN
      doc/en/html/arrowright.png
  9. BIN
      doc/en/html/bc_s.png
  10. BIN
      doc/en/html/bdwn.png
  11. 172
    0
      doc/en/html/bird_8h_source.html
  12. 122
    0
      doc/en/html/class_bird-members.html
  13. 561
    0
      doc/en/html/class_bird.html
  14. BIN
      doc/en/html/class_bird.png
  15. 106
    0
      doc/en/html/class_main_window-members.html
  16. 207
    0
      doc/en/html/class_main_window.html
  17. BIN
      doc/en/html/class_main_window.png
  18. 107
    0
      doc/en/html/classes.html
  19. BIN
      doc/en/html/closed.png
  20. BIN
      doc/en/html/doc.png
  21. 1449
    0
      doc/en/html/doxygen.css
  22. BIN
      doc/en/html/doxygen.png
  23. 97
    0
      doc/en/html/dynsections.js
  24. 102
    0
      doc/en/html/files.html
  25. BIN
      doc/en/html/folderclosed.png
  26. BIN
      doc/en/html/folderopen.png
  27. 173
    0
      doc/en/html/functions.html
  28. 107
    0
      doc/en/html/functions_enum.html
  29. 116
    0
      doc/en/html/functions_eval.html
  30. 146
    0
      doc/en/html/functions_func.html
  31. 116
    0
      doc/en/html/functions_vars.html
  32. 102
    0
      doc/en/html/globals.html
  33. 102
    0
      doc/en/html/globals_func.html
  34. 105
    0
      doc/en/html/hierarchy.html
  35. 89
    0
      doc/en/html/index.html
  36. 68
    0
      doc/en/html/jquery.js
  37. 174
    0
      doc/en/html/main_8cpp.html
  38. 132
    0
      doc/en/html/mainwindow_8h_source.html
  39. BIN
      doc/en/html/nav_f.png
  40. BIN
      doc/en/html/nav_g.png
  41. BIN
      doc/en/html/nav_h.png
  42. BIN
      doc/en/html/open.png
  43. 26
    0
      doc/en/html/search/all_0.html
  44. 5
    0
      doc/en/html/search/all_0.js
  45. 26
    0
      doc/en/html/search/all_1.html
  46. 6
    0
      doc/en/html/search/all_1.js
  47. 26
    0
      doc/en/html/search/all_2.html
  48. 4
    0
      doc/en/html/search/all_2.js
  49. 26
    0
      doc/en/html/search/all_3.html
  50. 6
    0
      doc/en/html/search/all_3.js
  51. 26
    0
      doc/en/html/search/all_4.html
  52. 7
    0
      doc/en/html/search/all_4.js
  53. 26
    0
      doc/en/html/search/all_5.html
  54. 5
    0
      doc/en/html/search/all_5.js
  55. 26
    0
      doc/en/html/search/all_6.html
  56. 4
    0
      doc/en/html/search/all_6.js
  57. 26
    0
      doc/en/html/search/all_7.html
  58. 4
    0
      doc/en/html/search/all_7.js
  59. 26
    0
      doc/en/html/search/all_8.html
  60. 8
    0
      doc/en/html/search/all_8.js
  61. 26
    0
      doc/en/html/search/all_9.html
  62. 5
    0
      doc/en/html/search/all_9.js
  63. 26
    0
      doc/en/html/search/all_a.html
  64. 4
    0
      doc/en/html/search/all_a.js
  65. 26
    0
      doc/en/html/search/classes_0.html
  66. 4
    0
      doc/en/html/search/classes_0.js
  67. 26
    0
      doc/en/html/search/classes_1.html
  68. 4
    0
      doc/en/html/search/classes_1.js
  69. BIN
      doc/en/html/search/close.png
  70. 26
    0
      doc/en/html/search/enums_0.html
  71. 4
    0
      doc/en/html/search/enums_0.js
  72. 26
    0
      doc/en/html/search/enumvalues_0.html
  73. 4
    0
      doc/en/html/search/enumvalues_0.js
  74. 26
    0
      doc/en/html/search/enumvalues_1.html
  75. 4
    0
      doc/en/html/search/enumvalues_1.js
  76. 26
    0
      doc/en/html/search/enumvalues_2.html
  77. 5
    0
      doc/en/html/search/enumvalues_2.js
  78. 26
    0
      doc/en/html/search/files_0.html
  79. 4
    0
      doc/en/html/search/files_0.js
  80. 26
    0
      doc/en/html/search/functions_0.html
  81. 4
    0
      doc/en/html/search/functions_0.js
  82. 26
    0
      doc/en/html/search/functions_1.html
  83. 5
    0
      doc/en/html/search/functions_1.js
  84. 26
    0
      doc/en/html/search/functions_2.html
  85. 7
    0
      doc/en/html/search/functions_2.js
  86. 26
    0
      doc/en/html/search/functions_3.html
  87. 4
    0
      doc/en/html/search/functions_3.js
  88. 26
    0
      doc/en/html/search/functions_4.html
  89. 4
    0
      doc/en/html/search/functions_4.js
  90. 26
    0
      doc/en/html/search/functions_5.html
  91. 4
    0
      doc/en/html/search/functions_5.js
  92. 26
    0
      doc/en/html/search/functions_6.html
  93. 7
    0
      doc/en/html/search/functions_6.js
  94. 26
    0
      doc/en/html/search/functions_7.html
  95. 4
    0
      doc/en/html/search/functions_7.js
  96. BIN
      doc/en/html/search/mag_sel.png
  97. 12
    0
      doc/en/html/search/nomatches.html
  98. 271
    0
      doc/en/html/search/search.css
  99. 791
    0
      doc/en/html/search/search.js
  100. 0
    0
      doc/en/html/search/search_l.png

+ 33
- 0
BirthOfABird.pro Ver arquivo

@@ -0,0 +1,33 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2014-05-27T18:48:53
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += multimedia core gui widgets
8
+
9
+QT_VERSION = 5.4
10
+
11
+equals(QT_VERSION, 5){
12
+   QT += widgets
13
+}
14
+equals(QT_VERSION, 4) {
15
+   QT += gui
16
+}
17
+
18
+CONFIG += c++11
19
+
20
+TARGET = BirthOfABird
21
+TEMPLATE = app
22
+
23
+
24
+SOURCES += main.cpp\
25
+        mainwindow.cpp \
26
+    bird.cpp 
27
+
28
+HEADERS  += mainwindow.h \
29
+    bird.h
30
+
31
+FORMS    += mainwindow.ui
32
+
33
+RESOURCES += birth.qrc

+ 711
- 0
README.md Ver arquivo

@@ -0,0 +1,711 @@
1
+[English](#markdown-header-decision-structures-birth-of-a-bird) | [Español](#markdown-header-estructuras-de-decision-nacimiento-de-un-pajaro)
2
+
3
+#Estructuras de decisión - Nacimiento de un Pájaro
4
+
5
+
6
+![main1.png](images/main1.png)
7
+![main2.png](images/main2.png)
8
+![main3.png](images/main3.png)
9
+
10
+
11
+En casi todas las instancias en que queremos resolver un problema hay una o más opciones que dependen  de si se cumplen o no ciertas condiciones. Los programas de computadoras se construyen para resolver problemas y, por lo tanto, deben tener una estructura que permita tomar decisiones. En C++ las  instrucciones de decisión (o condicionales) se estructuran utilizando `if`, `else`, `else if` o `switch`. Muchas veces el uso de estas estructuras también envuelve el uso de expresiones de relación y operadores lógicos. En la experiencia de laboratorio de hoy practicarás el uso de algunas  estructuras de decisión completando el diseño utilizando una clase llamada `Bird`. También repasarás conceptos relacionados a objetos.
12
+
13
+##Objetivos:
14
+
15
+1.  Utilizar expresiones relacionales y seleccionar operadores lógicos adecuados para la toma de decisiones.
16
+2. Aplicar estructuras de decisión.
17
+3. Analizar la declaración de una clase para entender cómo crear y manipular objetos de esa clase.
18
+4. Practicar la creación y manipulación de objetos, y la invocación de "setters" y "getters".
19
+
20
+
21
+
22
+##Pre-Lab:
23
+
24
+Antes de llegar al laboratorio debes:
25
+
26
+1. Haber repasado los siguientes conceptos relacionados a estructuras de decisión:
27
+
28
+  a. operadores lógicos.
29
+  b. `if`, `else`, `else if`.
30
+
31
+2. Haber repasado los siguientes conceptos relacionados a objetos y clases en C++:
32
+
33
+  a. creación de objetos de una clase.
34
+  b. utilización de métodos "getters" para acceder a los atributos de un objeto.
35
+  c. utilización de métodos "setters" para modificar los atributos de un objeto.
36
+
37
+3. Haber estudiado la documentación de la clase `Bird` disponible en [este enlace] (http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html).
38
+
39
+4. Haber estudiado los conceptos e instrucciones para la sesión de laboratorio.
40
+
41
+5. haber tomado el quiz Pre-Lab que se encuentra en Moodle.
42
+
43
+
44
+
45
+---
46
+
47
+---
48
+
49
+Para facilitar la ejecución de esta experiencia de laboratorio, comenzaremos repasando algunos conceptos relacionados a objetos y describiremos la clase `Bird`.
50
+
51
+------------------------------------------
52
+
53
+##Clases y objetos en C++
54
+
55
+Un *objeto* es un ente que contiene datos y procedimientos para manipularlos. Al igual que cada variable tiene un *tipo* de dato asociada a ella, cada objeto tiene una *clase* asociada que describe las propiedades de los objetos:
56
+sus datos (*atributos*), y los procedimientos con los que se pueden manipular los datos (*métodos*).
57
+
58
+Para definir y utilizar un objeto  no hay que saber todos los detalles de los métodos del objeto pero hay que saber cómo crearlo, y cómo interactuar con él. La  información necesaria está disponible en la documentación de la clase. Antes de crear objetos de cualquier clase debemos familiarizarnos con su documentación. La documentación nos indica, entre otras cosas, que ente se está tratando de representar con la clase, y cuáles son los interfaces  o métodos disponibles para manipular los objetos de la clase.
59
+
60
+Dale un vistazo a la documentación de la clase `Bird` que se encuentra en http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html. 
61
+
62
+###Clases
63
+
64
+Una clase es un pedazo de código en donde se describe cómo serán los objetos. La declaración de una clase establece los atributos que tendrá cada objeto de esa clase y los métodos que puede invocar.
65
+
66
+
67
+Si no se especifica lo contrario, los atributos y métodos definidos en una clase serán "privados". Esto quiere decir que esas variables solo se pueden acceder y cambiar por los métodos de la clase (*constructores*, *"setters"* y *"getters"*, entre otros). 
68
+
69
+Lo siguiente es el esqueleto de la declaración de una clase:
70
+
71
+---
72
+
73
+```
74
+  class NombreClase
75
+   {
76
+    // Declaraciones
77
+
78
+    private:
79
+      // Declaraciones de variables o atributos y 
80
+      // prototipos de métodos 
81
+      // que sean privados para esta clase
82
+
83
+      tipo varPrivada;
84
+      tipo nombreMetodoPrivado(tipo de los parámetros);
85
+
86
+    public:
87
+      // Declaraciones de atributos y 
88
+      // prototipos de métodos 
89
+      // que sean públicos para todo el programa
90
+
91
+      tipo varPública;
92
+      tipo nombreMetodoPúblico(tipo de los parámetros);
93
+   };
94
+```
95
+---
96
+
97
+Puedes ver la declaración de la clase `Bird` en el archivo `bird.h` incluido en el programado de esta experiencia de laboratorio.
98
+
99
+###Objetos
100
+
101
+Un objeto es un ente que contiene datos (al igual que una variable), llamados sus `atributos`, y también contiene procedimientos, llamados `métodos`, que se usan para manipularlos. Los objetos son "instancias" de una clase que se crean de manera similar a como se definen las variables:
102
+
103
+`NombreClase nombreObjeto;`
104
+
105
+Una vez creamos un objeto, podemos interaccionar con él usando los métodos de la clase a la que pertenece.
106
+
107
+###Métodos de una clase
108
+
109
+Los métodos de una clase determinan qué acciones podemos tomar sobre los objetos de esa clase.  Los métodos son parecidos a las funciones en el sentido de que pueden recibir parámetros y regresar un resultado.  Una forma elemental de conocer los métodos de una clase es leyendo la declaración de la clase. Por ejemplo, lo siguiente es parte de la declaración de la clase `Bird` en el archivo `bird.h`. 
110
+
111
+---
112
+
113
+
114
+```
115
+class Bird : public QWidget
116
+{
117
+.
118
+.
119
+.
120
+    Bird(int , EyeBrowType , QString , QString, QWidget *parent = 0) ;
121
+    
122
+    int getSize() const;
123
+    EyeBrowType getEyebrow() const ;
124
+    QString  getFaceColor() const;
125
+    QString  getEyeColor() const;
126
+    Qt::GlobalColor getColor(QString) const;
127
+
128
+    void setSize(int) ;
129
+    void setEyebrow(EyeBrowType) ;
130
+    void setFaceColor(QString) ;
131
+    void setEyeColor(QString) ;
132
+.
133
+.
134
+.
135
+};
136
+```
137
+---
138
+
139
+Una vez creado un objeto, sus métodos proveen la única forma de cambiar sus atributos u obtener información o cómputos de los mismos. Es por esto que comúnmente se llama *interface* al conjunto de métodos de una clase. Los métodos son el interface entre el usuario de un objeto y su contenido.
140
+
141
+
142
+En general, en cada clase se definen los prototipos de los métodos para construir los objetos, y para buscar, manipular y guardar los datos. Lo siguiente es el formato general del prototipo de un método:
143
+
144
+`tipoDevolver nombreMetodo(tipo de los parámetros);`
145
+
146
+Luego, en el código del proyecto se escribe  la función correspondiente al método, comenzando con un encabezado que incluye el nombre de la clase a la cuál pertenece la función:
147
+
148
+`TipoDevolver NombreClase::NombreMetodo(parámetros)`
149
+
150
+Para que los objetos que sean instancia de una clase puedan tener acceso a las variables privadas de la clase se declaran métodos que sean públicos y que den acceso a estas clases (ver abajo "setters" y "getters"). Es preferible utilizar variables privadas y accederlas mediante los "setters" y "getters", a declararlas públicas ya que de esta manera el objeto que está asociado a estas variables tiene el control de los cambios que se hacen.
151
+
152
+Para invocar un método escribimos el nombre del objeto, seguido de un punto y luego el nombre del método:
153
+
154
+`nombreObjeto.nombreMetodo(argumentos);`
155
+
156
+
157
+
158
+####Constructores
159
+
160
+Los primeros métodos de una clase que debemos entender son los *constructores*.Una clase puede tener múltiples constructores. Uno de los constructores será invocado automáticamente cada vez que se crea un objeto de esa clase. En la mayoría de los casos, los constructores se utilizan para inicializar los valores de los atributos del objeto. Para poder crear objetos de una clase, debemos conocer cuáles son sus constructores. 
161
+
162
+En C++, los  constructores tienen el mismo nombre que la clase. No se declara el tipo que devuelven porque estas funciones no devuelven ningún valor. Su declaración (incluida en la definición de la clase) es algo así:
163
+
164
+`nombreMetodo(tipo de los parámetros);`
165
+
166
+El encabezado de la función será algo así:
167
+
168
+`NombreClase::NombreMetodo(parámetros)`
169
+
170
+La clase `Bird` que estarás usando en la sesión de hoy tiene dos constructores (funciones sobrecargadas):
171
+
172
+`Bird (QWidget *parent=0)`
173
+
174
+`Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`
175
+
176
+Puedes ver las declaraciones de los prototipos de estos métodos en la declaración de la clase `Bird` en el archivo `bird.h` del proyecto. La documentación se encuentra en http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html. El primer constructor, `Bird (QWidget *parent=0)`, es un método  que se puede invocar con uno o ningún argumento. Si al invocarlo no se usa argumento, el parámetro de la función toma el valor 0. 
177
+
178
+El constructor de una clase que se puede invocar sin usar argumentos es el *constructor* "*default*" de la clase; esto es, el constructor que se invoca cuando creamos un objeto usando una instrucción como:
179
+
180
+`Bird pitirre;`
181
+
182
+Puedes ver las implementaciones de los métodos de la clase Birden el archivo `bird.cpp`. Nota que el primer constructor, `Bird (QWidget *parent=0)`, asignará valores aleatorios ("random") a cada uno de los atributos del objeto. Más adelante hay una breve explicación de la función `randInt`.
183
+
184
+Dale un vistazo a la documentación del segundo constructor, `Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`. Esta función requiere cuatro argumentos y tiene un quinto argumento que es opcional porque tiene un valor por defecto. Una manera para usar este constructor es creando un objeto como el siguiente:
185
+
186
+`Bird guaraguao(200, Bird::UPSET, "blue", "red");`
187
+
188
+
189
+####"Setters" ("mutators")
190
+
191
+Las clases proveen métodos para modificar los valores de los atributos de un objeto que se ha creado. Estos métodos se llaman "*setters*" o "*mutators*". Usualmente se declara un "setter" por cada atributo que tiene la clase. La clase `Bird` tiene los siguientes "setters":
192
+
193
+* `void setSize (int)` 
194
+* `void setEyebrow (EyeBrowType)` 
195
+* `void setFaceColor (QString)` 
196
+* `void setEyeColor (QString)` 
197
+
198
+
199
+Puedes ver las declaraciones de los métodos en la Figura 1 y en la declaración de la clase `Bird` en  `bird.h`, y la implementación de algunos de los métodos en `bird.cpp`. El código en el siguiente ejemplo crea el objeto `bobo` de la clase `Bird` y luego cambia su tamaño a 333.
200
+
201
+```
202
+Bird bobo;
203
+bobo.setSize(333);
204
+```
205
+
206
+
207
+####"Getters" ("accessors")
208
+
209
+Las clases también proveen métodos para acceder  ("get") el valor del atributo de un objeto. Estos métodos se llaman "*getters*" o "*accessors*". Usualmente se declara un "getter" por cada atributo que tiene la clase. La clase `Bird` tiene los siguientes "getters":
210
+
211
+* `int getSize ()` 
212
+* `EyeBrowType getEyebrow ()` 
213
+* `QString  getFaceColor ()`
214
+* `QString   getEyeColor ()` 
215
+
216
+
217
+Puedes ver las declaraciones de los métodos en la Figura 1 y en la declaración de la clase `Bird` en  `bird.h`, y las implementaciones de algunos de métodos en `bird.cpp`. El código en el siguiente ejemplo crea el objeto `piolin` de la clase `Bird` e imprime su tamaño.
218
+
219
+```
220
+Bird piolin;
221
+cout << piolin.getSize();
222
+```
223
+
224
+####Otras funciones o métodos que utilizarás en esta experiencia de laboratorio
225
+
226
+**MainWindow:** El archivo `mainwindow.h` contiene la declaración de una clase llamada `MainWindow`. Los objetos que sean instancias de esta clase podrán utilizar los métodos sobrecargados
227
+
228
+`void MainWindow::addBird(int x, int y, Bird &b)`  
229
+
230
+`void MainWindow::addBird(Bird &b)` 
231
+
232
+que añadirán a la pantalla un dibujo del objeto de la clase `Bird` que es recibido como argumento. El código en el siguiente ejemplo crea un objeto `w` de la clase `MainWindow`, crea un objeto `zumbador` de la clase `Bird` y lo añade a la posición (200,200) de la pantalla `w` usando el primer método.
233
+
234
+
235
+
236
+```
237
+MainWindow w;
238
+Bird zumbador;
239
+w.addBird(200,200,zumbador);
240
+```
241
+
242
+
243
+---
244
+
245
+![figure1.png](images/figure1.png)
246
+
247
+**Figura 1.** Ventana `w` con la imagen del objeto `zumbador` en la posición (200, 200).
248
+
249
+
250
+---
251
+
252
+
253
+
254
+**¡Importante!** No es suficiente solo crear los objetos `Bird` para que éstos aparezcan en la pantalla. Es necesario usar uno de los  métodos `addBird`  para que el dibujo aparezca en la pantalla.
255
+
256
+
257
+**randInt:** La clase `Bird` incluye el método
258
+
259
+`int Bird::randInt(int min, int max)`
260
+
261
+para generar números enteros aleatorios ("random") en el rango [min, max]. El método `randInt` depende de otra función para generar números aleatorios que requiere un primer elemento o *semilla* para ser evaluada. En este proyecto, ese primer elemento se genera con la invocación `srand(time(NULL)) ;`.
262
+
263
+
264
+---
265
+
266
+---
267
+
268
+
269
+## Sesión de laboratorio
270
+
271
+###Ejercicio 1: Estudiar las reglas de herencia de la familia *Birds*
272
+
273
+#### La familia *Birds*
274
+
275
+Juana y Abelardo, mamá y papá pájaros, están a punto de tener un bebé al que llamarán Piolín. Al igual que los pájaros reales,  los "pájaros Qt" esperan que sus bebés tengan atributos heredados de su madre y su padre.
276
+
277
+Al terminar esta experiencia de laboratorio tu programa creará dos pájaros (Juana y Abelardo) con características aleatorias y un tercer pájaro (Piolín), con características determinadas por las características de sus padres, siguiendo un conjunto de reglas parecidas a la reglas de herencia genética.
278
+
279
+#### Reglas de herencia
280
+
281
+**Color de ojos**
282
+
283
+El bebé siempre hereda el color de ojos de la madre.
284
+
285
+**Tamaño**
286
+
287
+El tamaño del bebé es el más pequeño entre el tamaño del padre o de la madre.
288
+
289
+**Color de la cara**
290
+
291
+La dominancia de los genes del color de la cara  está dada por la siguiente lista (en inglés), ordenada desde el color más dominante al color menos dominante:
292
+
293
+1. blue
294
+2. green
295
+3. red
296
+4. white
297
+5. yellow
298
+
299
+El bebé heredará el color de cara más dominante de los colores de sus padres. Por ejemplo, un bebé cuya madre tiene la cara verde y su padre tiene la cara blanca, tendrá cara verde.
300
+
301
+**Cejas**
302
+
303
+La dominancia de los genes de las cejas está dada por la siguiente lista (en inglés), ordenada desde las cejas más dominantes a las cejas  menos dominantes:
304
+
305
+1. Bird::ANGRY
306
+2. Bird::BUSHY
307
+3. Bird::UNI
308
+4. Bird::UPSET
309
+
310
+Los genes de las cejas siguen las siguientes reglas:
311
+
312
+a. Si ambos padres tienen cejas "angry", el bebé tendrá cejas "unibrow".
313
+b. Si ambos padres tienen cejas "unibrow", el bebé tendrá cejas "upset".
314
+c. En los otros casos, el bebé heredará las cejas más dominantes de las cejas de sus padres. 
315
+
316
+
317
+###Ejercicio 2: Estudiar la función `main`
318
+
319
+**Instrucciones**
320
+
321
+1. Carga a Qt el proyecto `Conditionals-BirthOfABird`  haciendo doble "click" en el archivo `Conditionals-BirthOfABird.pro` que se encuentra en la carpeta `Documents/eip/Conditionals-BirthOfABird` de tu computadora. También puedes ir a `http://bitbucket.org/eip-uprrp/conditionals-birthofabird` para descargar la carpeta `Conditionals-BirthOfABird` a tu computadora.
322
+
323
+2. Configura el proyecto.
324
+
325
+ **Importante:** En la pantalla "Configure Project", selecciona la configuración Qt 5.3 o Qt 5.4 clang 64 bit. Si usas otra configuración el proyecto no compilará.
326
+
327
+3. Compila y corre el proyecto. Debes ver una pantalla con dos pájaros que representan a Juana y Abelardo. Luego de un segundo, serás testigo del nacimiento de su bebé Piolín. Sin embargo, este Piolín pudo ser haber volado de otro nido y no ser su hijo, tendrá características aleatorias.
328
+
329
+4. Abre el archivo `main.cpp` (no harás cambios a ningún otro archivo de este proyecto). Estudia la función `main`. NO harás cambios a la función `main`. Nota que la función `main` esencialmente hace dos cosas:
330
+    a. Crea los tres pájaros y añade dos de ellos a la pantalla.
331
+b. Crea un cronómetro ("timer") que espera un segundo y luego invoca a la función `birth` pasándole una referencia a la ventana y a los tres pájaros.
332
+
333
+---
334
+
335
+![funcionMain.png](images/funcionMain.png)
336
+
337
+**Figura 2.** Función `main`. 
338
+
339
+---
340
+
341
+
342
+###Ejercicio 3: Escribir el código para determinar las características de Piolín 
343
+
344
+Estudia el encabezado de la función `birth`. En esta función, escribe el código necesario para que el bebé Piolín tenga las características dictadas por las reglas de herencia explicadas anteriormente.
345
+
346
+
347
+
348
+---
349
+
350
+ ![funcionBirth.png](images/funcionBirth.png)
351
+
352
+ **Figura 3.** Función `birth`.
353
+
354
+---
355
+
356
+---
357
+
358
+##Entregas
359
+
360
+Utiliza "Entrega" en Moodle para entregar el archivo `main.cpp` con las modificaciones que hiciste a la función `birth`. Recuerda utilizar buenas prácticas de programación, incluir el nombre de los programadores y documentar tu programa.
361
+
362
+
363
+
364
+---
365
+
366
+---
367
+
368
+##Referencias
369
+
370
+
371
+
372
+https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-2
373
+
374
+---
375
+
376
+---
377
+
378
+---
379
+
380
+[English](#markdown-header-decision-structures-birth-of-a-bird) | [Español](#markdown-header-estructuras-de-decision-nacimiento-de-un-pajaro)
381
+
382
+#Decision Structures - Birth of a Bird
383
+
384
+
385
+![main1.png](images/main1.png)
386
+![main2.png](images/main2.png)
387
+![main3.png](images/main3.png)
388
+
389
+---
390
+
391
+---
392
+
393
+
394
+##Classes and objects in C++
395
+
396
+An *object* es an entity that contains data and procedures to manipulate them. Similar to how each variable has a *type* of data associated to it, each object has a *class* associated that describes the properties of the objects: its data (*attributes*), and the procedures that can be used to manipulate its data (*methods*).
397
+
398
+To define and use an object it is not necessary to know all of the details about the methods of the object, but you must know how to create it and how to interact with it. The necessary  information is available in the class' documentation. Before creating objects of any class we should familiarize ourselves with its documentation. The documentation indicates, among other things, what entity is trying to be represented in the class, and its interface or methods available to manipulate the objects of the class.
399
+
400
+Take a look at the documentation of the `Bird` class which can be found in [this link.](http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html).
401
+
402
+###Classes
403
+
404
+A class is a piece of code that describes how objects will be. The class’ declaration establishes the attributes that each of the objects of the class will have, and the methods that it can invoke.
405
+
406
+If it isn't specified otherwise, the attributes and methods defined in a class will be private. This means that the variables can only be accessed and changed by the methods of the class (*constructors*, *setters*, and *getters*, among others).
407
+
408
+The following is the skeleton of the declaration of a class:
409
+
410
+---
411
+
412
+```
413
+  class ClassName
414
+   {
415
+    // Declarations
416
+
417
+    private:
418
+      // Declaration of variables or attributes
419
+      // and prototype member functions
420
+      // that are private for this class
421
+
422
+      type privateVar
423
+      type nameOfPrivateMemFunc(type of the parameters);
424
+
425
+    public:
426
+      // Declarations of attributes
427
+      // and prototypes of method functions
428
+      // that are public for the entire program
429
+
430
+      type publicVar;
431
+      type nameOfPublicMemFunc(type of the parameters);
432
+   };
433
+```
434
+---
435
+
436
+You can see the declaration of the `Bird` class in the file `bird.h` included in this laboratory experience's program.
437
+
438
+###Objects
439
+
440
+An object is an entity that contains data (as well as a variable), called its `attributes`, and also contain procedures, called `method`, that are used to manipulate them. The objects are "instances" of a class that are created in a similar manner as how variables are defined:
441
+
442
+`ClassName objectName;`
443
+
444
+By creating an object we have available the methods of the class that the object belongs to.
445
+
446
+###Methods of a class
447
+
448
+The methods of a class determine the actions that we can take on the objects of that class. The methods are similar to functions in the sense that they can receive parameters and return a result. An elementary way to know the methods of a class is reading de class declaration. For example, the following is a section of the declaration of the class `Bird` in the file `bird.h`.
449
+
450
+---
451
+
452
+
453
+```
454
+class Bird : public QWidget
455
+{
456
+.
457
+.
458
+.
459
+    Bird(int , EyeBrowType , QString , QString, QWidget *parent = 0) ;
460
+    
461
+    int getSize() const;
462
+    EyeBrowType getEyebrow() const ;
463
+    QString  getFaceColor() const;
464
+    QString  getEyeColor() const;
465
+    Qt::GlobalColor getColor(QString) const;
466
+
467
+    void setSize(int) ;
468
+    void setEyebrow(EyeBrowType) ;
469
+    void setFaceColor(QString) ;
470
+    void setEyeColor(QString) ;
471
+.
472
+.
473
+.
474
+};
475
+```
476
+
477
+
478
+---
479
+
480
+Once the object is created, its methods provide the only way to change its attributes, to obtain information about them, or to compute with them. This is why the set of methods is commonly called *interface*. The methods are the interface between the object’s user and its content.
481
+
482
+In general, in each class the prototypes of the methods are defined to construct the objects, and to search, manipulate and store the data. The following is a general format of a method prototype:
483
+
484
+`typeReturned methodName(type of the parameters);`
485
+
486
+Afterwards, we write the corresponding function to the method in the project's code, starting with a header that includes the name of the class that the function belongs to:
487
+
488
+`TypeReturned ClassName::MethodName(parameters)`
489
+
490
+We declare public methods within the class so that objects that are instances of a class have permission to access private variables (these are the setters and getters). It's prefered to use private variables and access them through the setters and getters, instead of declaring them public since the object that is associated to these variables has control over the changes that are made.
491
+
492
+To invoke a method we write the name of the object, followed by a period and then the name of the method:
493
+
494
+`objectName.methodName(arguments);`
495
+
496
+
497
+####Constructors
498
+
499
+The first methods of a class that we should understand are the *constructors*. A class can have multiple constructors. One of the constructors will be invoked automatically each time an object of that class is created. In most of the cases, the constructors are used to initialize the values for the object’s attributes. To create objects of a class, we must know which are the constructors of the class.
500
+
501
+
502
+
503
+In C++, the constructors have the same name as the class. The type returned by these functions is not declared since they do not return any value. Their declaration (included in the definition of the class) is like this:
504
+
505
+`methodName(type of the parameters);`
506
+
507
+The function header will be like this:
508
+
509
+`ClassName::MethodName(parameters)`
510
+
511
+The class `Bird` that you will be using in today's session has two constructors (overloaded functions):
512
+
513
+`Bird (QWidget *parent=0)`
514
+
515
+`Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`
516
+
517
+You can see the declarations of the method prototypes in the declaration of the `Bird` class in the project's `bird.h` file. The documentation can be found in [this link.](http://ada.uprrp.edu/~ranazario/bird-html/class_bird.html) The first constructor, `Bird (QWidget *parent=0)`, is a method that can be invoked with one or no argument. If no argument is used, the function's parameter has a value of 0.
518
+
519
+A class' constructor that can be invoked without using an argument is the class' *default constructor*; that is, the constructor that is invoked when we create an object using an instruction  like:
520
+
521
+`Bird pitirre;`
522
+
523
+You can see the implementations of the class `Bird` in the file `bird.cpp`. Note that the first constructor, `Bird (QWidget *parent=0)`, will assign random values to each of the object's attributes. Later on there is a brief explanation for the `randInt` function.
524
+
525
+Have a look at the documentation for the second constructor, `Bird (int, EyeBrowType, QString, QString, QWidget *parent=0)`. This function requires four arguments and has a fifth argument that is optional since it has a default value. One way to use this constructor is creating an object like this:
526
+
527
+`Bird guaraguao(200, Bird::UPSET, "blue", "red");`
528
+
529
+
530
+####Setters (mutators)
531
+
532
+Classes provide methods to modify the values of the attributes of an objected that has been created. These methods are called *setters* or *mutators*. Usually, we declare one setter for each attribute that the class has. The `Bird` class has the following setters:
533
+
534
+* `void setSize (int)` 
535
+* `void setEyebrow (EyeBrowType)` 
536
+* `void setFaceColor (QString)` 
537
+* `void setEyeColor (QString)` 
538
+
539
+
540
+You can see the method's declarations in Figure 1 and in the `Bird` class declaration in `bird.h`, and the implementation of the some of the methods in `bird.cpp`. The code in the following example creates the object `bobo` of the `Bird` class and then changes its size to 333.
541
+
542
+```
543
+Bird bobo;
544
+bobo.setSize(333);
545
+```
546
+
547
+####Getters (accessors)
548
+
549
+Classes also provide methods to access (get) the value of the attribute of an object. These methods are called *getters* or *accessors*. We usually declare one getter for each attribute a class has. The `Bird` class has the following getters:
550
+
551
+* `int getSize ()` 
552
+* `EyeBrowType getEyebrow ()` 
553
+* `QString  getFaceColor ()`
554
+* `QString   getEyeColor ()` 
555
+
556
+You can see the declarations of the methods in Figure 1 and  in the `Bird` class declaration in `bird.h`, and the implementations of some of the methods in `bird.cpp`. The code in the following example creates the object `piolin` of the `Bird` class and prints its size:
557
+
558
+```
559
+Bird piolin;
560
+cout << piolin.getSize();
561
+```
562
+
563
+####Other functions or methods you will use in this laboratory experience
564
+
565
+**MainWindow:** The file `mainwindow.h` contains the declaration of a class called `MainWindow`. The objects that are instances of this class will be able to use the overloaded methods
566
+
567
+`void MainWindow::addBird(int x, int y, Bird &b)`  
568
+
569
+`void MainWindow::addBird(Bird &b)`  
570
+
571
+that will add to the screen a drawing of an object of the `Bird` class that is received as an argument. The code in the following example creates an object `w` of the `MainWindow` class, creates an object `zumbador` of the `Bird` class and adds it in the position (200,200) on the screen `w` using the first method.
572
+
573
+```
574
+MainWindow w;
575
+Bird zumbador;
576
+w.addBird(200,200,zumbador);
577
+```
578
+
579
+
580
+---
581
+
582
+![figure1.png](images/figure1.png)
583
+
584
+**Figure 1.** Window `w` with the image of the object `zumbador` in the position (200,200).
585
+
586
+
587
+---
588
+
589
+
590
+
591
+**Important!** It's not enough to just create the `Bird` objects so that these appear on the screen. It's necessary to use one of the `addBird` methods to make the drawing appear on the screen.
592
+
593
+**randInt:** The `Bird` class includes the method
594
+
595
+`int Bird::randInt(int min, int max)`
596
+
597
+to generate random numbers in the range [min, max]. The method `randInt` depends on another function to generate random numbers that require a first element or *seed* to be evaluated. In this project, that first element is generated with the function call `srand(time(NULL)) ;`.
598
+
599
+---
600
+
601
+---
602
+
603
+##Laboratory session
604
+
605
+
606
+###Exercise 1: Study the inheritance rules for the *Birds* family
607
+
608
+#### The *Birds* family
609
+
610
+Juana and Abelardo, mother and father birds, are about to have a baby they will call Piolín. As with real birds, the "Qt birds" expect their babies to have inherited attributes from their mother and father.
611
+
612
+When the laboratory experience is finished, your program will create two birds (Juana and Abelardo) with random characteristics and a third bird (Piolín), with characteristics determined by the parent's characteristics, following a set of rules similar to the rules of genetic inheritance. 
613
+
614
+
615
+### Inheritance rules
616
+
617
+**Eye color**
618
+
619
+The baby will always inherit the mother's eye color
620
+
621
+**Size**
622
+
623
+The size of the bird is smallest between the mother's or father's size.
624
+
625
+**Face color**
626
+
627
+The gene dominance for the face color is given by the following list, ordered from color with most dominance color to color with least dominance:
628
+
629
+1. blue
630
+2. green
631
+3. red
632
+4. white
633
+5. yellow
634
+
635
+The baby will inherit the face color most dominant from the parent's colors. For example, a baby whose mother has a green face and whose father has a white face, will have a green face.
636
+
637
+**Eyebrows**
638
+
639
+The gene dominance for the eyebrows is given by the following list, ordered from eyebrows with most dominance to eyebrows with least dominance:
640
+
641
+1. Bird::ANGRY
642
+2. Bird::BUSHY
643
+3. Bird::UNI
644
+4. Bird::UPSET
645
+
646
+The genes in the eyebrows follow these rules:
647
+
648
+a. If both parents have "angry" eyebrows, the baby will have "unibrow" eyebrows.
649
+b. If both parents have "unibrow" eyebrows, the baby will have "upset" eyebrows.
650
+c. In other cases, the baby will inherit the eyebrows with most dominance from the parent's eyebrows.
651
+
652
+
653
+###Exercise 2: Study the `main` function
654
+
655
+**Instructions**
656
+
657
+1. Load the project `Conditionals-BirthOfABird` onto Qt by double clicking the file `Conditionals-BirthOfABird.pro` in the folder `Documents/eip/Conditionals-BirthOfABird` on your computer. You can also go to `http://bitbucket.org/eip-uprrp/conditionals-birthofabird` to download the `Conditionals-BirthOfABird` folder to your computer.
658
+
659
+2. Configure the project.
660
+
661
+**Important:** In the "Configure Project" window, select the configuration Qt 5.3 or Qt 5.4 clang 64 bit. If you use another configuration the project will not compile.
662
+
663
+3. Compile and run the project. You should see a window with two birds that represent Juana and Abelardo. After a second, you will witness the birth of their baby, Piolín. Despite that, this Piolín could have been from another nest and not their son since it has random characteristics.
664
+
665
+4. Open the file `main.cpp` (you will not make changes in any other file in this project). Study the `main` function. You will NOT make changes to the `main` function. Note that the `main` function essentially does two things:
666
+  a. Creates three birds and adds two of them to the window.
667
+b. Creates a timer that waits a second and after invokes the `birth` function passing by reference to the window and the three birds.
668
+
669
+---
670
+
671
+
672
+      ![funcionMain.png](images/funcionMain.png)
673
+
674
+      **Figure 2.** `Main` function.
675
+
676
+---
677
+
678
+###Exercise 3: Write the code to determine Piolín's characteristics
679
+
680
+Study the header for the `birth` function. In this function, write the necessary code so baby Piolín has the characteristics dictated by the rules of inheritance exposed previously.
681
+
682
+---
683
+
684
+      ![funcionBirth.png](images/funcionBirth.png)
685
+
686
+      **Figure 3.** `Birth` function
687
+
688
+---
689
+
690
+---
691
+
692
+##Deliverables
693
+
694
+Use "Deliverables" in Moodle to upload the `main.cpp` file with the modifications you made to the `birth` function. Remember to use good programming techniques, include the names of the programmers involved, and to document your program.
695
+
696
+
697
+---
698
+
699
+---
700
+
701
+##References
702
+
703
+
704
+
705
+https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-2
706
+
707
+
708
+
709
+
710
+
711
+

+ 253
- 0
bird.cpp Ver arquivo

@@ -0,0 +1,253 @@
1
+// 
2
+// RAN [2014-06-02] 
3
+//   - Changed the setEyebrow, setSize functions. Resize (+2,+2)
4
+//   - EyeBrowType
5
+// RAN [2014-06-03]
6
+//   - TranslucentBackground for non-default constructor
7
+//   - Some more comments
8
+
9
+#include "bird.h"
10
+#include <QDebug>
11
+
12
+/// \fn Bird::Bird(QWidget *parent)
13
+/// \~English
14
+/// \brief Default constructor. The properties of the bird are set as follows:
15
+/// size: set to random value of either 50, 100, 150 or 200
16
+/// * eyeBrow: set randomly to one of the five possible values
17
+/// * color and eColor: set randomly to one of the five possible colors:
18
+/// "green", "blue", "red", "yellow", "white"
19
+/// \~Spanish
20
+/// \brief Constructor por defecto. Las propiedades de el pajaron son ajustados como sigue:
21
+/// * eyeBrow: ajustado aleatoriamente a uno de los 5 posibles valores
22
+/// * color y eColor: ajustao aleatoriamente a uno de los 5 posibles colores:
23
+/// "verde", "azul", "rojo", "amarillo", "blanco"
24
+///
25
+Bird::Bird(QWidget *parent) :
26
+    QWidget(parent)
27
+{
28
+    QString prism[5] = {"green", "blue", "red", "yellow", "white"} ;
29
+    size = randInt(1, 4) * 50 ;
30
+    resize(size+2,size+2) ;
31
+    move(0,0) ;
32
+    eyeBrow = (EyeBrowType)randInt(0,3);
33
+    color = prism[randInt(0,4)] ;
34
+    eColor = prism[randInt(0,4)] ;
35
+    setAttribute(Qt::WA_TranslucentBackground);
36
+    setStyleSheet("background:transparent;");
37
+}
38
+
39
+/// \fn Bird::Bird(int s, EyeBrowType eb, QString col, QString eye, QWidget *parent)
40
+/// \~English
41
+/// \brief Constructor which accepts specification of the attributes of the bird
42
+/// \param s size
43
+/// \param eb eyeBrow
44
+/// \param col (faceColor)
45
+/// \param eye (eyeColor)
46
+/// \~Spanish
47
+/// \brief Constructor que acepta especificaciones de los atributos del pajaro
48
+/// \param s tamaño
49
+/// \param eb cejas
50
+/// \param col color de la cara
51
+/// \param eye color del ojo
52
+Bird::Bird(int s, EyeBrowType eb, QString col, QString eye, QWidget *parent):
53
+    QWidget(parent)
54
+{
55
+    resize(s+2,s+2) ;
56
+    move(0,0) ;
57
+    size = s; eyeBrow = eb; color=col ; eColor = eye ;
58
+    setAttribute(Qt::WA_TranslucentBackground);
59
+    setStyleSheet("background:transparent;");
60
+}
61
+
62
+/// \fn QString  Bird::getEyeColor()
63
+/// \~English
64
+/// \brief Getter for the eyeColor.
65
+/// \~Spanish
66
+/// \brief Devuelve el color del ojo.
67
+QString  Bird::getEyeColor() const {
68
+    return eColor ;
69
+}
70
+
71
+/// \fn QString  Bird::getFaceColor()
72
+/// \~English
73
+/// \brief Getter for the faceColor.
74
+/// \~Spanish
75
+/// \brief Devuelve el color de la cara.
76
+QString  Bird::getFaceColor() const {
77
+    return color ;
78
+}
79
+
80
+/// \fn void  Bird::setEyeColor(QString eye)
81
+/// \~English
82
+/// \brief Setter for the eyeColor.
83
+/// \param eye eyeColor
84
+/// \~Spanish
85
+/// \brief Ajusta el color del ojo
86
+/// \param eje color del ojo
87
+void  Bird::setEyeColor(QString eye){
88
+    eColor = eye ;
89
+}
90
+
91
+/// \fn void  Bird::setFaceColor(QString col)
92
+/// \~English
93
+/// \brief Setter for the face color.
94
+/// \param col face Color
95
+/// \~Spanish
96
+/// \brief Ajusta el color de la cara
97
+/// \param col color de la cara
98
+void  Bird::setFaceColor(QString col){
99
+    color =   col;
100
+}
101
+
102
+/// \fn int Bird::getSize()
103
+/// \~English
104
+/// \brief Getter for the bird size.
105
+/// \~Spanish
106
+/// \brief Devuelve el tamano del pajaro.
107
+int Bird::getSize() const {
108
+    return size ;
109
+}
110
+
111
+/// \fn int Bird::getEyeBrow()
112
+/// \~English
113
+/// \brief Getter for the bird eyeBrow type
114
+/// \~Spanish
115
+/// \brief Devuelve el tipo de ceja
116
+Bird::EyeBrowType Bird::getEyebrow() const{
117
+    return eyeBrow ;
118
+}
119
+
120
+/// \fn void  Bird::setSize(int s)
121
+/// \~English
122
+/// \brief Setter for the bird size.
123
+/// \param s bird size
124
+/// \~Spanish
125
+/// \brief Ajusta el tamano del pajaro
126
+/// \param s tamano del pajaro
127
+void Bird::setSize(int s){
128
+
129
+    if(s <= 50)         { size = 50;  }
130
+    else if (s >= 200)  { size = 200; }
131
+    else                { size = s;   }
132
+
133
+    resize(size + 2, size + 2) ;
134
+}
135
+
136
+/// \fn void  Bird::setEyeBrow(QString eye)
137
+/// \~English
138
+/// \brief Setter for the eyebrow type.
139
+/// \param eb eyebrow type
140
+/// \~Spanish
141
+/// \brief Ajusta el tipo de cejas
142
+/// \param eb tipo de ceja
143
+void Bird::setEyebrow(EyeBrowType eb){
144
+    if(eb < 0 || eb > 3)
145
+        eyeBrow = UNI ;
146
+    else eyeBrow = eb;
147
+}
148
+
149
+/// \fn Qt::GlobalColor Bird::getColor(QString color)
150
+/// \~English
151
+/// \brief Converts a color specified as string to a Qt::GlobalColor
152
+/// \param color string with a color
153
+/// \~Spanish
154
+/// \brief Convierte un color especificado como un string a un Qt::GlobalColor
155
+/// \param color cadena de caracteres de un color
156
+Qt::GlobalColor Bird::getColor(QString color) const{
157
+
158
+    if(color=="red")
159
+        return Qt::red ;
160
+    else if (color == "green")
161
+        return Qt::green ;
162
+    else if (color == "yellow")
163
+        return Qt::yellow ;
164
+    else if(color == "blue")
165
+        return Qt::blue ;
166
+    else
167
+        return Qt::white ;
168
+
169
+}
170
+
171
+/// \fn int Bird::randInt(int min, int max)
172
+/// \~English
173
+/// \brief Generates a random integer in the range [min, max]
174
+/// \param min minimum random value
175
+/// \param max maximum random value
176
+/// \~Spanish
177
+/// \brief Genera un entero aleatorio en el rango [min, max]
178
+/// \param min valor aleatorio minimo
179
+/// \param max valor aleatorio maximo
180
+int Bird::randInt(int min, int max){
181
+    return qrand() % ((max +1 )- min) +  min ;
182
+}
183
+
184
+
185
+/// \fn void Bird::paintEvent(QPaintEvent *event)
186
+/// \~English
187
+/// \brief This function is automatically invoked each time the widget or
188
+/// its parent receives a repaint signal.
189
+/// \~Spanish
190
+/// \brief Esta funcion es invocada automaticamente cada ves que el widget
191
+/// o su padre recive una senal de repintar.
192
+///
193
+void Bird::paintEvent(QPaintEvent *) {
194
+    QPainter p(this);
195
+
196
+    QPen outlinePen(Qt::black);
197
+    QPen eyebrowsPen(Qt::black) ;
198
+
199
+    int ball_size = getSize() ;
200
+    float half_ball = ball_size/2.0 ;
201
+    float white_ball = ball_size / 4.0 ;
202
+    float black_ball = white_ball * .5 ;
203
+    float up_gap = ball_size * .10 ;
204
+    float eyebrow_gap = ball_size *.18 ;
205
+
206
+    outlinePen.setWidth(2);
207
+    eyebrowsPen.setWidth(ball_size *.05);
208
+
209
+    // Face
210
+    p.setPen(outlinePen) ;
211
+    p.setBrush(getColor(getFaceColor())) ;
212
+    p.drawEllipse(0, 0, ball_size, ball_size);
213
+
214
+    // Eye Balls
215
+    p.setBrush(getColor(getEyeColor())) ;
216
+    p.drawEllipse(half_ball-white_ball,ball_size/2-up_gap,white_ball,white_ball) ; //left eye
217
+    p.drawEllipse(half_ball,ball_size/2-up_gap,white_ball,white_ball) ; //right eye
218
+
219
+    // Eye iris
220
+    p.setBrush(Qt::black) ;
221
+    p.drawEllipse(half_ball-black_ball,ball_size/2-up_gap+(white_ball-black_ball)/2.0,black_ball,black_ball) ;
222
+    p.drawEllipse(half_ball,ball_size/2-up_gap+(white_ball-black_ball)/2.0 ,black_ball,black_ball) ;
223
+
224
+    // Eyebrow
225
+
226
+    p.setPen(eyebrowsPen) ;
227
+
228
+    if(eyeBrow == UNI){
229
+        //Normal Eyebrow
230
+        p.drawLine(white_ball, ball_size/2-eyebrow_gap, 3*white_ball,ball_size/2-eyebrow_gap) ;
231
+    }
232
+    else if(eyeBrow == ANGRY){
233
+
234
+        // Angry Eyebrow
235
+        p.drawLine(white_ball, ball_size/2-eyebrow_gap, 2*white_ball, ball_size/2-eyebrow_gap+up_gap) ;
236
+        p.drawLine(2*white_ball, ball_size/2-eyebrow_gap + up_gap, 3*white_ball,ball_size/2-eyebrow_gap) ;
237
+    }
238
+    else if(eyeBrow == UPSET){
239
+        // Angry Eyebrow
240
+        p.drawLine(white_ball, ball_size/2-eyebrow_gap, 2*white_ball, ball_size/2-eyebrow_gap+up_gap/2) ;
241
+        p.drawLine(2*white_ball, ball_size/2-eyebrow_gap + up_gap/2, 3*white_ball,ball_size/2-eyebrow_gap) ;
242
+
243
+    }
244
+    else{
245
+        // Hairy
246
+        p.drawLine(white_ball, ball_size/2-eyebrow_gap, 2*white_ball, ball_size/2-eyebrow_gap+up_gap) ;
247
+        p.drawLine(2*white_ball, ball_size/2-eyebrow_gap + up_gap, 3*white_ball,ball_size/2-eyebrow_gap) ;
248
+        p.drawLine(white_ball, ball_size/2-eyebrow_gap, 2*white_ball, ball_size/2-eyebrow_gap+up_gap/2) ;
249
+        p.drawLine(2*white_ball, ball_size/2-eyebrow_gap + up_gap/2, 3*white_ball,ball_size/2-eyebrow_gap) ;
250
+
251
+    }
252
+
253
+}

+ 166
- 0
bird.h Ver arquivo

@@ -0,0 +1,166 @@
1
+#ifndef BIRD_H
2
+#define BIRD_H
3
+
4
+#include <QWidget>
5
+#include <QPainter>
6
+
7
+
8
+/// A class to represent birds.
9
+///
10
+/// Bird is a subclass of QWidget. This means that the following QWidget functions
11
+/// are also available for objects of the class Bird:
12
+/// * move(int x, int y): to move the bird to position (x,y)
13
+/// * x(), y(): get the x position, get the y() position
14
+/// * hide(): to hide a bird that has been painted
15
+
16
+class Bird : public QWidget
17
+{
18
+    Q_OBJECT
19
+public:
20
+    ///
21
+    /// Enum type for the EyeBrow
22
+    ///
23
+    enum EyeBrowType {
24
+        UNI,    /**< enum value 0 */
25
+        ANGRY,  /**< enum value 1 */
26
+        UPSET,  /**< enum value 2 */
27
+        BUSHY   /**< enum value 3 */
28
+    };
29
+    
30
+    /// \fn Bird::Bird(QWidget *parent)
31
+    /// \~English
32
+    /// \brief Default constructor. The properties of the bird are set as follows:
33
+    /// size: set to random value of either 50, 100, 150 or 200
34
+    /// * eyeBrow: set randomly to one of the five possible values
35
+    /// * color and eColor: set randomly to one of the five possible colors:
36
+    /// "green", "blue", "red", "yellow", "white"
37
+    /// \~Spanish
38
+    /// \brief Constructor por defecto. Las propiedades de el pajaron son ajustados como sigue:
39
+    /// * eyeBrow: ajustado aleatoriamente a uno de los 5 posibles valores
40
+    /// * color y eColor: ajustao aleatoriamente a uno de los 5 posibles colores:
41
+    /// "verde", "azul", "rojo", "amarillo", "blanco"
42
+    ///
43
+    explicit Bird(QWidget *parent = 0);
44
+
45
+    /// \fn Bird::Bird(int s, EyeBrowType eb, QString col, QString eye, QWidget *parent)
46
+    /// \~English
47
+    /// \brief Constructor which accepts specification of the attributes of the bird
48
+    /// \param s size
49
+    /// \param eb eyeBrow
50
+    /// \param col (faceColor)
51
+    /// \param eye (eyeColor)
52
+    /// \~Spanish
53
+    /// \brief Constructor que acepta especificaciones de los atributos del pajaro
54
+    /// \param s tamaño
55
+    /// \param eb cejas
56
+    /// \param col color de la cara
57
+    /// \param eye color del ojo
58
+    Bird(int , EyeBrowType , QString , QString, QWidget *parent = 0) ;
59
+
60
+    /// \fn QString  Bird::getEyeColor()
61
+    /// \~English
62
+    /// \brief Getter for the eyeColor.
63
+    /// \~Spanish
64
+    /// \brief Devuelve el color del ojo.
65
+    QString  getEyeColor() const;
66
+
67
+    /// \fn QString  Bird::getFaceColor()
68
+    /// \~English
69
+    /// \brief Getter for the faceColor.
70
+    /// \~Spanish
71
+    /// \brief Devuelve el color de la cara.
72
+    QString  getFaceColor() const;
73
+
74
+    /// \fn void  Bird::setEyeColor(QString eye)
75
+    /// \~English
76
+    /// \brief Setter for the eyeColor.
77
+    /// \param eye eyeColor
78
+    /// \~Spanish
79
+    /// \brief Ajusta el color del ojo
80
+    /// \param eje color del ojo
81
+    ///
82
+    void  setEyeColor(QString) ;
83
+
84
+    /// \fn void  Bird::setFaceColor(QString col)
85
+    /// \~English
86
+    /// \brief Setter for the face color.
87
+    /// \param col face Color
88
+    /// \~Spanish
89
+    /// \brief Ajusta el color de la cara
90
+    /// \param col color de la cara
91
+    void  setFaceColor(QString) ;
92
+
93
+    /// \fn int Bird::getSize()
94
+    /// \~English
95
+    /// \brief Getter for the bird size.
96
+    /// \~Spanish
97
+    /// \brief Devuelve el tamano del pajaro.
98
+    int getSize() const;
99
+
100
+    /// \fn int Bird::getEyeBrow()
101
+    /// \~English
102
+    /// \brief Getter for the bird eyeBrow type
103
+    /// \~Spanish
104
+    /// \brief Devuelve el tipo de ceja
105
+    EyeBrowType getEyebrow() const ;
106
+
107
+    /// \fn void  Bird::setSize(int s)
108
+    /// \~English
109
+    /// \brief Setter for the bird size.
110
+    /// \param s bird size
111
+    /// \~Spanish
112
+    /// \brief Ajusta el tamano del pajaro
113
+    /// \param s tamano del pajaro
114
+    void setSize(int) ;
115
+
116
+    /// \fn void  Bird::setEyebrow(QString eye)
117
+    /// \~English
118
+    /// \brief Setter for the eyebrow type.
119
+    /// \param eb eyebrow type
120
+    /// \~Spanish
121
+    /// \brief Ajusta el tipo de cejas
122
+    /// \param eb tipo de ceja
123
+    void setEyebrow(EyeBrowType) ;
124
+
125
+    /// \fn Qt::GlobalColor Bird::getColor(QString color)
126
+    /// \~English
127
+    /// \brief Converts a color specified as string to a Qt::GlobalColor
128
+    /// \param color string with a color
129
+    /// \~Spanish
130
+    /// \brief Convierte un color especificado como un string a un Qt::GlobalColor
131
+    /// \param color cadena de caracteres de un color
132
+    Qt::GlobalColor getColor(QString) const;
133
+signals:
134
+
135
+public slots:
136
+
137
+protected:
138
+    /// \fn void Bird::paintEvent(QPaintEvent *event)
139
+    /// \~English
140
+    /// \brief This function is automatically invoked each time the widget or
141
+    /// its parent receives a repaint signal.
142
+    /// \~Spanish
143
+    /// \brief Esta funcion es invocada automaticamente cada ves que el widget
144
+    /// o su padre recive una senal de repintar.
145
+    void paintEvent(QPaintEvent *event);
146
+
147
+private:
148
+    int size ; /**< size of the bird*/
149
+    EyeBrowType eyeBrow ; /**< eyebrow type (ceja)*/
150
+    QString color ; /**< face color  (cara)*/
151
+    QString eColor ; /**< eye color (ojos)*/
152
+
153
+    /// \fn int Bird::randInt(int min, int max)
154
+    /// \~English
155
+    /// \brief Generates a random integer in the range [min, max]
156
+    /// \param min minimum random value
157
+    /// \param max maximum random value
158
+    /// \~Spanish
159
+    /// \brief Genera un entero aleatorio en el rango [min, max]
160
+    /// \param min valor aleatorio minimo
161
+    /// \param max valor aleatorio maximo
162
+    ///
163
+    int randInt(int min, int max) ;
164
+};
165
+
166
+#endif // BIRD_H

+ 5
- 0
birth.qrc Ver arquivo

@@ -0,0 +1,5 @@
1
+<RCC>
2
+    <qresource prefix="/">
3
+        <file>bird.wav</file>
4
+    </qresource>
5
+</RCC>

+ 103
- 0
doc/en/html/annotated.html Ver arquivo

@@ -0,0 +1,103 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li class="current"><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
90
+<table class="directory">
91
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_bird.html" target="_self">Bird</a></td><td class="desc"></td></tr>
92
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc"></td></tr>
93
+</table>
94
+</div><!-- directory -->
95
+</div><!-- contents -->
96
+<!-- start footer part -->
97
+<hr class="footer"/><address class="footer"><small>
98
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
99
+<img class="footer" src="doxygen.png" alt="doxygen"/>
100
+</a> 1.8.9.1
101
+</small></address>
102
+</body>
103
+</html>

BIN
doc/en/html/arrowdown.png Ver arquivo


BIN
doc/en/html/arrowright.png Ver arquivo


BIN
doc/en/html/bc_s.png Ver arquivo


BIN
doc/en/html/bdwn.png Ver arquivo


+ 172
- 0
doc/en/html/bird_8h_source.html Ver arquivo

@@ -0,0 +1,172 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: bird.h Source File</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">bird.h</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef BIRD_H</span></div>
88
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define BIRD_H</span></div>
89
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
90
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QWidget&gt;</span></div>
91
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QPainter&gt;</span></div>
92
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
93
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
94
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
95
+<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_bird.html">   16</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_bird.html">Bird</a> : <span class="keyword">public</span> QWidget</div>
96
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
97
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    Q_OBJECT</div>
98
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">public</span>:</div>
99
+<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">   23</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> {</div>
100
+<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">   24</a></span>&#160;        <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">UNI</a>,    </div>
101
+<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">   25</a></span>&#160;        <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">ANGRY</a>,  </div>
102
+<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">   26</a></span>&#160;        <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">UPSET</a>,  </div>
103
+<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">   27</a></span>&#160;        <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">BUSHY</a>   </div>
104
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    };</div>
105
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    </div>
106
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a>(QWidget *parent = 0);</div>
107
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
108
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a>(<span class="keywordtype">int</span> , <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> , QString , QString, QWidget *parent = 0) ;</div>
109
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
110
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    QString  <a class="code" href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">getEyeColor</a>() <span class="keyword">const</span>;</div>
111
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
112
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    QString  <a class="code" href="class_bird.html#a41a64913760b45a1c515047878d92583">getFaceColor</a>() <span class="keyword">const</span>;</div>
113
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
114
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="class_bird.html#a835df93d19d5467ae4380273619d39e5">setEyeColor</a>(QString) ;</div>
115
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
116
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordtype">void</span>  <a class="code" href="class_bird.html#a0800cd1d6974f949af715da44eec9476">setFaceColor</a>(QString) ;</div>
117
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
118
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">getSize</a>() <span class="keyword">const</span>;</div>
119
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
120
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> getEyebrow() <span class="keyword">const</span> ;</div>
121
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
122
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_bird.html#afe637db83f012091302bc04d29a5d1be">setSize</a>(<span class="keywordtype">int</span>) ;</div>
123
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
124
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">setEyebrow</a>(<a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>) ;</div>
125
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
126
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    Qt::GlobalColor <a class="code" href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">getColor</a>(QString) <span class="keyword">const</span>;</div>
127
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;signals:</div>
128
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
129
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">public</span> slots:</div>
130
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
131
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keyword">protected</span>:</div>
132
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">paintEvent</a>(QPaintEvent *event);</div>
133
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
134
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">private</span>:</div>
135
+<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">  148</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">size</a> ; </div>
136
+<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">  149</a></span>&#160;    <a class="code" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> <a class="code" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">eyeBrow</a> ; </div>
137
+<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">  150</a></span>&#160;    QString <a class="code" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">color</a> ; </div>
138
+<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="class_bird.html#a3a2f86b733b043678c46554543689a11">  151</a></span>&#160;    QString <a class="code" href="class_bird.html#a3a2f86b733b043678c46554543689a11">eColor</a> ; </div>
139
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">randInt</a>(<span class="keywordtype">int</span> min, <span class="keywordtype">int</span> max) ;</div>
140
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;};</div>
141
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
142
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#endif // BIRD_H</span></div>
143
+<div class="ttc" id="class_bird_html_abfe484323ac9e48a6371eef4de8538fe"><div class="ttname"><a href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird::Bird</a></div><div class="ttdeci">Bird(QWidget *parent=0)</div><div class="ttdoc">Default constructor. The properties of the bird are set as follows: size: set to random value of eith...</div><div class="ttdef"><b>Definition:</b> bird.cpp:25</div></div>
144
+<div class="ttc" id="class_bird_html_a9ca7641056d08c5f73263d2379ac47e0"><div class="ttname"><a href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">Bird::getEyeColor</a></div><div class="ttdeci">QString getEyeColor() const </div><div class="ttdoc">Getter for the eyeColor. </div><div class="ttdef"><b>Definition:</b> bird.cpp:67</div></div>
145
+<div class="ttc" id="class_bird_html_a53ffc41e40cf2c8c2ea71ffbb97e9dba"><div class="ttname"><a href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">Bird::color</a></div><div class="ttdeci">QString color</div><div class="ttdef"><b>Definition:</b> bird.h:150</div></div>
146
+<div class="ttc" id="class_bird_html_a0800cd1d6974f949af715da44eec9476"><div class="ttname"><a href="class_bird.html#a0800cd1d6974f949af715da44eec9476">Bird::setFaceColor</a></div><div class="ttdeci">void setFaceColor(QString)</div><div class="ttdoc">Setter for the face color. </div><div class="ttdef"><b>Definition:</b> bird.cpp:98</div></div>
147
+<div class="ttc" id="class_bird_html_a835df93d19d5467ae4380273619d39e5"><div class="ttname"><a href="class_bird.html#a835df93d19d5467ae4380273619d39e5">Bird::setEyeColor</a></div><div class="ttdeci">void setEyeColor(QString)</div><div class="ttdoc">Setter for the eyeColor. </div><div class="ttdef"><b>Definition:</b> bird.cpp:87</div></div>
148
+<div class="ttc" id="class_bird_html_a48ac642e41fd1bd99ce3915c14d4bb4a"><div class="ttname"><a href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">Bird::getSize</a></div><div class="ttdeci">int getSize() const </div><div class="ttdoc">Getter for the bird size. </div><div class="ttdef"><b>Definition:</b> bird.cpp:107</div></div>
149
+<div class="ttc" id="class_bird_html_a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049"><div class="ttname"><a href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">Bird::UPSET</a></div><div class="ttdef"><b>Definition:</b> bird.h:26</div></div>
150
+<div class="ttc" id="class_bird_html_a3a2f86b733b043678c46554543689a11"><div class="ttname"><a href="class_bird.html#a3a2f86b733b043678c46554543689a11">Bird::eColor</a></div><div class="ttdeci">QString eColor</div><div class="ttdef"><b>Definition:</b> bird.h:151</div></div>
151
+<div class="ttc" id="class_bird_html_a41a64913760b45a1c515047878d92583"><div class="ttname"><a href="class_bird.html#a41a64913760b45a1c515047878d92583">Bird::getFaceColor</a></div><div class="ttdeci">QString getFaceColor() const </div><div class="ttdoc">Getter for the faceColor. </div><div class="ttdef"><b>Definition:</b> bird.cpp:76</div></div>
152
+<div class="ttc" id="class_bird_html_a631b29bf1daab6e7d029df40664a0604"><div class="ttname"><a href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">Bird::setEyebrow</a></div><div class="ttdeci">void setEyebrow(EyeBrowType)</div><div class="ttdoc">Setter for the eyebrow type. </div><div class="ttdef"><b>Definition:</b> bird.cpp:143</div></div>
153
+<div class="ttc" id="class_bird_html_a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008"><div class="ttname"><a href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">Bird::BUSHY</a></div><div class="ttdef"><b>Definition:</b> bird.h:27</div></div>
154
+<div class="ttc" id="class_bird_html_aa8e23a86d722c6f81f969c556cef0342"><div class="ttname"><a href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">Bird::size</a></div><div class="ttdeci">int size</div><div class="ttdef"><b>Definition:</b> bird.h:148</div></div>
155
+<div class="ttc" id="class_bird_html_ae457dbd329c0de2173decbfa1296daa6"><div class="ttname"><a href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">Bird::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event)</div><div class="ttdoc">This function is automatically invoked each time the widget or its parent receives a repaint signal...</div><div class="ttdef"><b>Definition:</b> bird.cpp:193</div></div>
156
+<div class="ttc" id="class_bird_html_a1e608d95cce3b3c7b1497d86b37516ec"><div class="ttname"><a href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">Bird::EyeBrowType</a></div><div class="ttdeci">EyeBrowType</div><div class="ttdef"><b>Definition:</b> bird.h:23</div></div>
157
+<div class="ttc" id="class_bird_html_a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1"><div class="ttname"><a href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">Bird::UNI</a></div><div class="ttdef"><b>Definition:</b> bird.h:24</div></div>
158
+<div class="ttc" id="class_bird_html_a8a6fa1980da30e3bab3e2d051ce9d2f7"><div class="ttname"><a href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">Bird::randInt</a></div><div class="ttdeci">int randInt(int min, int max)</div><div class="ttdoc">Generates a random integer in the range [min, max]. </div><div class="ttdef"><b>Definition:</b> bird.cpp:180</div></div>
159
+<div class="ttc" id="class_bird_html_afe637db83f012091302bc04d29a5d1be"><div class="ttname"><a href="class_bird.html#afe637db83f012091302bc04d29a5d1be">Bird::setSize</a></div><div class="ttdeci">void setSize(int)</div><div class="ttdoc">Setter for the bird size. </div><div class="ttdef"><b>Definition:</b> bird.cpp:127</div></div>
160
+<div class="ttc" id="class_bird_html_a9e62ffa00de025d9d4b003e302c70e0e"><div class="ttname"><a href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">Bird::getColor</a></div><div class="ttdeci">Qt::GlobalColor getColor(QString) const </div><div class="ttdoc">Converts a color specified as string to a Qt::GlobalColor. </div><div class="ttdef"><b>Definition:</b> bird.cpp:156</div></div>
161
+<div class="ttc" id="class_bird_html"><div class="ttname"><a href="class_bird.html">Bird</a></div><div class="ttdef"><b>Definition:</b> bird.h:16</div></div>
162
+<div class="ttc" id="class_bird_html_a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070"><div class="ttname"><a href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">Bird::ANGRY</a></div><div class="ttdef"><b>Definition:</b> bird.h:25</div></div>
163
+<div class="ttc" id="class_bird_html_a9ec579543e7139067b28fa07d6121c57"><div class="ttname"><a href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">Bird::eyeBrow</a></div><div class="ttdeci">EyeBrowType eyeBrow</div><div class="ttdef"><b>Definition:</b> bird.h:149</div></div>
164
+</div><!-- fragment --></div><!-- contents -->
165
+<!-- start footer part -->
166
+<hr class="footer"/><address class="footer"><small>
167
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
168
+<img class="footer" src="doxygen.png" alt="doxygen"/>
169
+</a> 1.8.9.1
170
+</small></address>
171
+</body>
172
+</html>

+ 122
- 0
doc/en/html/class_bird-members.html Ver arquivo

@@ -0,0 +1,122 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Member List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Bird Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="class_bird.html">Bird</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">ANGRY</a> enum value</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#aa9728cc9ffc34f902140c38ba732f6cc">Bird</a>(int, EyeBrowType, QString, QString, QWidget *parent=0)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">BUSHY</a> enum value</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">color</a></td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_bird.html#a3a2f86b733b043678c46554543689a11">eColor</a></td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">eyeBrow</a></td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> enum name</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">getColor</a>(QString) const </td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
101
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>getEyebrow</b>() const  (defined in <a class="el" href="class_bird.html">Bird</a>)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">getEyeColor</a>() const </td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_bird.html#a41a64913760b45a1c515047878d92583">getFaceColor</a>() const </td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">getSize</a>() const </td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
105
+  <tr><td class="entry"><a class="el" href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">paintEvent</a>(QPaintEvent *event)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">randInt</a>(int min, int max)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
107
+  <tr><td class="entry"><a class="el" href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">setEyebrow</a>(EyeBrowType)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a835df93d19d5467ae4380273619d39e5">setEyeColor</a>(QString)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
109
+  <tr><td class="entry"><a class="el" href="class_bird.html#a0800cd1d6974f949af715da44eec9476">setFaceColor</a>(QString)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
110
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#afe637db83f012091302bc04d29a5d1be">setSize</a>(int)</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
111
+  <tr><td class="entry"><a class="el" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">size</a></td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
112
+  <tr class="even"><td class="entry"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">UNI</a> enum value</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
113
+  <tr><td class="entry"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">UPSET</a> enum value</td><td class="entry"><a class="el" href="class_bird.html">Bird</a></td><td class="entry"></td></tr>
114
+</table></div><!-- contents -->
115
+<!-- start footer part -->
116
+<hr class="footer"/><address class="footer"><small>
117
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
118
+<img class="footer" src="doxygen.png" alt="doxygen"/>
119
+</a> 1.8.9.1
120
+</small></address>
121
+</body>
122
+</html>

+ 561
- 0
doc/en/html/class_bird.html Ver arquivo

@@ -0,0 +1,561 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Bird Class Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-types">Public Types</a> &#124;
87
+<a href="#pub-methods">Public Member Functions</a> &#124;
88
+<a href="#pro-methods">Protected Member Functions</a> &#124;
89
+<a href="#pri-methods">Private Member Functions</a> &#124;
90
+<a href="#pri-attribs">Private Attributes</a> &#124;
91
+<a href="class_bird-members.html">List of all members</a>  </div>
92
+  <div class="headertitle">
93
+<div class="title">Bird Class Reference</div>  </div>
94
+</div><!--header-->
95
+<div class="contents">
96
+
97
+<p><code>#include &lt;<a class="el" href="bird_8h_source.html">bird.h</a>&gt;</code></p>
98
+<div class="dynheader">
99
+Inheritance diagram for Bird:</div>
100
+<div class="dyncontent">
101
+ <div class="center">
102
+  <img src="class_bird.png" usemap="#Bird_map" alt=""/>
103
+  <map id="Bird_map" name="Bird_map">
104
+</map>
105
+ </div></div>
106
+<table class="memberdecls">
107
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
108
+Public Types</h2></td></tr>
109
+<tr class="memitem:a1e608d95cce3b3c7b1497d86b37516ec"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> { <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">UNI</a>, 
110
+<a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">ANGRY</a>, 
111
+<a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">UPSET</a>, 
112
+<a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">BUSHY</a>
113
+ }</td></tr>
114
+<tr class="separator:a1e608d95cce3b3c7b1497d86b37516ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
115
+</table><table class="memberdecls">
116
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
117
+Public Member Functions</h2></td></tr>
118
+<tr class="memitem:abfe484323ac9e48a6371eef4de8538fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a> (QWidget *parent=0)</td></tr>
119
+<tr class="memdesc:abfe484323ac9e48a6371eef4de8538fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. The properties of the bird are set as follows: size: set to random value of either 50, 100, 150 or 200.  <a href="#abfe484323ac9e48a6371eef4de8538fe">More...</a><br /></td></tr>
120
+<tr class="separator:abfe484323ac9e48a6371eef4de8538fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
121
+<tr class="memitem:aa9728cc9ffc34f902140c38ba732f6cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#aa9728cc9ffc34f902140c38ba732f6cc">Bird</a> (int, <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>, QString, QString, QWidget *parent=0)</td></tr>
122
+<tr class="memdesc:aa9728cc9ffc34f902140c38ba732f6cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor which accepts specification of the attributes of the bird.  <a href="#aa9728cc9ffc34f902140c38ba732f6cc">More...</a><br /></td></tr>
123
+<tr class="separator:aa9728cc9ffc34f902140c38ba732f6cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+<tr class="memitem:a9ca7641056d08c5f73263d2379ac47e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ca7641056d08c5f73263d2379ac47e0"></a>
125
+QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">getEyeColor</a> () const </td></tr>
126
+<tr class="memdesc:a9ca7641056d08c5f73263d2379ac47e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the eyeColor. <br /></td></tr>
127
+<tr class="separator:a9ca7641056d08c5f73263d2379ac47e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
128
+<tr class="memitem:a41a64913760b45a1c515047878d92583"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41a64913760b45a1c515047878d92583"></a>
129
+QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a41a64913760b45a1c515047878d92583">getFaceColor</a> () const </td></tr>
130
+<tr class="memdesc:a41a64913760b45a1c515047878d92583"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the faceColor. <br /></td></tr>
131
+<tr class="separator:a41a64913760b45a1c515047878d92583"><td class="memSeparator" colspan="2">&#160;</td></tr>
132
+<tr class="memitem:a835df93d19d5467ae4380273619d39e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a835df93d19d5467ae4380273619d39e5">setEyeColor</a> (QString)</td></tr>
133
+<tr class="memdesc:a835df93d19d5467ae4380273619d39e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the eyeColor.  <a href="#a835df93d19d5467ae4380273619d39e5">More...</a><br /></td></tr>
134
+<tr class="separator:a835df93d19d5467ae4380273619d39e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
135
+<tr class="memitem:a0800cd1d6974f949af715da44eec9476"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a0800cd1d6974f949af715da44eec9476">setFaceColor</a> (QString)</td></tr>
136
+<tr class="memdesc:a0800cd1d6974f949af715da44eec9476"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the face color.  <a href="#a0800cd1d6974f949af715da44eec9476">More...</a><br /></td></tr>
137
+<tr class="separator:a0800cd1d6974f949af715da44eec9476"><td class="memSeparator" colspan="2">&#160;</td></tr>
138
+<tr class="memitem:a48ac642e41fd1bd99ce3915c14d4bb4a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48ac642e41fd1bd99ce3915c14d4bb4a"></a>
139
+int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">getSize</a> () const </td></tr>
140
+<tr class="memdesc:a48ac642e41fd1bd99ce3915c14d4bb4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the bird size. <br /></td></tr>
141
+<tr class="separator:a48ac642e41fd1bd99ce3915c14d4bb4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
142
+<tr class="memitem:ac3c144d4c4e3de1821b531b6ad20e4b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3c144d4c4e3de1821b531b6ad20e4b8"></a>
143
+<a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getEyebrow</b> () const </td></tr>
144
+<tr class="separator:ac3c144d4c4e3de1821b531b6ad20e4b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
145
+<tr class="memitem:afe637db83f012091302bc04d29a5d1be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#afe637db83f012091302bc04d29a5d1be">setSize</a> (int)</td></tr>
146
+<tr class="memdesc:afe637db83f012091302bc04d29a5d1be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the bird size.  <a href="#afe637db83f012091302bc04d29a5d1be">More...</a><br /></td></tr>
147
+<tr class="separator:afe637db83f012091302bc04d29a5d1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
148
+<tr class="memitem:a631b29bf1daab6e7d029df40664a0604"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">setEyebrow</a> (<a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>)</td></tr>
149
+<tr class="memdesc:a631b29bf1daab6e7d029df40664a0604"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the eyebrow type.  <a href="#a631b29bf1daab6e7d029df40664a0604">More...</a><br /></td></tr>
150
+<tr class="separator:a631b29bf1daab6e7d029df40664a0604"><td class="memSeparator" colspan="2">&#160;</td></tr>
151
+<tr class="memitem:a9e62ffa00de025d9d4b003e302c70e0e"><td class="memItemLeft" align="right" valign="top">Qt::GlobalColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">getColor</a> (QString) const </td></tr>
152
+<tr class="memdesc:a9e62ffa00de025d9d4b003e302c70e0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a color specified as string to a Qt::GlobalColor.  <a href="#a9e62ffa00de025d9d4b003e302c70e0e">More...</a><br /></td></tr>
153
+<tr class="separator:a9e62ffa00de025d9d4b003e302c70e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
154
+</table><table class="memberdecls">
155
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
156
+Protected Member Functions</h2></td></tr>
157
+<tr class="memitem:ae457dbd329c0de2173decbfa1296daa6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae457dbd329c0de2173decbfa1296daa6"></a>
158
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">paintEvent</a> (QPaintEvent *event)</td></tr>
159
+<tr class="memdesc:ae457dbd329c0de2173decbfa1296daa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is automatically invoked each time the widget or its parent receives a repaint signal. <br /></td></tr>
160
+<tr class="separator:ae457dbd329c0de2173decbfa1296daa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
161
+</table><table class="memberdecls">
162
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
163
+Private Member Functions</h2></td></tr>
164
+<tr class="memitem:a8a6fa1980da30e3bab3e2d051ce9d2f7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">randInt</a> (int min, int max)</td></tr>
165
+<tr class="memdesc:a8a6fa1980da30e3bab3e2d051ce9d2f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a random integer in the range [min, max].  <a href="#a8a6fa1980da30e3bab3e2d051ce9d2f7">More...</a><br /></td></tr>
166
+<tr class="separator:a8a6fa1980da30e3bab3e2d051ce9d2f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
167
+</table><table class="memberdecls">
168
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
169
+Private Attributes</h2></td></tr>
170
+<tr class="memitem:aa8e23a86d722c6f81f969c556cef0342"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">size</a></td></tr>
171
+<tr class="separator:aa8e23a86d722c6f81f969c556cef0342"><td class="memSeparator" colspan="2">&#160;</td></tr>
172
+<tr class="memitem:a9ec579543e7139067b28fa07d6121c57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">eyeBrow</a></td></tr>
173
+<tr class="separator:a9ec579543e7139067b28fa07d6121c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
174
+<tr class="memitem:a53ffc41e40cf2c8c2ea71ffbb97e9dba"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">color</a></td></tr>
175
+<tr class="separator:a53ffc41e40cf2c8c2ea71ffbb97e9dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
176
+<tr class="memitem:a3a2f86b733b043678c46554543689a11"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_bird.html#a3a2f86b733b043678c46554543689a11">eColor</a></td></tr>
177
+<tr class="separator:a3a2f86b733b043678c46554543689a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
178
+</table>
179
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
180
+<div class="textblock"><p>A class to represent birds.</p>
181
+<p><a class="el" href="class_bird.html">Bird</a> is a subclass of QWidget. This means that the following QWidget functions are also available for objects of the class <a class="el" href="class_bird.html">Bird</a>:</p><ul>
182
+<li>move(int x, int y): to move the bird to position (x,y)</li>
183
+<li>x(), y(): get the x position, get the y() position</li>
184
+<li>hide(): to hide a bird that has been painted </li>
185
+</ul>
186
+</div><h2 class="groupheader">Member Enumeration Documentation</h2>
187
+<a class="anchor" id="a1e608d95cce3b3c7b1497d86b37516ec"></a>
188
+<div class="memitem">
189
+<div class="memproto">
190
+      <table class="memname">
191
+        <tr>
192
+          <td class="memname">enum <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">Bird::EyeBrowType</a></td>
193
+        </tr>
194
+      </table>
195
+</div><div class="memdoc">
196
+<p>Enum type for the EyeBrow </p>
197
+<table class="fieldtable">
198
+<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1"></a>UNI&#160;</td><td class="fielddoc">
199
+<p>enum value 0 </p>
200
+</td></tr>
201
+<tr><td class="fieldname"><a class="anchor" id="a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070"></a>ANGRY&#160;</td><td class="fielddoc">
202
+<p>enum value 1 </p>
203
+</td></tr>
204
+<tr><td class="fieldname"><a class="anchor" id="a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049"></a>UPSET&#160;</td><td class="fielddoc">
205
+<p>enum value 2 </p>
206
+</td></tr>
207
+<tr><td class="fieldname"><a class="anchor" id="a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008"></a>BUSHY&#160;</td><td class="fielddoc">
208
+<p>enum value 3 </p>
209
+</td></tr>
210
+</table>
211
+
212
+</div>
213
+</div>
214
+<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
215
+<a class="anchor" id="abfe484323ac9e48a6371eef4de8538fe"></a>
216
+<div class="memitem">
217
+<div class="memproto">
218
+<table class="mlabels">
219
+  <tr>
220
+  <td class="mlabels-left">
221
+      <table class="memname">
222
+        <tr>
223
+          <td class="memname">Bird::Bird </td>
224
+          <td>(</td>
225
+          <td class="paramtype">QWidget *&#160;</td>
226
+          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
227
+          <td></td>
228
+        </tr>
229
+      </table>
230
+  </td>
231
+  <td class="mlabels-right">
232
+<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
233
+  </tr>
234
+</table>
235
+</div><div class="memdoc">
236
+
237
+<p>Default constructor. The properties of the bird are set as follows: size: set to random value of either 50, 100, 150 or 200. </p>
238
+<ul>
239
+<li>eyeBrow: set randomly to one of the five possible values</li>
240
+<li>color and eColor: set randomly to one of the five possible colors: "green", "blue", "red", "yellow", "white" </li>
241
+</ul>
242
+
243
+</div>
244
+</div>
245
+<a class="anchor" id="aa9728cc9ffc34f902140c38ba732f6cc"></a>
246
+<div class="memitem">
247
+<div class="memproto">
248
+      <table class="memname">
249
+        <tr>
250
+          <td class="memname">Bird::Bird </td>
251
+          <td>(</td>
252
+          <td class="paramtype">int&#160;</td>
253
+          <td class="paramname"><em>s</em>, </td>
254
+        </tr>
255
+        <tr>
256
+          <td class="paramkey"></td>
257
+          <td></td>
258
+          <td class="paramtype"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>&#160;</td>
259
+          <td class="paramname"><em>eb</em>, </td>
260
+        </tr>
261
+        <tr>
262
+          <td class="paramkey"></td>
263
+          <td></td>
264
+          <td class="paramtype">QString&#160;</td>
265
+          <td class="paramname"><em>col</em>, </td>
266
+        </tr>
267
+        <tr>
268
+          <td class="paramkey"></td>
269
+          <td></td>
270
+          <td class="paramtype">QString&#160;</td>
271
+          <td class="paramname"><em>eye</em>, </td>
272
+        </tr>
273
+        <tr>
274
+          <td class="paramkey"></td>
275
+          <td></td>
276
+          <td class="paramtype">QWidget *&#160;</td>
277
+          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
278
+        </tr>
279
+        <tr>
280
+          <td></td>
281
+          <td>)</td>
282
+          <td></td><td></td>
283
+        </tr>
284
+      </table>
285
+</div><div class="memdoc">
286
+
287
+<p>Constructor which accepts specification of the attributes of the bird. </p>
288
+<dl class="params"><dt>Parameters</dt><dd>
289
+  <table class="params">
290
+    <tr><td class="paramname">s</td><td>size </td></tr>
291
+    <tr><td class="paramname">eb</td><td>eyeBrow </td></tr>
292
+    <tr><td class="paramname">col</td><td>(faceColor) </td></tr>
293
+    <tr><td class="paramname">eye</td><td>(eyeColor) </td></tr>
294
+  </table>
295
+  </dd>
296
+</dl>
297
+
298
+</div>
299
+</div>
300
+<h2 class="groupheader">Member Function Documentation</h2>
301
+<a class="anchor" id="a9e62ffa00de025d9d4b003e302c70e0e"></a>
302
+<div class="memitem">
303
+<div class="memproto">
304
+      <table class="memname">
305
+        <tr>
306
+          <td class="memname">Qt::GlobalColor Bird::getColor </td>
307
+          <td>(</td>
308
+          <td class="paramtype">QString&#160;</td>
309
+          <td class="paramname"><em>color</em></td><td>)</td>
310
+          <td> const</td>
311
+        </tr>
312
+      </table>
313
+</div><div class="memdoc">
314
+
315
+<p>Converts a color specified as string to a Qt::GlobalColor. </p>
316
+<dl class="params"><dt>Parameters</dt><dd>
317
+  <table class="params">
318
+    <tr><td class="paramname">color</td><td>string with a color </td></tr>
319
+  </table>
320
+  </dd>
321
+</dl>
322
+
323
+</div>
324
+</div>
325
+<a class="anchor" id="a8a6fa1980da30e3bab3e2d051ce9d2f7"></a>
326
+<div class="memitem">
327
+<div class="memproto">
328
+<table class="mlabels">
329
+  <tr>
330
+  <td class="mlabels-left">
331
+      <table class="memname">
332
+        <tr>
333
+          <td class="memname">int Bird::randInt </td>
334
+          <td>(</td>
335
+          <td class="paramtype">int&#160;</td>
336
+          <td class="paramname"><em>min</em>, </td>
337
+        </tr>
338
+        <tr>
339
+          <td class="paramkey"></td>
340
+          <td></td>
341
+          <td class="paramtype">int&#160;</td>
342
+          <td class="paramname"><em>max</em>&#160;</td>
343
+        </tr>
344
+        <tr>
345
+          <td></td>
346
+          <td>)</td>
347
+          <td></td><td></td>
348
+        </tr>
349
+      </table>
350
+  </td>
351
+  <td class="mlabels-right">
352
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
353
+  </tr>
354
+</table>
355
+</div><div class="memdoc">
356
+
357
+<p>Generates a random integer in the range [min, max]. </p>
358
+<dl class="params"><dt>Parameters</dt><dd>
359
+  <table class="params">
360
+    <tr><td class="paramname">min</td><td>minimum random value </td></tr>
361
+    <tr><td class="paramname">max</td><td>maximum random value </td></tr>
362
+  </table>
363
+  </dd>
364
+</dl>
365
+
366
+</div>
367
+</div>
368
+<a class="anchor" id="a631b29bf1daab6e7d029df40664a0604"></a>
369
+<div class="memitem">
370
+<div class="memproto">
371
+      <table class="memname">
372
+        <tr>
373
+          <td class="memname">void Bird::setEyebrow </td>
374
+          <td>(</td>
375
+          <td class="paramtype"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a>&#160;</td>
376
+          <td class="paramname"><em>eb</em></td><td>)</td>
377
+          <td></td>
378
+        </tr>
379
+      </table>
380
+</div><div class="memdoc">
381
+
382
+<p>Setter for the eyebrow type. </p>
383
+<dl class="params"><dt>Parameters</dt><dd>
384
+  <table class="params">
385
+    <tr><td class="paramname">eb</td><td>eyebrow type </td></tr>
386
+  </table>
387
+  </dd>
388
+</dl>
389
+
390
+</div>
391
+</div>
392
+<a class="anchor" id="a835df93d19d5467ae4380273619d39e5"></a>
393
+<div class="memitem">
394
+<div class="memproto">
395
+      <table class="memname">
396
+        <tr>
397
+          <td class="memname">void Bird::setEyeColor </td>
398
+          <td>(</td>
399
+          <td class="paramtype">QString&#160;</td>
400
+          <td class="paramname"><em>eye</em></td><td>)</td>
401
+          <td></td>
402
+        </tr>
403
+      </table>
404
+</div><div class="memdoc">
405
+
406
+<p>Setter for the eyeColor. </p>
407
+<dl class="params"><dt>Parameters</dt><dd>
408
+  <table class="params">
409
+    <tr><td class="paramname">eye</td><td>eyeColor </td></tr>
410
+  </table>
411
+  </dd>
412
+</dl>
413
+
414
+</div>
415
+</div>
416
+<a class="anchor" id="a0800cd1d6974f949af715da44eec9476"></a>
417
+<div class="memitem">
418
+<div class="memproto">
419
+      <table class="memname">
420
+        <tr>
421
+          <td class="memname">void Bird::setFaceColor </td>
422
+          <td>(</td>
423
+          <td class="paramtype">QString&#160;</td>
424
+          <td class="paramname"><em>col</em></td><td>)</td>
425
+          <td></td>
426
+        </tr>
427
+      </table>
428
+</div><div class="memdoc">
429
+
430
+<p>Setter for the face color. </p>
431
+<dl class="params"><dt>Parameters</dt><dd>
432
+  <table class="params">
433
+    <tr><td class="paramname">col</td><td>face Color </td></tr>
434
+  </table>
435
+  </dd>
436
+</dl>
437
+
438
+</div>
439
+</div>
440
+<a class="anchor" id="afe637db83f012091302bc04d29a5d1be"></a>
441
+<div class="memitem">
442
+<div class="memproto">
443
+      <table class="memname">
444
+        <tr>
445
+          <td class="memname">void Bird::setSize </td>
446
+          <td>(</td>
447
+          <td class="paramtype">int&#160;</td>
448
+          <td class="paramname"><em>s</em></td><td>)</td>
449
+          <td></td>
450
+        </tr>
451
+      </table>
452
+</div><div class="memdoc">
453
+
454
+<p>Setter for the bird size. </p>
455
+<dl class="params"><dt>Parameters</dt><dd>
456
+  <table class="params">
457
+    <tr><td class="paramname">s</td><td>bird size </td></tr>
458
+  </table>
459
+  </dd>
460
+</dl>
461
+
462
+</div>
463
+</div>
464
+<h2 class="groupheader">Member Data Documentation</h2>
465
+<a class="anchor" id="a53ffc41e40cf2c8c2ea71ffbb97e9dba"></a>
466
+<div class="memitem">
467
+<div class="memproto">
468
+<table class="mlabels">
469
+  <tr>
470
+  <td class="mlabels-left">
471
+      <table class="memname">
472
+        <tr>
473
+          <td class="memname">QString Bird::color</td>
474
+        </tr>
475
+      </table>
476
+  </td>
477
+  <td class="mlabels-right">
478
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
479
+  </tr>
480
+</table>
481
+</div><div class="memdoc">
482
+<p>face color (cara) </p>
483
+
484
+</div>
485
+</div>
486
+<a class="anchor" id="a3a2f86b733b043678c46554543689a11"></a>
487
+<div class="memitem">
488
+<div class="memproto">
489
+<table class="mlabels">
490
+  <tr>
491
+  <td class="mlabels-left">
492
+      <table class="memname">
493
+        <tr>
494
+          <td class="memname">QString Bird::eColor</td>
495
+        </tr>
496
+      </table>
497
+  </td>
498
+  <td class="mlabels-right">
499
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
500
+  </tr>
501
+</table>
502
+</div><div class="memdoc">
503
+<p>eye color (ojos) </p>
504
+
505
+</div>
506
+</div>
507
+<a class="anchor" id="a9ec579543e7139067b28fa07d6121c57"></a>
508
+<div class="memitem">
509
+<div class="memproto">
510
+<table class="mlabels">
511
+  <tr>
512
+  <td class="mlabels-left">
513
+      <table class="memname">
514
+        <tr>
515
+          <td class="memname"><a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">EyeBrowType</a> Bird::eyeBrow</td>
516
+        </tr>
517
+      </table>
518
+  </td>
519
+  <td class="mlabels-right">
520
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
521
+  </tr>
522
+</table>
523
+</div><div class="memdoc">
524
+<p>eyebrow type (ceja) </p>
525
+
526
+</div>
527
+</div>
528
+<a class="anchor" id="aa8e23a86d722c6f81f969c556cef0342"></a>
529
+<div class="memitem">
530
+<div class="memproto">
531
+<table class="mlabels">
532
+  <tr>
533
+  <td class="mlabels-left">
534
+      <table class="memname">
535
+        <tr>
536
+          <td class="memname">int Bird::size</td>
537
+        </tr>
538
+      </table>
539
+  </td>
540
+  <td class="mlabels-right">
541
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
542
+  </tr>
543
+</table>
544
+</div><div class="memdoc">
545
+<p>size of the bird </p>
546
+
547
+</div>
548
+</div>
549
+<hr/>The documentation for this class was generated from the following files:<ul>
550
+<li><a class="el" href="bird_8h_source.html">bird.h</a></li>
551
+<li>bird.cpp</li>
552
+</ul>
553
+</div><!-- contents -->
554
+<!-- start footer part -->
555
+<hr class="footer"/><address class="footer"><small>
556
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
557
+<img class="footer" src="doxygen.png" alt="doxygen"/>
558
+</a> 1.8.9.1
559
+</small></address>
560
+</body>
561
+</html>

BIN
doc/en/html/class_bird.png Ver arquivo


+ 106
- 0
doc/en/html/class_main_window-members.html Ver arquivo

@@ -0,0 +1,106 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Member List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">MainWindow Member List</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+
90
+<p>This is the complete list of members for <a class="el" href="class_main_window.html">MainWindow</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">addBird</a>(int x, int y, Bird &amp;b)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_main_window.html#a94e721694e346cd56f20a16617befc66">addBird</a>(Bird &amp;b)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
95
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>scene</b> (defined in <a class="el" href="class_main_window.html">MainWindow</a>)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
96
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ui</b> (defined in <a class="el" href="class_main_window.html">MainWindow</a>)</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a>()</td><td class="entry"><a class="el" href="class_main_window.html">MainWindow</a></td><td class="entry"></td></tr>
98
+</table></div><!-- contents -->
99
+<!-- start footer part -->
100
+<hr class="footer"/><address class="footer"><small>
101
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
102
+<img class="footer" src="doxygen.png" alt="doxygen"/>
103
+</a> 1.8.9.1
104
+</small></address>
105
+</body>
106
+</html>

+ 207
- 0
doc/en/html/class_main_window.html Ver arquivo

@@ -0,0 +1,207 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: MainWindow Class Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-methods">Public Member Functions</a> &#124;
87
+<a href="#pri-attribs">Private Attributes</a> &#124;
88
+<a href="class_main_window-members.html">List of all members</a>  </div>
89
+  <div class="headertitle">
90
+<div class="title">MainWindow Class Reference</div>  </div>
91
+</div><!--header-->
92
+<div class="contents">
93
+<div class="dynheader">
94
+Inheritance diagram for MainWindow:</div>
95
+<div class="dyncontent">
96
+ <div class="center">
97
+  <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
98
+  <map id="MainWindow_map" name="MainWindow_map">
99
+</map>
100
+ </div></div>
101
+<table class="memberdecls">
102
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
103
+Public Member Functions</h2></td></tr>
104
+<tr class="memitem:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
105
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
106
+<tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
107
+<tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+<tr class="memitem:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98d00a93bc118200eeef9f9bba1dba7"></a>
109
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a> ()</td></tr>
110
+<tr class="memdesc:ae98d00a93bc118200eeef9f9bba1dba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
111
+<tr class="separator:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
112
+<tr class="memitem:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">addBird</a> (int x, int y, <a class="el" href="class_bird.html">Bird</a> &amp;b)</td></tr>
113
+<tr class="memdesc:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>.  <a href="#ab23dfe8c817b34fc7e0e2a6f8b915755">More...</a><br /></td></tr>
114
+<tr class="separator:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="memSeparator" colspan="2">&#160;</td></tr>
115
+<tr class="memitem:a94e721694e346cd56f20a16617befc66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a94e721694e346cd56f20a16617befc66">addBird</a> (<a class="el" href="class_bird.html">Bird</a> &amp;b)</td></tr>
116
+<tr class="memdesc:a94e721694e346cd56f20a16617befc66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>.  <a href="#a94e721694e346cd56f20a16617befc66">More...</a><br /></td></tr>
117
+<tr class="separator:a94e721694e346cd56f20a16617befc66"><td class="memSeparator" colspan="2">&#160;</td></tr>
118
+</table><table class="memberdecls">
119
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
120
+Private Attributes</h2></td></tr>
121
+<tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
122
+Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
123
+<tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+<tr class="memitem:a51ac2b126495216832501cea3929c6f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51ac2b126495216832501cea3929c6f6"></a>
125
+QGraphicsScene *&#160;</td><td class="memItemRight" valign="bottom"><b>scene</b></td></tr>
126
+<tr class="separator:a51ac2b126495216832501cea3929c6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
127
+</table>
128
+<h2 class="groupheader">Member Function Documentation</h2>
129
+<a class="anchor" id="ab23dfe8c817b34fc7e0e2a6f8b915755"></a>
130
+<div class="memitem">
131
+<div class="memproto">
132
+      <table class="memname">
133
+        <tr>
134
+          <td class="memname">void MainWindow::addBird </td>
135
+          <td>(</td>
136
+          <td class="paramtype">int&#160;</td>
137
+          <td class="paramname"><em>x</em>, </td>
138
+        </tr>
139
+        <tr>
140
+          <td class="paramkey"></td>
141
+          <td></td>
142
+          <td class="paramtype">int&#160;</td>
143
+          <td class="paramname"><em>y</em>, </td>
144
+        </tr>
145
+        <tr>
146
+          <td class="paramkey"></td>
147
+          <td></td>
148
+          <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
149
+          <td class="paramname"><em>b</em>&#160;</td>
150
+        </tr>
151
+        <tr>
152
+          <td></td>
153
+          <td>)</td>
154
+          <td></td><td></td>
155
+        </tr>
156
+      </table>
157
+</div><div class="memdoc">
158
+
159
+<p>Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. </p>
160
+<dl class="params"><dt>Parameters</dt><dd>
161
+  <table class="params">
162
+    <tr><td class="paramname">x</td><td>X coordinate of the Main Window </td></tr>
163
+    <tr><td class="paramname">y</td><td>Y coordinate of the Main Window </td></tr>
164
+    <tr><td class="paramname">b</td><td><a class="el" href="class_bird.html">Bird</a> object to be painted </td></tr>
165
+  </table>
166
+  </dd>
167
+</dl>
168
+
169
+</div>
170
+</div>
171
+<a class="anchor" id="a94e721694e346cd56f20a16617befc66"></a>
172
+<div class="memitem">
173
+<div class="memproto">
174
+      <table class="memname">
175
+        <tr>
176
+          <td class="memname">void MainWindow::addBird </td>
177
+          <td>(</td>
178
+          <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
179
+          <td class="paramname"><em>b</em></td><td>)</td>
180
+          <td></td>
181
+        </tr>
182
+      </table>
183
+</div><div class="memdoc">
184
+
185
+<p>Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. </p>
186
+<dl class="params"><dt>Parameters</dt><dd>
187
+  <table class="params">
188
+    <tr><td class="paramname">b</td><td><a class="el" href="class_bird.html">Bird</a> object to be painted </td></tr>
189
+  </table>
190
+  </dd>
191
+</dl>
192
+
193
+</div>
194
+</div>
195
+<hr/>The documentation for this class was generated from the following files:<ul>
196
+<li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
197
+<li>mainwindow.cpp</li>
198
+</ul>
199
+</div><!-- contents -->
200
+<!-- start footer part -->
201
+<hr class="footer"/><address class="footer"><small>
202
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
203
+<img class="footer" src="doxygen.png" alt="doxygen"/>
204
+</a> 1.8.9.1
205
+</small></address>
206
+</body>
207
+</html>

BIN
doc/en/html/class_main_window.png Ver arquivo


+ 107
- 0
doc/en/html/classes.html Ver arquivo

@@ -0,0 +1,107 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Index</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li class="current"><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class Index</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="qindex"><a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a></div>
90
+<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
91
+<tr><td rowspan="2" valign="bottom"><a name="letter_B"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;B&#160;&#160;</div></td></tr></table>
92
+</td><td rowspan="2" valign="bottom"><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;M&#160;&#160;</div></td></tr></table>
93
+</td><td></td></tr>
94
+<tr><td></td></tr>
95
+<tr><td valign="top"><a class="el" href="class_bird.html">Bird</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_main_window.html">MainWindow</a>&#160;&#160;&#160;</td><td></td></tr>
96
+<tr><td></td><td></td><td></td></tr>
97
+</table>
98
+<div class="qindex"><a class="qindex" href="#letter_B">B</a>&#160;|&#160;<a class="qindex" href="#letter_M">M</a></div>
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
103
+<img class="footer" src="doxygen.png" alt="doxygen"/>
104
+</a> 1.8.9.1
105
+</small></address>
106
+</body>
107
+</html>

BIN
doc/en/html/closed.png Ver arquivo


BIN
doc/en/html/doc.png Ver arquivo


+ 1449
- 0
doc/en/html/doxygen.css
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


BIN
doc/en/html/doxygen.png Ver arquivo


+ 97
- 0
doc/en/html/dynsections.js Ver arquivo

@@ -0,0 +1,97 @@
1
+function toggleVisibility(linkObj)
2
+{
3
+ var base = $(linkObj).attr('id');
4
+ var summary = $('#'+base+'-summary');
5
+ var content = $('#'+base+'-content');
6
+ var trigger = $('#'+base+'-trigger');
7
+ var src=$(trigger).attr('src');
8
+ if (content.is(':visible')===true) {
9
+   content.hide();
10
+   summary.show();
11
+   $(linkObj).addClass('closed').removeClass('opened');
12
+   $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
13
+ } else {
14
+   content.show();
15
+   summary.hide();
16
+   $(linkObj).removeClass('closed').addClass('opened');
17
+   $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
18
+ } 
19
+ return false;
20
+}
21
+
22
+function updateStripes()
23
+{
24
+  $('table.directory tr').
25
+       removeClass('even').filter(':visible:even').addClass('even');
26
+}
27
+
28
+function toggleLevel(level)
29
+{
30
+  $('table.directory tr').each(function() {
31
+    var l = this.id.split('_').length-1;
32
+    var i = $('#img'+this.id.substring(3));
33
+    var a = $('#arr'+this.id.substring(3));
34
+    if (l<level+1) {
35
+      i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
36
+      a.html('&#9660;');
37
+      $(this).show();
38
+    } else if (l==level+1) {
39
+      i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
40
+      a.html('&#9658;');
41
+      $(this).show();
42
+    } else {
43
+      $(this).hide();
44
+    }
45
+  });
46
+  updateStripes();
47
+}
48
+
49
+function toggleFolder(id)
50
+{
51
+  // the clicked row
52
+  var currentRow = $('#row_'+id);
53
+
54
+  // all rows after the clicked row
55
+  var rows = currentRow.nextAll("tr");
56
+
57
+  var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
58
+
59
+  // only match elements AFTER this one (can't hide elements before)
60
+  var childRows = rows.filter(function() { return this.id.match(re); });
61
+
62
+  // first row is visible we are HIDING
63
+  if (childRows.filter(':first').is(':visible')===true) {
64
+    // replace down arrow by right arrow for current row
65
+    var currentRowSpans = currentRow.find("span");
66
+    currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
67
+    currentRowSpans.filter(".arrow").html('&#9658;');
68
+    rows.filter("[id^=row_"+id+"]").hide(); // hide all children
69
+  } else { // we are SHOWING
70
+    // replace right arrow by down arrow for current row
71
+    var currentRowSpans = currentRow.find("span");
72
+    currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
73
+    currentRowSpans.filter(".arrow").html('&#9660;');
74
+    // replace down arrows by right arrows for child rows
75
+    var childRowsSpans = childRows.find("span");
76
+    childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
77
+    childRowsSpans.filter(".arrow").html('&#9658;');
78
+    childRows.show(); //show all children
79
+  }
80
+  updateStripes();
81
+}
82
+
83
+
84
+function toggleInherit(id)
85
+{
86
+  var rows = $('tr.inherit.'+id);
87
+  var img = $('tr.inherit_header.'+id+' img');
88
+  var src = $(img).attr('src');
89
+  if (rows.filter(':first').is(':visible')===true) {
90
+    rows.css('display','none');
91
+    $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
92
+  } else {
93
+    rows.css('display','table-row'); // using show() causes jump in firefox
94
+    $(img).attr('src',src.substring(0,src.length-10)+'open.png');
95
+  }
96
+}
97
+

+ 102
- 0
doc/en/html/files.html Ver arquivo

@@ -0,0 +1,102 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li class="current"><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">File List</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
88
+<table class="directory">
89
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="bird_8h_source.html"><span class="icondoc"></span></a><b>bird.h</b></td><td class="desc"></td></tr>
90
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="main_8cpp.html" target="_self">main.cpp</a></td><td class="desc"></td></tr>
91
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="mainwindow_8h_source.html"><span class="icondoc"></span></a><b>mainwindow.h</b></td><td class="desc"></td></tr>
92
+</table>
93
+</div><!-- directory -->
94
+</div><!-- contents -->
95
+<!-- start footer part -->
96
+<hr class="footer"/><address class="footer"><small>
97
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
98
+<img class="footer" src="doxygen.png" alt="doxygen"/>
99
+</a> 1.8.9.1
100
+</small></address>
101
+</body>
102
+</html>

BIN
doc/en/html/folderclosed.png Ver arquivo


BIN
doc/en/html/folderopen.png Ver arquivo


+ 173
- 0
doc/en/html/functions.html Ver arquivo

@@ -0,0 +1,173 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li class="current"><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+      <li><a href="functions_enum.html"><span>Enumerations</span></a></li>
75
+      <li><a href="functions_eval.html"><span>Enumerator</span></a></li>
76
+    </ul>
77
+  </div>
78
+</div><!-- top -->
79
+<!-- window showing the filter options -->
80
+<div id="MSearchSelectWindow"
81
+     onmouseover="return searchBox.OnSearchSelectShow()"
82
+     onmouseout="return searchBox.OnSearchSelectHide()"
83
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
84
+</div>
85
+
86
+<!-- iframe showing the search results (closed by default) -->
87
+<div id="MSearchResultsWindow">
88
+<iframe src="javascript:void(0)" frameborder="0" 
89
+        name="MSearchResults" id="MSearchResults">
90
+</iframe>
91
+</div>
92
+
93
+<div class="contents">
94
+<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul>
95
+<li>addBird()
96
+: <a class="el" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">MainWindow</a>
97
+</li>
98
+<li>ANGRY
99
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">Bird</a>
100
+</li>
101
+<li>Bird()
102
+: <a class="el" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a>
103
+</li>
104
+<li>BUSHY
105
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">Bird</a>
106
+</li>
107
+<li>color
108
+: <a class="el" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">Bird</a>
109
+</li>
110
+<li>eColor
111
+: <a class="el" href="class_bird.html#a3a2f86b733b043678c46554543689a11">Bird</a>
112
+</li>
113
+<li>eyeBrow
114
+: <a class="el" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">Bird</a>
115
+</li>
116
+<li>EyeBrowType
117
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">Bird</a>
118
+</li>
119
+<li>getColor()
120
+: <a class="el" href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">Bird</a>
121
+</li>
122
+<li>getEyeColor()
123
+: <a class="el" href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">Bird</a>
124
+</li>
125
+<li>getFaceColor()
126
+: <a class="el" href="class_bird.html#a41a64913760b45a1c515047878d92583">Bird</a>
127
+</li>
128
+<li>getSize()
129
+: <a class="el" href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">Bird</a>
130
+</li>
131
+<li>MainWindow()
132
+: <a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>
133
+</li>
134
+<li>paintEvent()
135
+: <a class="el" href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">Bird</a>
136
+</li>
137
+<li>randInt()
138
+: <a class="el" href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">Bird</a>
139
+</li>
140
+<li>setEyebrow()
141
+: <a class="el" href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">Bird</a>
142
+</li>
143
+<li>setEyeColor()
144
+: <a class="el" href="class_bird.html#a835df93d19d5467ae4380273619d39e5">Bird</a>
145
+</li>
146
+<li>setFaceColor()
147
+: <a class="el" href="class_bird.html#a0800cd1d6974f949af715da44eec9476">Bird</a>
148
+</li>
149
+<li>setSize()
150
+: <a class="el" href="class_bird.html#afe637db83f012091302bc04d29a5d1be">Bird</a>
151
+</li>
152
+<li>size
153
+: <a class="el" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">Bird</a>
154
+</li>
155
+<li>UNI
156
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">Bird</a>
157
+</li>
158
+<li>UPSET
159
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">Bird</a>
160
+</li>
161
+<li>~MainWindow()
162
+: <a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow</a>
163
+</li>
164
+</ul>
165
+</div><!-- contents -->
166
+<!-- start footer part -->
167
+<hr class="footer"/><address class="footer"><small>
168
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
169
+<img class="footer" src="doxygen.png" alt="doxygen"/>
170
+</a> 1.8.9.1
171
+</small></address>
172
+</body>
173
+</html>

+ 107
- 0
doc/en/html/functions_enum.html Ver arquivo

@@ -0,0 +1,107 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Enumerations</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+      <li class="current"><a href="functions_enum.html"><span>Enumerations</span></a></li>
75
+      <li><a href="functions_eval.html"><span>Enumerator</span></a></li>
76
+    </ul>
77
+  </div>
78
+</div><!-- top -->
79
+<!-- window showing the filter options -->
80
+<div id="MSearchSelectWindow"
81
+     onmouseover="return searchBox.OnSearchSelectShow()"
82
+     onmouseout="return searchBox.OnSearchSelectHide()"
83
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
84
+</div>
85
+
86
+<!-- iframe showing the search results (closed by default) -->
87
+<div id="MSearchResultsWindow">
88
+<iframe src="javascript:void(0)" frameborder="0" 
89
+        name="MSearchResults" id="MSearchResults">
90
+</iframe>
91
+</div>
92
+
93
+<div class="contents">
94
+&#160;<ul>
95
+<li>EyeBrowType
96
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec">Bird</a>
97
+</li>
98
+</ul>
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
103
+<img class="footer" src="doxygen.png" alt="doxygen"/>
104
+</a> 1.8.9.1
105
+</small></address>
106
+</body>
107
+</html>

+ 116
- 0
doc/en/html/functions_eval.html Ver arquivo

@@ -0,0 +1,116 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Enumerator</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+      <li><a href="functions_enum.html"><span>Enumerations</span></a></li>
75
+      <li class="current"><a href="functions_eval.html"><span>Enumerator</span></a></li>
76
+    </ul>
77
+  </div>
78
+</div><!-- top -->
79
+<!-- window showing the filter options -->
80
+<div id="MSearchSelectWindow"
81
+     onmouseover="return searchBox.OnSearchSelectShow()"
82
+     onmouseout="return searchBox.OnSearchSelectHide()"
83
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
84
+</div>
85
+
86
+<!-- iframe showing the search results (closed by default) -->
87
+<div id="MSearchResultsWindow">
88
+<iframe src="javascript:void(0)" frameborder="0" 
89
+        name="MSearchResults" id="MSearchResults">
90
+</iframe>
91
+</div>
92
+
93
+<div class="contents">
94
+&#160;<ul>
95
+<li>ANGRY
96
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070">Bird</a>
97
+</li>
98
+<li>BUSHY
99
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008">Bird</a>
100
+</li>
101
+<li>UNI
102
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1">Bird</a>
103
+</li>
104
+<li>UPSET
105
+: <a class="el" href="class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049">Bird</a>
106
+</li>
107
+</ul>
108
+</div><!-- contents -->
109
+<!-- start footer part -->
110
+<hr class="footer"/><address class="footer"><small>
111
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
112
+<img class="footer" src="doxygen.png" alt="doxygen"/>
113
+</a> 1.8.9.1
114
+</small></address>
115
+</body>
116
+</html>

+ 146
- 0
doc/en/html/functions_func.html Ver arquivo

@@ -0,0 +1,146 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Functions</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li class="current"><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
74
+      <li><a href="functions_enum.html"><span>Enumerations</span></a></li>
75
+      <li><a href="functions_eval.html"><span>Enumerator</span></a></li>
76
+    </ul>
77
+  </div>
78
+</div><!-- top -->
79
+<!-- window showing the filter options -->
80
+<div id="MSearchSelectWindow"
81
+     onmouseover="return searchBox.OnSearchSelectShow()"
82
+     onmouseout="return searchBox.OnSearchSelectHide()"
83
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
84
+</div>
85
+
86
+<!-- iframe showing the search results (closed by default) -->
87
+<div id="MSearchResultsWindow">
88
+<iframe src="javascript:void(0)" frameborder="0" 
89
+        name="MSearchResults" id="MSearchResults">
90
+</iframe>
91
+</div>
92
+
93
+<div class="contents">
94
+&#160;<ul>
95
+<li>addBird()
96
+: <a class="el" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">MainWindow</a>
97
+</li>
98
+<li>Bird()
99
+: <a class="el" href="class_bird.html#abfe484323ac9e48a6371eef4de8538fe">Bird</a>
100
+</li>
101
+<li>getColor()
102
+: <a class="el" href="class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e">Bird</a>
103
+</li>
104
+<li>getEyeColor()
105
+: <a class="el" href="class_bird.html#a9ca7641056d08c5f73263d2379ac47e0">Bird</a>
106
+</li>
107
+<li>getFaceColor()
108
+: <a class="el" href="class_bird.html#a41a64913760b45a1c515047878d92583">Bird</a>
109
+</li>
110
+<li>getSize()
111
+: <a class="el" href="class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a">Bird</a>
112
+</li>
113
+<li>MainWindow()
114
+: <a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>
115
+</li>
116
+<li>paintEvent()
117
+: <a class="el" href="class_bird.html#ae457dbd329c0de2173decbfa1296daa6">Bird</a>
118
+</li>
119
+<li>randInt()
120
+: <a class="el" href="class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7">Bird</a>
121
+</li>
122
+<li>setEyebrow()
123
+: <a class="el" href="class_bird.html#a631b29bf1daab6e7d029df40664a0604">Bird</a>
124
+</li>
125
+<li>setEyeColor()
126
+: <a class="el" href="class_bird.html#a835df93d19d5467ae4380273619d39e5">Bird</a>
127
+</li>
128
+<li>setFaceColor()
129
+: <a class="el" href="class_bird.html#a0800cd1d6974f949af715da44eec9476">Bird</a>
130
+</li>
131
+<li>setSize()
132
+: <a class="el" href="class_bird.html#afe637db83f012091302bc04d29a5d1be">Bird</a>
133
+</li>
134
+<li>~MainWindow()
135
+: <a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow</a>
136
+</li>
137
+</ul>
138
+</div><!-- contents -->
139
+<!-- start footer part -->
140
+<hr class="footer"/><address class="footer"><small>
141
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
142
+<img class="footer" src="doxygen.png" alt="doxygen"/>
143
+</a> 1.8.9.1
144
+</small></address>
145
+</body>
146
+</html>

+ 116
- 0
doc/en/html/functions_vars.html Ver arquivo

@@ -0,0 +1,116 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Variables</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+  <div id="navrow3" class="tabs2">
70
+    <ul class="tablist">
71
+      <li><a href="functions.html"><span>All</span></a></li>
72
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
73
+      <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
74
+      <li><a href="functions_enum.html"><span>Enumerations</span></a></li>
75
+      <li><a href="functions_eval.html"><span>Enumerator</span></a></li>
76
+    </ul>
77
+  </div>
78
+</div><!-- top -->
79
+<!-- window showing the filter options -->
80
+<div id="MSearchSelectWindow"
81
+     onmouseover="return searchBox.OnSearchSelectShow()"
82
+     onmouseout="return searchBox.OnSearchSelectHide()"
83
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
84
+</div>
85
+
86
+<!-- iframe showing the search results (closed by default) -->
87
+<div id="MSearchResultsWindow">
88
+<iframe src="javascript:void(0)" frameborder="0" 
89
+        name="MSearchResults" id="MSearchResults">
90
+</iframe>
91
+</div>
92
+
93
+<div class="contents">
94
+&#160;<ul>
95
+<li>color
96
+: <a class="el" href="class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba">Bird</a>
97
+</li>
98
+<li>eColor
99
+: <a class="el" href="class_bird.html#a3a2f86b733b043678c46554543689a11">Bird</a>
100
+</li>
101
+<li>eyeBrow
102
+: <a class="el" href="class_bird.html#a9ec579543e7139067b28fa07d6121c57">Bird</a>
103
+</li>
104
+<li>size
105
+: <a class="el" href="class_bird.html#aa8e23a86d722c6f81f969c556cef0342">Bird</a>
106
+</li>
107
+</ul>
108
+</div><!-- contents -->
109
+<!-- start footer part -->
110
+<hr class="footer"/><address class="footer"><small>
111
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
112
+<img class="footer" src="doxygen.png" alt="doxygen"/>
113
+</a> 1.8.9.1
114
+</small></address>
115
+</body>
116
+</html>

+ 102
- 0
doc/en/html/globals.html Ver arquivo

@@ -0,0 +1,102 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li class="current"><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+  <div id="navrow3" class="tabs2">
68
+    <ul class="tablist">
69
+      <li class="current"><a href="globals.html"><span>All</span></a></li>
70
+      <li><a href="globals_func.html"><span>Functions</span></a></li>
71
+    </ul>
72
+  </div>
73
+</div><!-- top -->
74
+<!-- window showing the filter options -->
75
+<div id="MSearchSelectWindow"
76
+     onmouseover="return searchBox.OnSearchSelectShow()"
77
+     onmouseout="return searchBox.OnSearchSelectHide()"
78
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
79
+</div>
80
+
81
+<!-- iframe showing the search results (closed by default) -->
82
+<div id="MSearchResultsWindow">
83
+<iframe src="javascript:void(0)" frameborder="0" 
84
+        name="MSearchResults" id="MSearchResults">
85
+</iframe>
86
+</div>
87
+
88
+<div class="contents">
89
+<div class="textblock">Here is a list of all documented file members with links to the documentation:</div><ul>
90
+<li>birth()
91
+: <a class="el" href="main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9">main.cpp</a>
92
+</li>
93
+</ul>
94
+</div><!-- contents -->
95
+<!-- start footer part -->
96
+<hr class="footer"/><address class="footer"><small>
97
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
98
+<img class="footer" src="doxygen.png" alt="doxygen"/>
99
+</a> 1.8.9.1
100
+</small></address>
101
+</body>
102
+</html>

+ 102
- 0
doc/en/html/globals_func.html Ver arquivo

@@ -0,0 +1,102 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li class="current"><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+  <div id="navrow3" class="tabs2">
68
+    <ul class="tablist">
69
+      <li><a href="globals.html"><span>All</span></a></li>
70
+      <li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
71
+    </ul>
72
+  </div>
73
+</div><!-- top -->
74
+<!-- window showing the filter options -->
75
+<div id="MSearchSelectWindow"
76
+     onmouseover="return searchBox.OnSearchSelectShow()"
77
+     onmouseout="return searchBox.OnSearchSelectHide()"
78
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
79
+</div>
80
+
81
+<!-- iframe showing the search results (closed by default) -->
82
+<div id="MSearchResultsWindow">
83
+<iframe src="javascript:void(0)" frameborder="0" 
84
+        name="MSearchResults" id="MSearchResults">
85
+</iframe>
86
+</div>
87
+
88
+<div class="contents">
89
+&#160;<ul>
90
+<li>birth()
91
+: <a class="el" href="main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9">main.cpp</a>
92
+</li>
93
+</ul>
94
+</div><!-- contents -->
95
+<!-- start footer part -->
96
+<hr class="footer"/><address class="footer"><small>
97
+Generated on Fri Jun 5 2015 15:18:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
98
+<img class="footer" src="doxygen.png" alt="doxygen"/>
99
+</a> 1.8.9.1
100
+</small></address>
101
+</body>
102
+</html>

+ 105
- 0
doc/en/html/hierarchy.html Ver arquivo

@@ -0,0 +1,105 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Hierarchy</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li class="current"><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+</div><!-- top -->
70
+<!-- window showing the filter options -->
71
+<div id="MSearchSelectWindow"
72
+     onmouseover="return searchBox.OnSearchSelectShow()"
73
+     onmouseout="return searchBox.OnSearchSelectHide()"
74
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+</div>
76
+
77
+<!-- iframe showing the search results (closed by default) -->
78
+<div id="MSearchResultsWindow">
79
+<iframe src="javascript:void(0)" frameborder="0" 
80
+        name="MSearchResults" id="MSearchResults">
81
+</iframe>
82
+</div>
83
+
84
+<div class="header">
85
+  <div class="headertitle">
86
+<div class="title">Class Hierarchy</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock">This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory">
90
+<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
91
+<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>QMainWindow</b></td><td class="desc"></td></tr>
92
+<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_window.html" target="_self">MainWindow</a></td><td class="desc"></td></tr>
93
+<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><b>QWidget</b></td><td class="desc"></td></tr>
94
+<tr id="row_1_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_bird.html" target="_self">Bird</a></td><td class="desc"></td></tr>
95
+</table>
96
+</div><!-- directory -->
97
+</div><!-- contents -->
98
+<!-- start footer part -->
99
+<hr class="footer"/><address class="footer"><small>
100
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
101
+<img class="footer" src="doxygen.png" alt="doxygen"/>
102
+</a> 1.8.9.1
103
+</small></address>
104
+</body>
105
+</html>

+ 89
- 0
doc/en/html/index.html Ver arquivo

@@ -0,0 +1,89 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Main Page</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+</div><!-- top -->
62
+<!-- window showing the filter options -->
63
+<div id="MSearchSelectWindow"
64
+     onmouseover="return searchBox.OnSearchSelectShow()"
65
+     onmouseout="return searchBox.OnSearchSelectHide()"
66
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
67
+</div>
68
+
69
+<!-- iframe showing the search results (closed by default) -->
70
+<div id="MSearchResultsWindow">
71
+<iframe src="javascript:void(0)" frameborder="0" 
72
+        name="MSearchResults" id="MSearchResults">
73
+</iframe>
74
+</div>
75
+
76
+<div class="header">
77
+  <div class="headertitle">
78
+<div class="title">My Project Documentation</div>  </div>
79
+</div><!--header-->
80
+<div class="contents">
81
+</div><!-- contents -->
82
+<!-- start footer part -->
83
+<hr class="footer"/><address class="footer"><small>
84
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
85
+<img class="footer" src="doxygen.png" alt="doxygen"/>
86
+</a> 1.8.9.1
87
+</small></address>
88
+</body>
89
+</html>

+ 68
- 0
doc/en/html/jquery.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 174
- 0
doc/en/html/main_8cpp.html Ver arquivo

@@ -0,0 +1,174 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: main.cpp File Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+</div><!-- top -->
82
+<div class="header">
83
+  <div class="summary">
84
+<a href="#func-members">Functions</a>  </div>
85
+  <div class="headertitle">
86
+<div class="title">main.cpp File Reference</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock"><code>#include &lt;QApplication&gt;</code><br />
90
+<code>#include &quot;mainwindow.h&quot;</code><br />
91
+<code>#include &quot;bird.h&quot;</code><br />
92
+<code>#include &lt;cstdlib&gt;</code><br />
93
+<code>#include &lt;time.h&gt;</code><br />
94
+<code>#include &lt;QTimer&gt;</code><br />
95
+<code>#include &lt;QObject&gt;</code><br />
96
+<code>#include &lt;QDebug&gt;</code><br />
97
+<code>#include &lt;QTime&gt;</code><br />
98
+<code>#include &lt;QtMultimedia/QSound&gt;</code><br />
99
+</div><table class="memberdecls">
100
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
101
+Functions</h2></td></tr>
102
+<tr class="memitem:a0562ff282c6bf5401ae3e5278f891953"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0562ff282c6bf5401ae3e5278f891953"></a>
103
+void&#160;</td><td class="memItemRight" valign="bottom"><b>FilterBirds</b> (<a class="el" href="class_bird.html">Bird</a> birds[], int N)</td></tr>
104
+<tr class="separator:a0562ff282c6bf5401ae3e5278f891953"><td class="memSeparator" colspan="2">&#160;</td></tr>
105
+<tr class="memitem:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9">birth</a> (<a class="el" href="class_main_window.html">MainWindow</a> &amp;w, const <a class="el" href="class_bird.html">Bird</a> &amp;mom, const <a class="el" href="class_bird.html">Bird</a> &amp;dad, <a class="el" href="class_bird.html">Bird</a> &amp;child)</td></tr>
106
+<tr class="memdesc:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that given references to objects mom, dad and child, uses the DNA of the father and the mother to generate DNA of the child. This function is edited by the student.  <a href="#a3ddfcfeefb8fdb24bb5db043f09e72d9">More...</a><br /></td></tr>
107
+<tr class="separator:a3ddfcfeefb8fdb24bb5db043f09e72d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a>
109
+int&#160;</td><td class="memItemRight" valign="bottom"><b>main</b> (int argc, char *argv[])</td></tr>
110
+<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
111
+</table>
112
+<h2 class="groupheader">Function Documentation</h2>
113
+<a class="anchor" id="a3ddfcfeefb8fdb24bb5db043f09e72d9"></a>
114
+<div class="memitem">
115
+<div class="memproto">
116
+      <table class="memname">
117
+        <tr>
118
+          <td class="memname">void birth </td>
119
+          <td>(</td>
120
+          <td class="paramtype"><a class="el" href="class_main_window.html">MainWindow</a> &amp;&#160;</td>
121
+          <td class="paramname"><em>w</em>, </td>
122
+        </tr>
123
+        <tr>
124
+          <td class="paramkey"></td>
125
+          <td></td>
126
+          <td class="paramtype">const <a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
127
+          <td class="paramname"><em>mom</em>, </td>
128
+        </tr>
129
+        <tr>
130
+          <td class="paramkey"></td>
131
+          <td></td>
132
+          <td class="paramtype">const <a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
133
+          <td class="paramname"><em>dad</em>, </td>
134
+        </tr>
135
+        <tr>
136
+          <td class="paramkey"></td>
137
+          <td></td>
138
+          <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
139
+          <td class="paramname"><em>child</em>&#160;</td>
140
+        </tr>
141
+        <tr>
142
+          <td></td>
143
+          <td>)</td>
144
+          <td></td><td></td>
145
+        </tr>
146
+      </table>
147
+</div><div class="memdoc">
148
+
149
+<p>Function that given references to objects mom, dad and child, uses the DNA of the father and the mother to generate DNA of the child. This function is edited by the student. </p>
150
+<dl class="params"><dt>Parameters</dt><dd>
151
+  <table class="params">
152
+    <tr><td class="paramname">w</td><td>Reference to the main window </td></tr>
153
+    <tr><td class="paramname">mom</td><td>Reference to const object of type <a class="el" href="class_bird.html">Bird</a>. </td></tr>
154
+    <tr><td class="paramname">dad</td><td>Reference to const object of the <a class="el" href="class_bird.html">Bird</a>. </td></tr>
155
+    <tr><td class="paramname">child</td><td>Reference to object child that will be modified. ~Spanish Funcion que dado referencias a los objetos mom, dad, y child, usa el ADN de el padre (dad) y la madre (mom) para generar el ADN del nino (child). Esta funcion es editada por el estudiante. </td></tr>
156
+    <tr><td class="paramname">w</td><td>Referencia a la pantalla principal </td></tr>
157
+    <tr><td class="paramname">mom</td><td>Referencia al objeto constante de tipo <a class="el" href="class_bird.html">Bird</a>. </td></tr>
158
+    <tr><td class="paramname">dad</td><td>Referencia al objeto constante de tipo <a class="el" href="class_bird.html">Bird</a>. </td></tr>
159
+    <tr><td class="paramname">child</td><td>Referencia al objeto de tipo <a class="el" href="class_bird.html">Bird</a> a ser modificado. </td></tr>
160
+  </table>
161
+  </dd>
162
+</dl>
163
+
164
+</div>
165
+</div>
166
+</div><!-- contents -->
167
+<!-- start footer part -->
168
+<hr class="footer"/><address class="footer"><small>
169
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
170
+<img class="footer" src="doxygen.png" alt="doxygen"/>
171
+</a> 1.8.9.1
172
+</small></address>
173
+</body>
174
+</html>

+ 132
- 0
doc/en/html/mainwindow_8h_source.html Ver arquivo

@@ -0,0 +1,132 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: mainwindow.h Source File</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">mainwindow.h</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef MAINWINDOW_H</span></div>
88
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define MAINWINDOW_H</span></div>
89
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
90
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QMainWindow&gt;</span></div>
91
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;bird.h&quot;</span></div>
92
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;QGraphicsScene&gt;</span></div>
93
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
94
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_ui.html">Ui</a> {</div>
95
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;    <span class="keyword">class </span><a class="code" href="class_main_window.html">MainWindow</a>;</div>
96
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;}</div>
97
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
98
+<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_main_window.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_main_window.html">MainWindow</a> : <span class="keyword">public</span> QMainWindow</div>
99
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div>
100
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    Q_OBJECT</div>
101
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
102
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">public</span>:</div>
103
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a>(QWidget *parent = 0);</div>
104
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
105
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a>();</div>
106
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div>
107
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">addBird</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <a class="code" href="class_bird.html">Bird</a> &amp;b) ;</div>
108
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
109
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
110
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">addBird</a>(<a class="code" href="class_bird.html">Bird</a> &amp;b) ;</div>
111
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
112
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">private</span>:</div>
113
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    Ui::MainWindow *ui;</div>
114
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    QGraphicsScene *scene ;</div>
115
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;};</div>
116
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
117
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#endif // MAINWINDOW_H</span></div>
118
+<div class="ttc" id="namespace_ui_html"><div class="ttname"><a href="namespace_ui.html">Ui</a></div><div class="ttdef"><b>Definition:</b> mainwindow.h:8</div></div>
119
+<div class="ttc" id="class_main_window_html_ae98d00a93bc118200eeef9f9bba1dba7"><div class="ttname"><a href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">MainWindow::~MainWindow</a></div><div class="ttdeci">~MainWindow()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:40</div></div>
120
+<div class="ttc" id="class_main_window_html_ab23dfe8c817b34fc7e0e2a6f8b915755"><div class="ttname"><a href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">MainWindow::addBird</a></div><div class="ttdeci">void addBird(int x, int y, Bird &amp;b)</div><div class="ttdoc">Paints a bird into the MainWindow. </div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:57</div></div>
121
+<div class="ttc" id="class_main_window_html_a8b244be8b7b7db1b08de2a2acb9409db"><div class="ttname"><a href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow::MainWindow</a></div><div class="ttdeci">MainWindow(QWidget *parent=0)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> mainwindow.cpp:17</div></div>
122
+<div class="ttc" id="class_main_window_html"><div class="ttname"><a href="class_main_window.html">MainWindow</a></div><div class="ttdef"><b>Definition:</b> mainwindow.h:12</div></div>
123
+<div class="ttc" id="class_bird_html"><div class="ttname"><a href="class_bird.html">Bird</a></div><div class="ttdef"><b>Definition:</b> bird.h:16</div></div>
124
+</div><!-- fragment --></div><!-- contents -->
125
+<!-- start footer part -->
126
+<hr class="footer"/><address class="footer"><small>
127
+Generated on Fri Jun 5 2015 15:18:13 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
128
+<img class="footer" src="doxygen.png" alt="doxygen"/>
129
+</a> 1.8.9.1
130
+</small></address>
131
+</body>
132
+</html>

BIN
doc/en/html/nav_f.png Ver arquivo


BIN
doc/en/html/nav_g.png Ver arquivo


BIN
doc/en/html/nav_h.png Ver arquivo


BIN
doc/en/html/open.png Ver arquivo


+ 26
- 0
doc/en/html/search/all_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_0.js Ver arquivo

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['addbird',['addBird',['../class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755',1,'MainWindow::addBird(int x, int y, Bird &amp;b)'],['../class_main_window.html#a94e721694e346cd56f20a16617befc66',1,'MainWindow::addBird(Bird &amp;b)']]],
4
+  ['angry',['ANGRY',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070',1,'Bird']]]
5
+];

+ 26
- 0
doc/en/html/search/all_1.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/all_1.js Ver arquivo

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['bird',['Bird',['../class_bird.html',1,'Bird'],['../class_bird.html#abfe484323ac9e48a6371eef4de8538fe',1,'Bird::Bird(QWidget *parent=0)'],['../class_bird.html#aa9728cc9ffc34f902140c38ba732f6cc',1,'Bird::Bird(int, EyeBrowType, QString, QString, QWidget *parent=0)']]],
4
+  ['birth',['birth',['../main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9',1,'main.cpp']]],
5
+  ['bushy',['BUSHY',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008',1,'Bird']]]
6
+];

+ 26
- 0
doc/en/html/search/all_2.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_2.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['color',['color',['../class_bird.html#a53ffc41e40cf2c8c2ea71ffbb97e9dba',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/all_3.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 6
- 0
doc/en/html/search/all_3.js Ver arquivo

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['ecolor',['eColor',['../class_bird.html#a3a2f86b733b043678c46554543689a11',1,'Bird']]],
4
+  ['eyebrow',['eyeBrow',['../class_bird.html#a9ec579543e7139067b28fa07d6121c57',1,'Bird']]],
5
+  ['eyebrowtype',['EyeBrowType',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec',1,'Bird']]]
6
+];

+ 26
- 0
doc/en/html/search/all_4.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 7
- 0
doc/en/html/search/all_4.js Ver arquivo

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getcolor',['getColor',['../class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e',1,'Bird']]],
4
+  ['geteyecolor',['getEyeColor',['../class_bird.html#a9ca7641056d08c5f73263d2379ac47e0',1,'Bird']]],
5
+  ['getfacecolor',['getFaceColor',['../class_bird.html#a41a64913760b45a1c515047878d92583',1,'Bird']]],
6
+  ['getsize',['getSize',['../class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a',1,'Bird']]]
7
+];

+ 26
- 0
doc/en/html/search/all_5.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_5.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_5.js Ver arquivo

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['main_2ecpp',['main.cpp',['../main_8cpp.html',1,'']]],
4
+  ['mainwindow',['MainWindow',['../class_main_window.html',1,'MainWindow'],['../class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db',1,'MainWindow::MainWindow()']]]
5
+];

+ 26
- 0
doc/en/html/search/all_6.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_6.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_6.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_bird.html#ae457dbd329c0de2173decbfa1296daa6',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/all_7.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_7.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_7.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['randint',['randInt',['../class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/all_8.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_8.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 8
- 0
doc/en/html/search/all_8.js Ver arquivo

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['seteyebrow',['setEyebrow',['../class_bird.html#a631b29bf1daab6e7d029df40664a0604',1,'Bird']]],
4
+  ['seteyecolor',['setEyeColor',['../class_bird.html#a835df93d19d5467ae4380273619d39e5',1,'Bird']]],
5
+  ['setfacecolor',['setFaceColor',['../class_bird.html#a0800cd1d6974f949af715da44eec9476',1,'Bird']]],
6
+  ['setsize',['setSize',['../class_bird.html#afe637db83f012091302bc04d29a5d1be',1,'Bird']]],
7
+  ['size',['size',['../class_bird.html#aa8e23a86d722c6f81f969c556cef0342',1,'Bird']]]
8
+];

+ 26
- 0
doc/en/html/search/all_9.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_9.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_9.js Ver arquivo

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['uni',['UNI',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1',1,'Bird']]],
4
+  ['upset',['UPSET',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049',1,'Bird']]]
5
+];

+ 26
- 0
doc/en/html/search/all_a.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_a.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_a.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7emainwindow',['~MainWindow',['../class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/classes_0.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['bird',['Bird',['../class_bird.html',1,'']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_1.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/classes_1.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['mainwindow',['MainWindow',['../class_main_window.html',1,'']]]
4
+];

BIN
doc/en/html/search/close.png Ver arquivo


+ 26
- 0
doc/en/html/search/enums_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="enums_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/enums_0.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['eyebrowtype',['EyeBrowType',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516ec',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/enumvalues_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="enumvalues_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/enumvalues_0.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['angry',['ANGRY',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca24536e544c195223cacd716d413a8070',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/enumvalues_1.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="enumvalues_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/enumvalues_1.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['bushy',['BUSHY',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca8e3136f10413edb87bd280f4a5c15008',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/enumvalues_2.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="enumvalues_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/enumvalues_2.js Ver arquivo

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['uni',['UNI',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516ecaf9935ec07fd09a4b397eea6c57a102e1',1,'Bird']]],
4
+  ['upset',['UPSET',['../class_bird.html#a1e608d95cce3b3c7b1497d86b37516eca670f5ceeff9e3e634754d49e77cdc049',1,'Bird']]]
5
+];

+ 26
- 0
doc/en/html/search/files_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="files_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/files_0.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['main_2ecpp',['main.cpp',['../main_8cpp.html',1,'']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_0.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_0.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['addbird',['addBird',['../class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755',1,'MainWindow::addBird(int x, int y, Bird &amp;b)'],['../class_main_window.html#a94e721694e346cd56f20a16617befc66',1,'MainWindow::addBird(Bird &amp;b)']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_1.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/functions_1.js Ver arquivo

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['bird',['Bird',['../class_bird.html#abfe484323ac9e48a6371eef4de8538fe',1,'Bird::Bird(QWidget *parent=0)'],['../class_bird.html#aa9728cc9ffc34f902140c38ba732f6cc',1,'Bird::Bird(int, EyeBrowType, QString, QString, QWidget *parent=0)']]],
4
+  ['birth',['birth',['../main_8cpp.html#a3ddfcfeefb8fdb24bb5db043f09e72d9',1,'main.cpp']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_2.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 7
- 0
doc/en/html/search/functions_2.js Ver arquivo

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getcolor',['getColor',['../class_bird.html#a9e62ffa00de025d9d4b003e302c70e0e',1,'Bird']]],
4
+  ['geteyecolor',['getEyeColor',['../class_bird.html#a9ca7641056d08c5f73263d2379ac47e0',1,'Bird']]],
5
+  ['getfacecolor',['getFaceColor',['../class_bird.html#a41a64913760b45a1c515047878d92583',1,'Bird']]],
6
+  ['getsize',['getSize',['../class_bird.html#a48ac642e41fd1bd99ce3915c14d4bb4a',1,'Bird']]]
7
+];

+ 26
- 0
doc/en/html/search/functions_3.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_3.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['mainwindow',['MainWindow',['../class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db',1,'MainWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_4.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_4.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_bird.html#ae457dbd329c0de2173decbfa1296daa6',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_5.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_5.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_5.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['randint',['randInt',['../class_bird.html#a8a6fa1980da30e3bab3e2d051ce9d2f7',1,'Bird']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_6.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_6.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 7
- 0
doc/en/html/search/functions_6.js Ver arquivo

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['seteyebrow',['setEyebrow',['../class_bird.html#a631b29bf1daab6e7d029df40664a0604',1,'Bird']]],
4
+  ['seteyecolor',['setEyeColor',['../class_bird.html#a835df93d19d5467ae4380273619d39e5',1,'Bird']]],
5
+  ['setfacecolor',['setFaceColor',['../class_bird.html#a0800cd1d6974f949af715da44eec9476',1,'Bird']]],
6
+  ['setsize',['setSize',['../class_bird.html#afe637db83f012091302bc04d29a5d1be',1,'Bird']]]
7
+];

+ 26
- 0
doc/en/html/search/functions_7.html Ver arquivo

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_7.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_7.js Ver arquivo

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7emainwindow',['~MainWindow',['../class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7',1,'MainWindow']]]
4
+];

BIN
doc/en/html/search/mag_sel.png Ver arquivo


+ 12
- 0
doc/en/html/search/nomatches.html Ver arquivo

@@ -0,0 +1,12 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<link rel="stylesheet" type="text/css" href="search.css"/>
5
+<script type="text/javascript" src="search.js"></script>
6
+</head>
7
+<body class="SRPage">
8
+<div id="SRIndex">
9
+<div class="SRStatus" id="NoMatches">No Matches</div>
10
+</div>
11
+</body>
12
+</html>

+ 271
- 0
doc/en/html/search/search.css Ver arquivo

@@ -0,0 +1,271 @@
1
+/*---------------- Search Box */
2
+
3
+#FSearchBox {
4
+    float: left;
5
+}
6
+
7
+#MSearchBox {
8
+    white-space : nowrap;
9
+    position: absolute;
10
+    float: none;
11
+    display: inline;
12
+    margin-top: 8px;
13
+    right: 0px;
14
+    width: 170px;
15
+    z-index: 102;
16
+    background-color: white;
17
+}
18
+
19
+#MSearchBox .left
20
+{
21
+    display:block;
22
+    position:absolute;
23
+    left:10px;
24
+    width:20px;
25
+    height:19px;
26
+    background:url('search_l.png') no-repeat;
27
+    background-position:right;
28
+}
29
+
30
+#MSearchSelect {
31
+    display:block;
32
+    position:absolute;
33
+    width:20px;
34
+    height:19px;
35
+}
36
+
37
+.left #MSearchSelect {
38
+    left:4px;
39
+}
40
+
41
+.right #MSearchSelect {
42
+    right:5px;
43
+}
44
+
45
+#MSearchField {
46
+    display:block;
47
+    position:absolute;
48
+    height:19px;
49
+    background:url('search_m.png') repeat-x;
50
+    border:none;
51
+    width:111px;
52
+    margin-left:20px;
53
+    padding-left:4px;
54
+    color: #909090;
55
+    outline: none;
56
+    font: 9pt Arial, Verdana, sans-serif;
57
+}
58
+
59
+#FSearchBox #MSearchField {
60
+    margin-left:15px;
61
+}
62
+
63
+#MSearchBox .right {
64
+    display:block;
65
+    position:absolute;
66
+    right:10px;
67
+    top:0px;
68
+    width:20px;
69
+    height:19px;
70
+    background:url('search_r.png') no-repeat;
71
+    background-position:left;
72
+}
73
+
74
+#MSearchClose {
75
+    display: none;
76
+    position: absolute;
77
+    top: 4px;
78
+    background : none;
79
+    border: none;
80
+    margin: 0px 4px 0px 0px;
81
+    padding: 0px 0px;
82
+    outline: none;
83
+}
84
+
85
+.left #MSearchClose {
86
+    left: 6px;
87
+}
88
+
89
+.right #MSearchClose {
90
+    right: 2px;
91
+}
92
+
93
+.MSearchBoxActive #MSearchField {
94
+    color: #000000;
95
+}
96
+
97
+/*---------------- Search filter selection */
98
+
99
+#MSearchSelectWindow {
100
+    display: none;
101
+    position: absolute;
102
+    left: 0; top: 0;
103
+    border: 1px solid #90A5CE;
104
+    background-color: #F9FAFC;
105
+    z-index: 1;
106
+    padding-top: 4px;
107
+    padding-bottom: 4px;
108
+    -moz-border-radius: 4px;
109
+    -webkit-border-top-left-radius: 4px;
110
+    -webkit-border-top-right-radius: 4px;
111
+    -webkit-border-bottom-left-radius: 4px;
112
+    -webkit-border-bottom-right-radius: 4px;
113
+    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
114
+}
115
+
116
+.SelectItem {
117
+    font: 8pt Arial, Verdana, sans-serif;
118
+    padding-left:  2px;
119
+    padding-right: 12px;
120
+    border: 0px;
121
+}
122
+
123
+span.SelectionMark {
124
+    margin-right: 4px;
125
+    font-family: monospace;
126
+    outline-style: none;
127
+    text-decoration: none;
128
+}
129
+
130
+a.SelectItem {
131
+    display: block;
132
+    outline-style: none;
133
+    color: #000000; 
134
+    text-decoration: none;
135
+    padding-left:   6px;
136
+    padding-right: 12px;
137
+}
138
+
139
+a.SelectItem:focus,
140
+a.SelectItem:active {
141
+    color: #000000; 
142
+    outline-style: none;
143
+    text-decoration: none;
144
+}
145
+
146
+a.SelectItem:hover {
147
+    color: #FFFFFF;
148
+    background-color: #3D578C;
149
+    outline-style: none;
150
+    text-decoration: none;
151
+    cursor: pointer;
152
+    display: block;
153
+}
154
+
155
+/*---------------- Search results window */
156
+
157
+iframe#MSearchResults {
158
+    width: 60ex;
159
+    height: 15em;
160
+}
161
+
162
+#MSearchResultsWindow {
163
+    display: none;
164
+    position: absolute;
165
+    left: 0; top: 0;
166
+    border: 1px solid #000;
167
+    background-color: #EEF1F7;
168
+}
169
+
170
+/* ----------------------------------- */
171
+
172
+
173
+#SRIndex {
174
+    clear:both; 
175
+    padding-bottom: 15px;
176
+}
177
+
178
+.SREntry {
179
+    font-size: 10pt;
180
+    padding-left: 1ex;
181
+}
182
+
183
+.SRPage .SREntry {
184
+    font-size: 8pt;
185
+    padding: 1px 5px;
186
+}
187
+
188
+body.SRPage {
189
+    margin: 5px 2px;
190
+}
191
+
192
+.SRChildren {
193
+    padding-left: 3ex; padding-bottom: .5em 
194
+}
195
+
196
+.SRPage .SRChildren {
197
+    display: none;
198
+}
199
+
200
+.SRSymbol {
201
+    font-weight: bold; 
202
+    color: #425E97;
203
+    font-family: Arial, Verdana, sans-serif;
204
+    text-decoration: none;
205
+    outline: none;
206
+}
207
+
208
+a.SRScope {
209
+    display: block;
210
+    color: #425E97; 
211
+    font-family: Arial, Verdana, sans-serif;
212
+    text-decoration: none;
213
+    outline: none;
214
+}
215
+
216
+a.SRSymbol:focus, a.SRSymbol:active,
217
+a.SRScope:focus, a.SRScope:active {
218
+    text-decoration: underline;
219
+}
220
+
221
+span.SRScope {
222
+    padding-left: 4px;
223
+}
224
+
225
+.SRPage .SRStatus {
226
+    padding: 2px 5px;
227
+    font-size: 8pt;
228
+    font-style: italic;
229
+}
230
+
231
+.SRResult {
232
+    display: none;
233
+}
234
+
235
+DIV.searchresults {
236
+    margin-left: 10px;
237
+    margin-right: 10px;
238
+}
239
+
240
+/*---------------- External search page results */
241
+
242
+.searchresult {
243
+    background-color: #F0F3F8;
244
+}
245
+
246
+.pages b {
247
+   color: white;
248
+   padding: 5px 5px 3px 5px;
249
+   background-image: url("../tab_a.png");
250
+   background-repeat: repeat-x;
251
+   text-shadow: 0 1px 1px #000000;
252
+}
253
+
254
+.pages {
255
+    line-height: 17px;
256
+    margin-left: 4px;
257
+    text-decoration: none;
258
+}
259
+
260
+.hl {
261
+    font-weight: bold;
262
+}
263
+
264
+#searchresults {
265
+    margin-bottom: 20px;
266
+}
267
+
268
+.searchpages {
269
+    margin-top: 10px;
270
+}
271
+

+ 791
- 0
doc/en/html/search/search.js Ver arquivo

@@ -0,0 +1,791 @@
1
+function convertToId(search)
2
+{
3
+  var result = '';
4
+  for (i=0;i<search.length;i++)
5
+  {
6
+    var c = search.charAt(i);
7
+    var cn = c.charCodeAt(0);
8
+    if (c.match(/[a-z0-9\u0080-\uFFFF]/))
9
+    {
10
+      result+=c;
11
+    }
12
+    else if (cn<16)
13
+    {
14
+      result+="_0"+cn.toString(16);
15
+    }
16
+    else
17
+    {
18
+      result+="_"+cn.toString(16);
19
+    }
20
+  }
21
+  return result;
22
+}
23
+
24
+function getXPos(item)
25
+{
26
+  var x = 0;
27
+  if (item.offsetWidth)
28
+  {
29
+    while (item && item!=document.body)
30
+    {
31
+      x   += item.offsetLeft;
32
+      item = item.offsetParent;
33
+    }
34
+  }
35
+  return x;
36
+}
37
+
38
+function getYPos(item)
39
+{
40
+  var y = 0;
41
+  if (item.offsetWidth)
42
+  {
43
+     while (item && item!=document.body)
44
+     {
45
+       y   += item.offsetTop;
46
+       item = item.offsetParent;
47
+     }
48
+  }
49
+  return y;
50
+}
51
+
52
+/* A class handling everything associated with the search panel.
53
+
54
+   Parameters:
55
+   name - The name of the global variable that will be
56
+          storing this instance.  Is needed to be able to set timeouts.
57
+   resultPath - path to use for external files
58
+*/
59
+function SearchBox(name, resultsPath, inFrame, label)
60
+{
61
+  if (!name || !resultsPath) {  alert("Missing parameters to SearchBox."); }
62
+
63
+  // ---------- Instance variables
64
+  this.name                  = name;
65
+  this.resultsPath           = resultsPath;
66
+  this.keyTimeout            = 0;
67
+  this.keyTimeoutLength      = 500;
68
+  this.closeSelectionTimeout = 300;
69
+  this.lastSearchValue       = "";
70
+  this.lastResultsPage       = "";
71
+  this.hideTimeout           = 0;
72
+  this.searchIndex           = 0;
73
+  this.searchActive          = false;
74
+  this.insideFrame           = inFrame;
75
+  this.searchLabel           = label;
76
+
77
+  // ----------- DOM Elements
78
+
79
+  this.DOMSearchField = function()
80
+  {  return document.getElementById("MSearchField");  }
81
+
82
+  this.DOMSearchSelect = function()
83
+  {  return document.getElementById("MSearchSelect");  }
84
+
85
+  this.DOMSearchSelectWindow = function()
86
+  {  return document.getElementById("MSearchSelectWindow");  }
87
+
88
+  this.DOMPopupSearchResults = function()
89
+  {  return document.getElementById("MSearchResults");  }
90
+
91
+  this.DOMPopupSearchResultsWindow = function()
92
+  {  return document.getElementById("MSearchResultsWindow");  }
93
+
94
+  this.DOMSearchClose = function()
95
+  {  return document.getElementById("MSearchClose"); }
96
+
97
+  this.DOMSearchBox = function()
98
+  {  return document.getElementById("MSearchBox");  }
99
+
100
+  // ------------ Event Handlers
101
+
102
+  // Called when focus is added or removed from the search field.
103
+  this.OnSearchFieldFocus = function(isActive)
104
+  {
105
+    this.Activate(isActive);
106
+  }
107
+
108
+  this.OnSearchSelectShow = function()
109
+  {
110
+    var searchSelectWindow = this.DOMSearchSelectWindow();
111
+    var searchField        = this.DOMSearchSelect();
112
+
113
+    if (this.insideFrame)
114
+    {
115
+      var left = getXPos(searchField);
116
+      var top  = getYPos(searchField);
117
+      left += searchField.offsetWidth + 6;
118
+      top += searchField.offsetHeight;
119
+
120
+      // show search selection popup
121
+      searchSelectWindow.style.display='block';
122
+      left -= searchSelectWindow.offsetWidth;
123
+      searchSelectWindow.style.left =  left + 'px';
124
+      searchSelectWindow.style.top  =  top  + 'px';
125
+    }
126
+    else
127
+    {
128
+      var left = getXPos(searchField);
129
+      var top  = getYPos(searchField);
130
+      top += searchField.offsetHeight;
131
+
132
+      // show search selection popup
133
+      searchSelectWindow.style.display='block';
134
+      searchSelectWindow.style.left =  left + 'px';
135
+      searchSelectWindow.style.top  =  top  + 'px';
136
+    }
137
+
138
+    // stop selection hide timer
139
+    if (this.hideTimeout)
140
+    {
141
+      clearTimeout(this.hideTimeout);
142
+      this.hideTimeout=0;
143
+    }
144
+    return false; // to avoid "image drag" default event
145
+  }
146
+
147
+  this.OnSearchSelectHide = function()
148
+  {
149
+    this.hideTimeout = setTimeout(this.name +".CloseSelectionWindow()",
150
+                                  this.closeSelectionTimeout);
151
+  }
152
+
153
+  // Called when the content of the search field is changed.
154
+  this.OnSearchFieldChange = function(evt)
155
+  {
156
+    if (this.keyTimeout) // kill running timer
157
+    {
158
+      clearTimeout(this.keyTimeout);
159
+      this.keyTimeout = 0;
160
+    }
161
+
162
+    var e  = (evt) ? evt : window.event; // for IE
163
+    if (e.keyCode==40 || e.keyCode==13)
164
+    {
165
+      if (e.shiftKey==1)
166
+      {
167
+        this.OnSearchSelectShow();
168
+        var win=this.DOMSearchSelectWindow();
169
+        for (i=0;i<win.childNodes.length;i++)
170
+        {
171
+          var child = win.childNodes[i]; // get span within a
172
+          if (child.className=='SelectItem')
173
+          {
174
+            child.focus();
175
+            return;
176
+          }
177
+        }
178
+        return;
179
+      }
180
+      else if (window.frames.MSearchResults.searchResults)
181
+      {
182
+        var elem = window.frames.MSearchResults.searchResults.NavNext(0);
183
+        if (elem) elem.focus();
184
+      }
185
+    }
186
+    else if (e.keyCode==27) // Escape out of the search field
187
+    {
188
+      this.DOMSearchField().blur();
189
+      this.DOMPopupSearchResultsWindow().style.display = 'none';
190
+      this.DOMSearchClose().style.display = 'none';
191
+      this.lastSearchValue = '';
192
+      this.Activate(false);
193
+      return;
194
+    }
195
+
196
+    // strip whitespaces
197
+    var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
198
+
199
+    if (searchValue != this.lastSearchValue) // search value has changed
200
+    {
201
+      if (searchValue != "") // non-empty search
202
+      {
203
+        // set timer for search update
204
+        this.keyTimeout = setTimeout(this.name + '.Search()',
205
+                                     this.keyTimeoutLength);
206
+      }
207
+      else // empty search field
208
+      {
209
+        this.DOMPopupSearchResultsWindow().style.display = 'none';
210
+        this.DOMSearchClose().style.display = 'none';
211
+        this.lastSearchValue = '';
212
+      }
213
+    }
214
+  }
215
+
216
+  this.SelectItemCount = function(id)
217
+  {
218
+    var count=0;
219
+    var win=this.DOMSearchSelectWindow();
220
+    for (i=0;i<win.childNodes.length;i++)
221
+    {
222
+      var child = win.childNodes[i]; // get span within a
223
+      if (child.className=='SelectItem')
224
+      {
225
+        count++;
226
+      }
227
+    }
228
+    return count;
229
+  }
230
+
231
+  this.SelectItemSet = function(id)
232
+  {
233
+    var i,j=0;
234
+    var win=this.DOMSearchSelectWindow();
235
+    for (i=0;i<win.childNodes.length;i++)
236
+    {
237
+      var child = win.childNodes[i]; // get span within a
238
+      if (child.className=='SelectItem')
239
+      {
240
+        var node = child.firstChild;
241
+        if (j==id)
242
+        {
243
+          node.innerHTML='&#8226;';
244
+        }
245
+        else
246
+        {
247
+          node.innerHTML='&#160;';
248
+        }
249
+        j++;
250
+      }
251
+    }
252
+  }
253
+
254
+  // Called when an search filter selection is made.
255
+  // set item with index id as the active item
256
+  this.OnSelectItem = function(id)
257
+  {
258
+    this.searchIndex = id;
259
+    this.SelectItemSet(id);
260
+    var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
261
+    if (searchValue!="" && this.searchActive) // something was found -> do a search
262
+    {
263
+      this.Search();
264
+    }
265
+  }
266
+
267
+  this.OnSearchSelectKey = function(evt)
268
+  {
269
+    var e = (evt) ? evt : window.event; // for IE
270
+    if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
271
+    {
272
+      this.searchIndex++;
273
+      this.OnSelectItem(this.searchIndex);
274
+    }
275
+    else if (e.keyCode==38 && this.searchIndex>0) // Up
276
+    {
277
+      this.searchIndex--;
278
+      this.OnSelectItem(this.searchIndex);
279
+    }
280
+    else if (e.keyCode==13 || e.keyCode==27)
281
+    {
282
+      this.OnSelectItem(this.searchIndex);
283
+      this.CloseSelectionWindow();
284
+      this.DOMSearchField().focus();
285
+    }
286
+    return false;
287
+  }
288
+
289
+  // --------- Actions
290
+
291
+  // Closes the results window.
292
+  this.CloseResultsWindow = function()
293
+  {
294
+    this.DOMPopupSearchResultsWindow().style.display = 'none';
295
+    this.DOMSearchClose().style.display = 'none';
296
+    this.Activate(false);
297
+  }
298
+
299
+  this.CloseSelectionWindow = function()
300
+  {
301
+    this.DOMSearchSelectWindow().style.display = 'none';
302
+  }
303
+
304
+  // Performs a search.
305
+  this.Search = function()
306
+  {
307
+    this.keyTimeout = 0;
308
+
309
+    // strip leading whitespace
310
+    var searchValue = this.DOMSearchField().value.replace(/^ +/, "");
311
+
312
+    var code = searchValue.toLowerCase().charCodeAt(0);
313
+    var idxChar = searchValue.substr(0, 1).toLowerCase();
314
+    if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair
315
+    {
316
+      idxChar = searchValue.substr(0, 2);
317
+    }
318
+
319
+    var resultsPage;
320
+    var resultsPageWithSearch;
321
+    var hasResultsPage;
322
+
323
+    var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar);
324
+    if (idx!=-1)
325
+    {
326
+       var hexCode=idx.toString(16);
327
+       resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html';
328
+       resultsPageWithSearch = resultsPage+'?'+escape(searchValue);
329
+       hasResultsPage = true;
330
+    }
331
+    else // nothing available for this search term
332
+    {
333
+       resultsPage = this.resultsPath + '/nomatches.html';
334
+       resultsPageWithSearch = resultsPage;
335
+       hasResultsPage = false;
336
+    }
337
+
338
+    window.frames.MSearchResults.location = resultsPageWithSearch;
339
+    var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow();
340
+
341
+    if (domPopupSearchResultsWindow.style.display!='block')
342
+    {
343
+       var domSearchBox = this.DOMSearchBox();
344
+       this.DOMSearchClose().style.display = 'inline';
345
+       if (this.insideFrame)
346
+       {
347
+         var domPopupSearchResults = this.DOMPopupSearchResults();
348
+         domPopupSearchResultsWindow.style.position = 'relative';
349
+         domPopupSearchResultsWindow.style.display  = 'block';
350
+         var width = document.body.clientWidth - 8; // the -8 is for IE :-(
351
+         domPopupSearchResultsWindow.style.width    = width + 'px';
352
+         domPopupSearchResults.style.width          = width + 'px';
353
+       }
354
+       else
355
+       {
356
+         var domPopupSearchResults = this.DOMPopupSearchResults();
357
+         var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth;
358
+         var top  = getYPos(domSearchBox) + 20;  // domSearchBox.offsetHeight + 1;
359
+         domPopupSearchResultsWindow.style.display = 'block';
360
+         left -= domPopupSearchResults.offsetWidth;
361
+         domPopupSearchResultsWindow.style.top     = top  + 'px';
362
+         domPopupSearchResultsWindow.style.left    = left + 'px';
363
+       }
364
+    }
365
+
366
+    this.lastSearchValue = searchValue;
367
+    this.lastResultsPage = resultsPage;
368
+  }
369
+
370
+  // -------- Activation Functions
371
+
372
+  // Activates or deactivates the search panel, resetting things to
373
+  // their default values if necessary.
374
+  this.Activate = function(isActive)
375
+  {
376
+    if (isActive || // open it
377
+        this.DOMPopupSearchResultsWindow().style.display == 'block'
378
+       )
379
+    {
380
+      this.DOMSearchBox().className = 'MSearchBoxActive';
381
+
382
+      var searchField = this.DOMSearchField();
383
+
384
+      if (searchField.value == this.searchLabel) // clear "Search" term upon entry
385
+      {
386
+        searchField.value = '';
387
+        this.searchActive = true;
388
+      }
389
+    }
390
+    else if (!isActive) // directly remove the panel
391
+    {
392
+      this.DOMSearchBox().className = 'MSearchBoxInactive';
393
+      this.DOMSearchField().value   = this.searchLabel;
394
+      this.searchActive             = false;
395
+      this.lastSearchValue          = ''
396
+      this.lastResultsPage          = '';
397
+    }
398
+  }
399
+}
400
+
401
+// -----------------------------------------------------------------------
402
+
403
+// The class that handles everything on the search results page.
404
+function SearchResults(name)
405
+{
406
+    // The number of matches from the last run of <Search()>.
407
+    this.lastMatchCount = 0;
408
+    this.lastKey = 0;
409
+    this.repeatOn = false;
410
+
411
+    // Toggles the visibility of the passed element ID.
412
+    this.FindChildElement = function(id)
413
+    {
414
+      var parentElement = document.getElementById(id);
415
+      var element = parentElement.firstChild;
416
+
417
+      while (element && element!=parentElement)
418
+      {
419
+        if (element.nodeName == 'DIV' && element.className == 'SRChildren')
420
+        {
421
+          return element;
422
+        }
423
+
424
+        if (element.nodeName == 'DIV' && element.hasChildNodes())
425
+        {
426
+           element = element.firstChild;
427
+        }
428
+        else if (element.nextSibling)
429
+        {
430
+           element = element.nextSibling;
431
+        }
432
+        else
433
+        {
434
+          do
435
+          {
436
+            element = element.parentNode;
437
+          }
438
+          while (element && element!=parentElement && !element.nextSibling);
439
+
440
+          if (element && element!=parentElement)
441
+          {
442
+            element = element.nextSibling;
443
+          }
444
+        }
445
+      }
446
+    }
447
+
448
+    this.Toggle = function(id)
449
+    {
450
+      var element = this.FindChildElement(id);
451
+      if (element)
452
+      {
453
+        if (element.style.display == 'block')
454
+        {
455
+          element.style.display = 'none';
456
+        }
457
+        else
458
+        {
459
+          element.style.display = 'block';
460
+        }
461
+      }
462
+    }
463
+
464
+    // Searches for the passed string.  If there is no parameter,
465
+    // it takes it from the URL query.
466
+    //
467
+    // Always returns true, since other documents may try to call it
468
+    // and that may or may not be possible.
469
+    this.Search = function(search)
470
+    {
471
+      if (!search) // get search word from URL
472
+      {
473
+        search = window.location.search;
474
+        search = search.substring(1);  // Remove the leading '?'
475
+        search = unescape(search);
476
+      }
477
+
478
+      search = search.replace(/^ +/, ""); // strip leading spaces
479
+      search = search.replace(/ +$/, ""); // strip trailing spaces
480
+      search = search.toLowerCase();
481
+      search = convertToId(search);
482
+
483
+      var resultRows = document.getElementsByTagName("div");
484
+      var matches = 0;
485
+
486
+      var i = 0;
487
+      while (i < resultRows.length)
488
+      {
489
+        var row = resultRows.item(i);
490
+        if (row.className == "SRResult")
491
+        {
492
+          var rowMatchName = row.id.toLowerCase();
493
+          rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_'
494
+
495
+          if (search.length<=rowMatchName.length &&
496
+             rowMatchName.substr(0, search.length)==search)
497
+          {
498
+            row.style.display = 'block';
499
+            matches++;
500
+          }
501
+          else
502
+          {
503
+            row.style.display = 'none';
504
+          }
505
+        }
506
+        i++;
507
+      }
508
+      document.getElementById("Searching").style.display='none';
509
+      if (matches == 0) // no results
510
+      {
511
+        document.getElementById("NoMatches").style.display='block';
512
+      }
513
+      else // at least one result
514
+      {
515
+        document.getElementById("NoMatches").style.display='none';
516
+      }
517
+      this.lastMatchCount = matches;
518
+      return true;
519
+    }
520
+
521
+    // return the first item with index index or higher that is visible
522
+    this.NavNext = function(index)
523
+    {
524
+      var focusItem;
525
+      while (1)
526
+      {
527
+        var focusName = 'Item'+index;
528
+        focusItem = document.getElementById(focusName);
529
+        if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
530
+        {
531
+          break;
532
+        }
533
+        else if (!focusItem) // last element
534
+        {
535
+          break;
536
+        }
537
+        focusItem=null;
538
+        index++;
539
+      }
540
+      return focusItem;
541
+    }
542
+
543
+    this.NavPrev = function(index)
544
+    {
545
+      var focusItem;
546
+      while (1)
547
+      {
548
+        var focusName = 'Item'+index;
549
+        focusItem = document.getElementById(focusName);
550
+        if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
551
+        {
552
+          break;
553
+        }
554
+        else if (!focusItem) // last element
555
+        {
556
+          break;
557
+        }
558
+        focusItem=null;
559
+        index--;
560
+      }
561
+      return focusItem;
562
+    }
563
+
564
+    this.ProcessKeys = function(e)
565
+    {
566
+      if (e.type == "keydown")
567
+      {
568
+        this.repeatOn = false;
569
+        this.lastKey = e.keyCode;
570
+      }
571
+      else if (e.type == "keypress")
572
+      {
573
+        if (!this.repeatOn)
574
+        {
575
+          if (this.lastKey) this.repeatOn = true;
576
+          return false; // ignore first keypress after keydown
577
+        }
578
+      }
579
+      else if (e.type == "keyup")
580
+      {
581
+        this.lastKey = 0;
582
+        this.repeatOn = false;
583
+      }
584
+      return this.lastKey!=0;
585
+    }
586
+
587
+    this.Nav = function(evt,itemIndex)
588
+    {
589
+      var e  = (evt) ? evt : window.event; // for IE
590
+      if (e.keyCode==13) return true;
591
+      if (!this.ProcessKeys(e)) return false;
592
+
593
+      if (this.lastKey==38) // Up
594
+      {
595
+        var newIndex = itemIndex-1;
596
+        var focusItem = this.NavPrev(newIndex);
597
+        if (focusItem)
598
+        {
599
+          var child = this.FindChildElement(focusItem.parentNode.parentNode.id);
600
+          if (child && child.style.display == 'block') // children visible
601
+          {
602
+            var n=0;
603
+            var tmpElem;
604
+            while (1) // search for last child
605
+            {
606
+              tmpElem = document.getElementById('Item'+newIndex+'_c'+n);
607
+              if (tmpElem)
608
+              {
609
+                focusItem = tmpElem;
610
+              }
611
+              else // found it!
612
+              {
613
+                break;
614
+              }
615
+              n++;
616
+            }
617
+          }
618
+        }
619
+        if (focusItem)
620
+        {
621
+          focusItem.focus();
622
+        }
623
+        else // return focus to search field
624
+        {
625
+           parent.document.getElementById("MSearchField").focus();
626
+        }
627
+      }
628
+      else if (this.lastKey==40) // Down
629
+      {
630
+        var newIndex = itemIndex+1;
631
+        var focusItem;
632
+        var item = document.getElementById('Item'+itemIndex);
633
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
634
+        if (elem && elem.style.display == 'block') // children visible
635
+        {
636
+          focusItem = document.getElementById('Item'+itemIndex+'_c0');
637
+        }
638
+        if (!focusItem) focusItem = this.NavNext(newIndex);
639
+        if (focusItem)  focusItem.focus();
640
+      }
641
+      else if (this.lastKey==39) // Right
642
+      {
643
+        var item = document.getElementById('Item'+itemIndex);
644
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
645
+        if (elem) elem.style.display = 'block';
646
+      }
647
+      else if (this.lastKey==37) // Left
648
+      {
649
+        var item = document.getElementById('Item'+itemIndex);
650
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
651
+        if (elem) elem.style.display = 'none';
652
+      }
653
+      else if (this.lastKey==27) // Escape
654
+      {
655
+        parent.searchBox.CloseResultsWindow();
656
+        parent.document.getElementById("MSearchField").focus();
657
+      }
658
+      else if (this.lastKey==13) // Enter
659
+      {
660
+        return true;
661
+      }
662
+      return false;
663
+    }
664
+
665
+    this.NavChild = function(evt,itemIndex,childIndex)
666
+    {
667
+      var e  = (evt) ? evt : window.event; // for IE
668
+      if (e.keyCode==13) return true;
669
+      if (!this.ProcessKeys(e)) return false;
670
+
671
+      if (this.lastKey==38) // Up
672
+      {
673
+        if (childIndex>0)
674
+        {
675
+          var newIndex = childIndex-1;
676
+          document.getElementById('Item'+itemIndex+'_c'+newIndex).focus();
677
+        }
678
+        else // already at first child, jump to parent
679
+        {
680
+          document.getElementById('Item'+itemIndex).focus();
681
+        }
682
+      }
683
+      else if (this.lastKey==40) // Down
684
+      {
685
+        var newIndex = childIndex+1;
686
+        var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex);
687
+        if (!elem) // last child, jump to parent next parent
688
+        {
689
+          elem = this.NavNext(itemIndex+1);
690
+        }
691
+        if (elem)
692
+        {
693
+          elem.focus();
694
+        }
695
+      }
696
+      else if (this.lastKey==27) // Escape
697
+      {
698
+        parent.searchBox.CloseResultsWindow();
699
+        parent.document.getElementById("MSearchField").focus();
700
+      }
701
+      else if (this.lastKey==13) // Enter
702
+      {
703
+        return true;
704
+      }
705
+      return false;
706
+    }
707
+}
708
+
709
+function setKeyActions(elem,action)
710
+{
711
+  elem.setAttribute('onkeydown',action);
712
+  elem.setAttribute('onkeypress',action);
713
+  elem.setAttribute('onkeyup',action);
714
+}
715
+
716
+function setClassAttr(elem,attr)
717
+{
718
+  elem.setAttribute('class',attr);
719
+  elem.setAttribute('className',attr);
720
+}
721
+
722
+function createResults()
723
+{
724
+  var results = document.getElementById("SRResults");
725
+  for (var e=0; e<searchData.length; e++)
726
+  {
727
+    var id = searchData[e][0];
728
+    var srResult = document.createElement('div');
729
+    srResult.setAttribute('id','SR_'+id);
730
+    setClassAttr(srResult,'SRResult');
731
+    var srEntry = document.createElement('div');
732
+    setClassAttr(srEntry,'SREntry');
733
+    var srLink = document.createElement('a');
734
+    srLink.setAttribute('id','Item'+e);
735
+    setKeyActions(srLink,'return searchResults.Nav(event,'+e+')');
736
+    setClassAttr(srLink,'SRSymbol');
737
+    srLink.innerHTML = searchData[e][1][0];
738
+    srEntry.appendChild(srLink);
739
+    if (searchData[e][1].length==2) // single result
740
+    {
741
+      srLink.setAttribute('href',searchData[e][1][1][0]);
742
+      if (searchData[e][1][1][1])
743
+      {
744
+       srLink.setAttribute('target','_parent');
745
+      }
746
+      var srScope = document.createElement('span');
747
+      setClassAttr(srScope,'SRScope');
748
+      srScope.innerHTML = searchData[e][1][1][2];
749
+      srEntry.appendChild(srScope);
750
+    }
751
+    else // multiple results
752
+    {
753
+      srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")');
754
+      var srChildren = document.createElement('div');
755
+      setClassAttr(srChildren,'SRChildren');
756
+      for (var c=0; c<searchData[e][1].length-1; c++)
757
+      {
758
+        var srChild = document.createElement('a');
759
+        srChild.setAttribute('id','Item'+e+'_c'+c);
760
+        setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')');
761
+        setClassAttr(srChild,'SRScope');
762
+        srChild.setAttribute('href',searchData[e][1][c+1][0]);
763
+        if (searchData[e][1][c+1][1])
764
+        {
765
+         srChild.setAttribute('target','_parent');
766
+        }
767
+        srChild.innerHTML = searchData[e][1][c+1][2];
768
+        srChildren.appendChild(srChild);
769
+      }
770
+      srEntry.appendChild(srChildren);
771
+    }
772
+    srResult.appendChild(srEntry);
773
+    results.appendChild(srResult);
774
+  }
775
+}
776
+
777
+function init_search()
778
+{
779
+  var results = document.getElementById("MSearchSelectWindow");
780
+  for (var key in indexSectionLabels)
781
+  {
782
+    var link = document.createElement('a');
783
+    link.setAttribute('class','SelectItem');
784
+    link.setAttribute('onclick','searchBox.OnSelectItem('+key+')');
785
+    link.href='javascript:void(0)';
786
+    link.innerHTML='<span class="SelectionMark">&#160;</span>'+indexSectionLabels[key];
787
+    results.appendChild(link);
788
+  }
789
+  searchBox.OnSelectItem(0);
790
+}
791
+

+ 0
- 0
doc/en/html/search/search_l.png Ver arquivo


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff