Jose Ortiz 9 лет назад
Сommit
d6038c764c
100 измененных файлов: 6947 добавлений и 0 удалений
  1. 344
    0
      README.md
  2. 26
    0
      RecursiveShapes.pro
  3. 52
    0
      boxes.cpp
  4. 103
    0
      doc/en/html/annotated.html
  5. Двоичные данные
      doc/en/html/arrowdown.png
  6. Двоичные данные
      doc/en/html/arrowright.png
  7. Двоичные данные
      doc/en/html/bc_s.png
  8. Двоичные данные
      doc/en/html/bdwn.png
  9. 111
    0
      doc/en/html/class_drawing_window-members.html
  10. 527
    0
      doc/en/html/class_drawing_window.html
  11. Двоичные данные
      doc/en/html/class_drawing_window.png
  12. 117
    0
      doc/en/html/class_line-members.html
  13. 640
    0
      doc/en/html/class_line.html
  14. Двоичные данные
      doc/en/html/class_line.png
  15. 107
    0
      doc/en/html/classes.html
  16. Двоичные данные
      doc/en/html/closed.png
  17. Двоичные данные
      doc/en/html/doc.png
  18. 1449
    0
      doc/en/html/doxygen.css
  19. Двоичные данные
      doc/en/html/doxygen.png
  20. 140
    0
      doc/en/html/drawing_window_8h_source.html
  21. 97
    0
      doc/en/html/dynsections.js
  22. 100
    0
      doc/en/html/files.html
  23. Двоичные данные
      doc/en/html/folderclosed.png
  24. Двоичные данные
      doc/en/html/folderopen.png
  25. 169
    0
      doc/en/html/functions.html
  26. 151
    0
      doc/en/html/functions_func.html
  27. 120
    0
      doc/en/html/functions_vars.html
  28. 105
    0
      doc/en/html/hierarchy.html
  29. 89
    0
      doc/en/html/index.html
  30. 68
    0
      doc/en/html/jquery.js
  31. 158
    0
      doc/en/html/line_8h_source.html
  32. Двоичные данные
      doc/en/html/nav_f.png
  33. Двоичные данные
      doc/en/html/nav_g.png
  34. Двоичные данные
      doc/en/html/nav_h.png
  35. Двоичные данные
      doc/en/html/open.png
  36. 26
    0
      doc/en/html/search/all_0.html
  37. 5
    0
      doc/en/html/search/all_0.js
  38. 26
    0
      doc/en/html/search/all_1.html
  39. 5
    0
      doc/en/html/search/all_1.js
  40. 26
    0
      doc/en/html/search/all_2.html
  41. 4
    0
      doc/en/html/search/all_2.js
  42. 26
    0
      doc/en/html/search/all_3.html
  43. 7
    0
      doc/en/html/search/all_3.js
  44. 26
    0
      doc/en/html/search/all_4.html
  45. 4
    0
      doc/en/html/search/all_4.js
  46. 26
    0
      doc/en/html/search/all_5.html
  47. 6
    0
      doc/en/html/search/all_5.js
  48. 26
    0
      doc/en/html/search/all_6.html
  49. 8
    0
      doc/en/html/search/all_6.js
  50. 26
    0
      doc/en/html/search/all_7.html
  51. 5
    0
      doc/en/html/search/all_7.js
  52. 26
    0
      doc/en/html/search/all_8.html
  53. 5
    0
      doc/en/html/search/all_8.js
  54. 26
    0
      doc/en/html/search/classes_0.html
  55. 4
    0
      doc/en/html/search/classes_0.js
  56. 26
    0
      doc/en/html/search/classes_1.html
  57. 4
    0
      doc/en/html/search/classes_1.js
  58. Двоичные данные
      doc/en/html/search/close.png
  59. 26
    0
      doc/en/html/search/functions_0.html
  60. 5
    0
      doc/en/html/search/functions_0.js
  61. 26
    0
      doc/en/html/search/functions_1.html
  62. 5
    0
      doc/en/html/search/functions_1.js
  63. 26
    0
      doc/en/html/search/functions_2.html
  64. 4
    0
      doc/en/html/search/functions_2.js
  65. 26
    0
      doc/en/html/search/functions_3.html
  66. 7
    0
      doc/en/html/search/functions_3.js
  67. 26
    0
      doc/en/html/search/functions_4.html
  68. 4
    0
      doc/en/html/search/functions_4.js
  69. 26
    0
      doc/en/html/search/functions_5.html
  70. 4
    0
      doc/en/html/search/functions_5.js
  71. 26
    0
      doc/en/html/search/functions_6.html
  72. 8
    0
      doc/en/html/search/functions_6.js
  73. Двоичные данные
      doc/en/html/search/mag_sel.png
  74. 12
    0
      doc/en/html/search/nomatches.html
  75. 271
    0
      doc/en/html/search/search.css
  76. 791
    0
      doc/en/html/search/search.js
  77. Двоичные данные
      doc/en/html/search/search_l.png
  78. Двоичные данные
      doc/en/html/search/search_m.png
  79. Двоичные данные
      doc/en/html/search/search_r.png
  80. 24
    0
      doc/en/html/search/searchdata.js
  81. 26
    0
      doc/en/html/search/variables_0.html
  82. 5
    0
      doc/en/html/search/variables_0.js
  83. 26
    0
      doc/en/html/search/variables_1.html
  84. 5
    0
      doc/en/html/search/variables_1.js
  85. 26
    0
      doc/en/html/search/variables_2.html
  86. 5
    0
      doc/en/html/search/variables_2.js
  87. Двоичные данные
      doc/en/html/splitbar.png
  88. Двоичные данные
      doc/en/html/sync_off.png
  89. Двоичные данные
      doc/en/html/sync_on.png
  90. Двоичные данные
      doc/en/html/tab_a.png
  91. Двоичные данные
      doc/en/html/tab_b.png
  92. Двоичные данные
      doc/en/html/tab_h.png
  93. Двоичные данные
      doc/en/html/tab_s.png
  94. 60
    0
      doc/en/html/tabs.css
  95. 21
    0
      doc/en/latex/Makefile
  96. 5
    0
      doc/en/latex/annotated.tex
  97. 197
    0
      doc/en/latex/class_drawing_window.eps
  98. Двоичные данные
      doc/en/latex/class_drawing_window.pdf
  99. 238
    0
      doc/en/latex/class_drawing_window.tex
  100. 0
    0
      doc/en/latex/class_line.eps

+ 344
- 0
README.md Просмотреть файл

@@ -0,0 +1,344 @@
1
+[English](#markdown-header-recursion-recursive-shapes) | [Español](#markdown-header-recursion-figuras-recursivas)
2
+
3
+#Recursión - Figuras Recursivas
4
+
5
+![main1.jpg](images/main1.jpg)
6
+![main2.jpg](images/main2.jpg)
7
+![main3.png](images/main3.png)
8
+
9
+
10
+Una técnica muy utilizada en programación es la *recursión*. Con esta técnica se resuelven problemas resolviendo un problema similar pero para casos más pequeños. Podemos construir conjuntos de objetos o procesos utilizando *reglas recursivas* y *valores iniciales*. Las *funciones recursivas* son funciones que se auto-invocan, utilizando cada vez conjuntos o elementos más pequeños,  hasta llegar a un punto en donde se utiliza el valor inicial en lugar de auto-invocarse. Los fractales son un ejemplo de figuras que se pueden crear usando recursión. En esta experiencia de laboratorio practicarás la definición e implementación de funciones recursivas para dibujar formas auto-similares (fractales).
11
+
12
+Los ejercicios de esta experiencia de laboratorio son una adaptación de https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion.
13
+
14
+
15
+##Objetivos:
16
+
17
+1. Practicar el definir e implementar funciones recursivas.
18
+
19
+
20
+##Pre-Lab:
21
+
22
+Antes de llegar al laboratorio debes haber:
23
+
24
+1. Repasado los conceptos relacionados a funciones recursivas.
25
+
26
+2. Estudiado la función `box` para dibujar cajas, incluida en el archivo `boxes.cpp` del proyecto de `Qt`.
27
+
28
+3. Haber estudiado los conceptos e instrucciones para la sesión de laboratorio.
29
+
30
+4. Haber tomado el quiz Pre-Lab que se encuentra en Moodle.
31
+
32
+---
33
+
34
+---
35
+
36
+
37
+
38
+## Figuras auto-similares
39
+
40
+![figure2.png](images/figure2.png)
41
+
42
+**Figura 2.** Árbol fractal [5].
43
+
44
+---
45
+
46
+
47
+
48
+Una manera ingeniosa de practicar y "visualizar" recursión es programando funciones que produzcan figuras auto-similares (o recursivas). Por ejemplo, considera una figura recursiva que llamaremos *rama*. La Figura 3 muestra `rama(0,90)`, `rama(1,90)` y `rama(2,90)`.
49
+
50
+---
51
+
52
+![figure3.jpg](images/figure3.jpg)
53
+
54
+**Figura 3.** (a) `rama(0,90)`, (b) `rama(1,90)`, y (c) `rama(2,90)`. 
55
+
56
+---
57
+
58
+¿Puedes ver el comportamiento recursivo de esta figura? Nota que `rama(0,90)` es solo un segmento vertical (un segmento en un ángulo de 90 grados); `rama(1,90)` es `rama(0,90)` con dos segmentos inclinados en  su extremo superior. Más preciso, `rama(1,90)` es `rama(0,90)` con una  `rama(0,60)` y una `rama(0,120)` en el extremo superior. Similarmente, `rama(2,90)` es `rama(0,90)`  con dos `rama(1,90)` inclinadas en el extremo superior. Esto es,  `rama(2,90)` es:
59
+`rama(0,90)` con una `rama(1,60)` y una `rama(1,120)` en el extremo superior. Nota que $$60=90-30$$ y que $$120=90+30$$.
60
+
61
+De esta manera podemos expresar `rama(n,A)` como una composición de ramas con $$n$$'s más pequeñas inclinadas. El Código 1 provee una manera de expresar `rama` como una función recursiva.
62
+
63
+---
64
+
65
+```
66
+rama(0, A) = dibuja un segmento de largo L en un ángulo A
67
+rama(n, A) = dibuja: rama(0,A), rama(n-1, A-30), rama(n-1, A+30)
68
+```
69
+
70
+**Código 1.** Función para dibujar las ramas.
71
+
72
+---
73
+
74
+Nota que la definición recursiva incluye un caso base, esto es, incluye `rama(0,A)`, y una relación de recurrencia (o caso recursivo), esto es, `rama(n,A)`. Para simplificar, asumimos que  `rama(n-1,A-30)` y `rama(n-1,A+30)` se dibujan en el extremo superior de `rama(0,A)`.
75
+
76
+La Figura 4 ilustra la expansión recursiva para `rama(2,90)`. El color de cada expresión es el color del segmento que le corresponde en la figura.
77
+
78
+---
79
+
80
+![figure4.jpg](images/figure4.jpg)
81
+
82
+**Figura 4.** Ilustración de `rama(2,90)`.
83
+
84
+---
85
+ 
86
+¿Puedes predecir cómo será la próxima iteración de la figura? Es decir, ¿qué figura producirá `rama(3,A)`?
87
+
88
+---
89
+
90
+---
91
+
92
+## Sesión de laboratorio
93
+
94
+En la experiencia de laboratorio de hoy implementarás  funciones recursivas para producir fractales.
95
+
96
+###Ejercicio 1: Copo de nieve
97
+
98
+Una de las figuras fractales más simples es la figura de un copo de nieve. Esta figura se forma a partir de un triángulo isósceles, sustituyendo el segmento del tercio del medio de cada lado por una "V" invertida. La medida de los lados de la "V" es igual a la medida del segmento que sustituye. Usaremos el copo de nieve para ilustrar el proceso de recursión.
99
+
100
+---
101
+
102
+![figure5.png](images/figure5.png)
103
+
104
+**Figura 5.** Parte de la construcción del fractal "copo de nieve".
105
+
106
+---
107
+
108
+####Instrucciones
109
+
110
+1. Carga a QtCreator el proyecto `RecursiveShapes`  haciendo doble "click" en el archivo `RecursiveShapes.pro` en el directorio `Documents/eip/Recursion-RecursiveShapes` de tu computadora. También puedes ir a `http://bitbucket.org/eip-uprrp/recursion-recursiveshapes` para descargar la carpeta `Recursion-RecursiveShapes` a tu computadora.
111
+ 
112
+2. Compila y corre el programa para que veas una figura del copo de nieve construida con 3 iteraciones de la función `snowflake`. Puedes ver el código que define esta función en el archivo `snowflake.cpp` del proyecto de `Qt`.
113
+
114
+    En la función `main`, busca la línea en donde se declara y dá valor a la variable `level`. Cambia el valor de `level` a `0` y corre el programa de nuevo. Podrás ver el triángulo que representa el caso base de la recursión para el copo de nieve. Continúa cambiando el valor de la variable `level` y corriendo el programa para que veas el proceso de la recursión y de producir figuras auto-similares.
115
+
116
+
117
+###Ejercicio 2: Cajas autosimilares
118
+
119
+Tu tarea en este ejercicio es programar una función recursiva `boxes`, en el archivo `boxes.cpp`, que produzca las siguientes figuras. 
120
+
121
+---
122
+
123
+![figure6.jpg](images/figure6.jpg)
124
+
125
+**Figura 6.** Ilustración de las figuras de cajas que debe producir tu programa.
126
+
127
+---
128
+
129
+La función recursiva `boxes` incluye tres parámetros: `sideLength`, `shrinkFactor`, y `smallestLength`.
130
+
131
+* `sideLength`: un entero que determina el largo de los lados del cuadrado más grande.
132
+* `shrinkFactor`: un número real que determina la razón del siguiente nivel de cuadrados. Por ejemplo, si `sideLength` es `100`, y `shrinkFactor` es `0.3`, el largo de los lados del cuadrado más grande será `100` unidades, y el largo de los lados del próximo cuadrado más pequeño  será `100*.3=30` unidades. Se colocan 4 copias de ese cuadrado más pequeño dentro del cuadrado anterior, **un cuadrado en cada esquina**.
133
+* `smallestLength`: es un valor entero que determina el largo del lado del cuadrado más pequeño que será dibujado. Por ejemplo, en la Figura 6, `boxes(400, 0.4, 200)` solo dibuja el cuadrado con lados de largo `400`, ya que el tamaño que le seguiría sería `400 * 0.4 = 160`, que es más pequeño que `200`. Por otro lado, `boxes(400, 0.4, 75)` dibuja el cuadrado de tamaño `400` y los cuadrados de tamaño `160`, pero no los siguientes en tamaño, porque serían de tamaño `160 * 0.4 = 64`, que es menor que `75`.
134
+
135
+####Instrucciones
136
+
137
+1. Estudia la función `box` incluida en el archivo `boxes.cpp`. Esta función recibe como argumentos las coordenadas de la esquina superior izquierda, el largo de los lados y el color de una caja. La función dibuja una caja con esas especificaciones.
138
+
139
+2. Escribe un algoritmo recursivo para la función `boxes` descrita arriba. ¡Recuerda incluir el caso base! El algoritmo también debe invocar la función `box` para dibujar las cajas. 
140
+
141
+3. Implementa la función en `QtCreator`. Necesitarás proveer parámetros adicionales a tu función para que puedas controlar la posición y el color de los cuadrados. 
142
+
143
+4. Invoca la función `boxes` desde la función main en el archivo `main.cpp`. Compara tus resultados con las imágenes de la Figura 6.
144
+
145
+
146
+---
147
+
148
+---
149
+
150
+##Entrega
151
+
152
+Utiliza "Entrega" en Moodle para entregar los archivos `boxes.cpp` y `main.cpp`. Recuerda utilizar buenas prácticas de programación, incluir el nombre de los programadores y documentar tu programa.
153
+
154
+
155
+---
156
+
157
+---
158
+
159
+
160
+## Referencias
161
+
162
+[1] https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion.
163
+
164
+[2] "Mandel zoom 00 mandelbrot set". Licensed under Creative Commons Attribution-Share Alike 3.0 via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Mandel_zoom_00_mandelbrot_set.jpg#mediaviewer/File:Mandel_zoom_00_mandelbrot_set.jpg
165
+
166
+[3] "Mandel zoom 04 seehorse tail". Licensed under Creative Commons Attribution-Share Alike 3.0 via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Mandel_zoom_04_seehorse_tail.jpg#mediaviewer/File:Mandel_zoom_04_seehorse_tail.jpg
167
+
168
+[4] http://www.coolmath.com/fractals/images/fractal5.gif
169
+
170
+[5] "Fractal tree (Plate b - 2)". Licensed under Public domain via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Fractal_tree_(Plate_b_-_2).jpg#mediaviewer/File:Fractal_tree_(Plate_b_-_2).jpg
171
+
172
+---
173
+
174
+---
175
+
176
+---
177
+
178
+
179
+[English](#markdown-header-recursion-recursive-shapes) | [Español](#markdown-header-recursion-figuras-recursivas)
180
+
181
+#Recursion - Recursive Shapes
182
+
183
+![main1.jpg](images/main1.jpg)
184
+![main2.jpg](images/main2.jpg)
185
+![main3.png](images/main3.png)
186
+
187
+One commonly used programming technique is *recursion*. With this technique, problems are solved by solving similar problems but for smaller cases. We can construct sets of objects or tasks using *recursive rules* and *initial values*. *Recursive functions* are functions that are self-invoking, using smaller sets or elements each time, until reaching a point where an initial value is used instead of self-invoking. Fractals are an example of figures that can be created using recursion. In this laboratory experience you will practice the definition and implementation of recursive functions to draw self-similar objects (fractals). 
188
+
189
+The exercises in this laboratory experience are an adaptation of https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion.
190
+
191
+##Objectives:
192
+
193
+1. Practice the definition and implementation of recursive functions.
194
+
195
+
196
+
197
+##Pre-Lab:
198
+
199
+Before coming to the laboratory session you should have:
200
+
201
+1. Reviewed the basic concepts related to recursive functions.
202
+
203
+2. Studied the `box` function to draw boxes, included in the `boxes.cpp` file in the `Qt` project.
204
+
205
+3. Studied the concepts and instructions related to the laboratory session.
206
+
207
+4. Taken the Pre-Lab quiz available through the course’s Moodle portal.
208
+
209
+---
210
+
211
+---
212
+
213
+
214
+##Self-similar forms
215
+
216
+![figure2.png](images/figure2.png)
217
+
218
+**Figure 2.** Fractal tree [5].
219
+
220
+---
221
+
222
+One ingenious way of practicing and visualize recursion is programming functions that produce recursive figures, or fractals. For example, consider a recursive figure that we'll call *branch*. Figure 3 shows `branch(0,90)`, `branch(1,90)`, and `branch(2,90)`.
223
+
224
+---
225
+
226
+![figure3.jpg](images/figure3.jpg)
227
+
228
+**Figure 3.** (a) `branch(0,90)`, (b) `branch(1,90)`, y (c) `branch(2,90)`. 
229
+
230
+---
231
+
232
+Can you see the recursive behavior in this figure? Notice that `branch(0,90)` is only a vertical segment (a segment in an angle of 90 degrees); `branch(1,90)` is `branch(0,90)` with two segments inclined in its top. More precisely, `branch(1,90)` is `branch(0,90)` with a `branch(0,60)` and a `branch(0,120)` in its top. Similarly, `branch(2,90)` is `branch(0,90)` with two `branch(1,90)` inclined in the top. That is, `branch(2,90)` is:
233
+`branch(0,90)` with a `branch(1,60)` and a `branch(1,120)` in its top. Notice that $$60=90-30$$ and $$120=90+30$$.
234
+
235
+This way we can express `branch(n,A)` as a composition of branches with smaller inclined $$n$$'s. Code 1 provides a way of expressing `branch` as a recursive function.
236
+
237
+---
238
+
239
+```
240
+branch(0, A) = draws a segment of length L and angle A
241
+branch(n, A) = draws: branch(0,A), branch(n-1,A-30), branch(n-1,A+30)
242
+```
243
+
244
+**Code 1.** Function to draw branches.
245
+
246
+---
247
+
248
+Notice that the recursive definition includes a base case, that is, includes `branch(0,A)`, and a recurrence relation, that is, `branch(n,A)`. To simplify, we assume that `branch(n-1,A-30)` and `branch(n-1,A+30)` are drawn at the top of `branch(0,A)`.
249
+
250
+Figure 4 illustrates the recursive expansion for `branch(2,90)`. The color of each expression is the corresponding segment color in the figure.
251
+
252
+---
253
+
254
+![figure4.jpg](images/figure4.jpg)
255
+
256
+**Figure 4.** Illustration for `branch(2,90)`.
257
+
258
+---
259
+ 
260
+Can you predict how the next iteration for the figure will look? That is, what figure will `branch(3,A)` produce?
261
+
262
+---
263
+
264
+---
265
+
266
+##Laboratory Session
267
+
268
+In today's laboratory experience you will implement recursive functions to produce fractals.
269
+
270
+###Exercise 1: Snowflake
271
+
272
+One of the simplest fractal figures is the snowflake. This figure is formed by an isosceles triangle, substituting the middle third segment on each side by an inverted "V". The measurements of each side of the "V" is equal to the measurements of the segment it substitutes. We will use the snowflake to illustrate the process of recursion.
273
+
274
+---
275
+
276
+![figure5.png](images/figure5.png)
277
+
278
+**Figure 5.** Part of the construction of the snowflake fractal.
279
+
280
+---
281
+
282
+####Instructions
283
+
284
+1. Load the project `RecursiveShapes` onto `QtCreator` by double clicking on the `RecursiveShapes.pro` file in the `Documents/eip/Recursion-RecursiveShapes` folder of your computer. You may also go to `http://bitbucket.org/eip-uprrp/recursion-recursiveshapes` to download the `Recursion-RecursiveShapes` folder to your computer.
285
+
286
+2. Compile and run the program so you see a snowflake figure constructed with 3 iterations of the `snowflake` function. You can see the code of this function in the `snowflake.cpp` file of the `Qt` project.
287
+
288
+In the `main` function, look up the line where the variable `level` is declared and given a value. Change the value of `level` to `0` and run the program. You'll be able to see the triangle that represents the recursive base case for the snowflake. Continue changing the value for `level` and running the program so you can see the recursion process and produce self-similar figures.
289
+
290
+
291
+###Exercise 2: Self-similar boxes
292
+
293
+In this exercise, your task is to program a recursive function `boxes`, in the file `boxes.cpp`, that produces the following figures.
294
+
295
+---
296
+
297
+![figure6.jpg](images/figure6.jpg)
298
+
299
+**Figure 6.** Illustration of the box figures that your program should produce.
300
+
301
+---
302
+
303
+The `boxes` recursive function includes three parameters: `sideLength`, `shrinkFactor`, and `smallestLength`.
304
+
305
+* `sideLength`: an integer that determines the length of the sides of the largest box.
306
+* `shrinkFactor`: a real number that determines the rate of the next level of boxes. For example, if `sideLength` is `100`, and `shrinkFactor` is `0.3`, the length of the sides of the largest box will be `100` units, and the length of the sides of the smallest box will be `100*.3=30` units. Four copies of that smaller box are placed within the previous box, **one box in each corner**.
307
+* `smallestLength`: is an integer that determines the length of the sides of the smallest box that will be drawn. For example, in Figure 6, `boxes(400,0.4,200)` only draws the box with sides of length `400`, since the size that will follow will be `400 * 0.4 = 160`, which is smaller than `200`. On the other hand, `boxes(400, 0.4, 75)` draws the box of size `400` and the boxes with size `160`, but not the following ones in size, since they would be of size `160 * 0.4 = 64`, which is less than `75`.
308
+
309
+####Instructions
310
+
311
+1. Study the `box` function included in the `boxes.cpp` file. This function receives as arguments the coordinates of the upper left corner, the length of the sides and the color of the box. The function draws a box with these specifications. 
312
+
313
+2. Write a recursive algorithm for the `boxes` function described above. Remember to include the base case! The algorithm should also invoke the `box` function to draw the boxes.
314
+
315
+3. Implement the function in `QtCreator`. You will need to provide additional parameters to your function so you can control the position and the color of the squares.
316
+
317
+4. Invoke the `boxes` function from the `main` function in the `main.cpp` file. Compare your results with the images in Figure 6.
318
+
319
+
320
+
321
+---
322
+
323
+---
324
+
325
+##Deliverables
326
+
327
+1. Use "Deliverables" in Moodle to upload the `boxes.cpp` and `main.cpp` files. Remember to use good programming techniques, include the names of the programmers involved, and to document your program.
328
+
329
+
330
+---
331
+
332
+---
333
+
334
+##References
335
+
336
+[1] https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion.
337
+
338
+[2] "Mandel zoom 00 mandelbrot set". Licensed under Creative Commons Attribution-Share Alike 3.0 via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Mandel_zoom_00_mandelbrot_set.jpg#mediaviewer/File:Mandel_zoom_00_mandelbrot_set.jpg
339
+
340
+[3] "Mandel zoom 04 seehorse tail". Licensed under Creative Commons Attribution-Share Alike 3.0 via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Mandel_zoom_04_seehorse_tail.jpg#mediaviewer/File:Mandel_zoom_04_seehorse_tail.jpg
341
+
342
+[4] http://www.coolmath.com/fractals/images/fractal5.gif
343
+
344
+[5] "Fractal tree (Plate b - 2)". Licensed under Public domain via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Fractal_tree_(Plate_b_-_2).jpg#mediaviewer/File:Fractal_tree_(Plate_b_-_2).jpg

+ 26
- 0
RecursiveShapes.pro Просмотреть файл

@@ -0,0 +1,26 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2014-05-24T12:21:14
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += core gui
8
+
9
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10
+
11
+TARGET = RecursiveShapes
12
+TEMPLATE = app
13
+
14
+
15
+SOURCES += main.cpp\
16
+    line.cpp \
17
+    drawingWindow.cpp \
18
+    snowflake.cpp \
19
+    boxes.cpp
20
+
21
+HEADERS  += \
22
+    line.h \
23
+    drawingWindow.h
24
+
25
+FORMS    += \
26
+    drawingWindow.ui

+ 52
- 0
boxes.cpp Просмотреть файл

@@ -0,0 +1,52 @@
1
+#include "drawingWindow.h"
2
+
3
+/// \fn void DrawingWindow::box(int x, int y, int sideLength, QColor c)
4
+/// \~English
5
+/// \brief Draws a box with sides of size sideLength
6
+/// \param x initial x coordinate of the box
7
+/// \param y initial y coordinate of the box
8
+/// \param sideLength length of the sides of the box
9
+/// \param c color of the box
10
+/// \~Spanish
11
+/// \brief Dibuja una caja con los lados del tamano sideLength
12
+/// \param x coordenada inicial x de la caja
13
+/// \param y coordenada inicial y de la caja
14
+/// \param sideLength largo de los lados de la caja
15
+/// \param c color de la caja
16
+void DrawingWindow::box(int x, int y, int sideLength, QColor c) {
17
+    addLine(x,y,x+sideLength,y,1,c);
18
+    addLine(x+sideLength,y,x+sideLength,y+sideLength,1,c);
19
+    addLine(x+sideLength,y+sideLength,x,y+sideLength,1,c);
20
+    addLine(x,y+sideLength,x,y,1,c);
21
+}
22
+
23
+
24
+
25
+/// \fn void DrawingWindow::boxes(int x, int y, int sideLength, double shrinkFactor, int smallestLength, QColor c)
26
+/// \~English
27
+/// \brief Recursive function that draws smaller boxes inside the four
28
+/// corners of the boxes.
29
+/// \param x initial coordinate x
30
+/// \param y initial coordinate y
31
+/// \param sideLength length of the sides of the box
32
+/// \param shrinkFactor factor to decreese the sideLength in
33
+/// the recursion for the interior boxes
34
+/// \param smallestLength smallest length of the size of the
35
+/// side of the boxes
36
+/// \param c color of the boxes
37
+/// \~Spanish
38
+/// \brief Funcion recursiva que dibuja cajas mas pequenas dentro de las cuatro
39
+/// esquenas de las cajas.
40
+/// \param x coordenada inicial x
41
+/// \param y coordenada inicial y
42
+/// \param sideLength largo de los lados de la caja
43
+/// \param shrinkFactor factor para disminuir el tamano de los lados en
44
+/// la recursion para las cajas interiores
45
+/// \param smallestLength largo mas pequeno de el tamano de el
46
+/// lado de las cajas
47
+/// \param c color de las cajas
48
+void DrawingWindow::boxes(int x, int y, int sideLength, double shrinkFactor, int smallestLength, QColor c) {
49
+
50
+    // YOUR CODE HERE
51
+   
52
+}

+ 103
- 0
doc/en/html/annotated.html Просмотреть файл

@@ -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_drawing_window.html" target="_self">DrawingWindow</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_line.html" target="_self">Line</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 Mon Jun 22 2015 15:30:52 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>

Двоичные данные
doc/en/html/arrowdown.png Просмотреть файл


Двоичные данные
doc/en/html/arrowright.png Просмотреть файл


Двоичные данные
doc/en/html/bc_s.png Просмотреть файл


Двоичные данные
doc/en/html/bdwn.png Просмотреть файл


+ 111
- 0
doc/en/html/class_drawing_window-members.html Просмотреть файл

@@ -0,0 +1,111 @@
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">DrawingWindow 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_drawing_window.html">DrawingWindow</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_drawing_window.html#a3097e096223530c9f93737441d77422f">addLine</a>(int x0, int y0, int x1, int y1, int width, QColor color)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4">addLinePolar</a>(int x0, int y0, int length, double angle, int width, QColor color)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95">box</a>(int x, int y, int sideLength, QColor c)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_drawing_window.html#aa58d7247e92b513920c788523187fcbd">boxes</a>(int x, int y, int sideLength, double shrinkFactor, int smallestLength, QColor c)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494">DrawingWindow</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a">paintEvent</a>(QPaintEvent *)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f">snowflake</a>(int x, int y, int size, double angle, int level, QColor c)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_drawing_window.html#a5a5f640d60404722d029ec14896692a0">snowHelper</a>(int size, int level)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
100
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ui</b> (defined in <a class="el" href="class_drawing_window.html">DrawingWindow</a>)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
101
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>vL</b> (defined in <a class="el" href="class_drawing_window.html">DrawingWindow</a>)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
102
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~DrawingWindow</b>() (defined in <a class="el" href="class_drawing_window.html">DrawingWindow</a>)</td><td class="entry"><a class="el" href="class_drawing_window.html">DrawingWindow</a></td><td class="entry"></td></tr>
103
+</table></div><!-- contents -->
104
+<!-- start footer part -->
105
+<hr class="footer"/><address class="footer"><small>
106
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
107
+<img class="footer" src="doxygen.png" alt="doxygen"/>
108
+</a> 1.8.9.1
109
+</small></address>
110
+</body>
111
+</html>

+ 527
- 0
doc/en/html/class_drawing_window.html Просмотреть файл

@@ -0,0 +1,527 @@
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: DrawingWindow 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="#pro-methods">Protected Member Functions</a> &#124;
88
+<a href="#pri-attribs">Private Attributes</a> &#124;
89
+<a href="class_drawing_window-members.html">List of all members</a>  </div>
90
+  <div class="headertitle">
91
+<div class="title">DrawingWindow Class Reference</div>  </div>
92
+</div><!--header-->
93
+<div class="contents">
94
+<div class="dynheader">
95
+Inheritance diagram for DrawingWindow:</div>
96
+<div class="dyncontent">
97
+ <div class="center">
98
+  <img src="class_drawing_window.png" usemap="#DrawingWindow_map" alt=""/>
99
+  <map id="DrawingWindow_map" name="DrawingWindow_map">
100
+</map>
101
+ </div></div>
102
+<table class="memberdecls">
103
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
104
+Public Member Functions</h2></td></tr>
105
+<tr class="memitem:aff3d1b3cbeee8f0e92b49c050d8ca494"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494">DrawingWindow</a> (QWidget *parent=0)</td></tr>
106
+<tr class="memdesc:aff3d1b3cbeee8f0e92b49c050d8ca494"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aff3d1b3cbeee8f0e92b49c050d8ca494">More...</a><br /></td></tr>
107
+<tr class="separator:aff3d1b3cbeee8f0e92b49c050d8ca494"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+<tr class="memitem:a3097e096223530c9f93737441d77422f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#a3097e096223530c9f93737441d77422f">addLine</a> (int x0, int y0, int x1, int y1, int width, QColor color)</td></tr>
109
+<tr class="memdesc:a3097e096223530c9f93737441d77422f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a line to the window, specifying coordinates of the starting and end points.  <a href="#a3097e096223530c9f93737441d77422f">More...</a><br /></td></tr>
110
+<tr class="separator:a3097e096223530c9f93737441d77422f"><td class="memSeparator" colspan="2">&#160;</td></tr>
111
+<tr class="memitem:ae03504caa7648347ec56eb58cf5b5db4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4">addLinePolar</a> (int x0, int y0, int length, double angle, int width, QColor color)</td></tr>
112
+<tr class="memdesc:ae03504caa7648347ec56eb58cf5b5db4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a line to the window, specifying coordinates of the starting point, the length and angle.  <a href="#ae03504caa7648347ec56eb58cf5b5db4">More...</a><br /></td></tr>
113
+<tr class="separator:ae03504caa7648347ec56eb58cf5b5db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
114
+<tr class="memitem:a34dec0c13dc01eaa303589e28acecf95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95">box</a> (int x, int y, int sideLength, QColor c)</td></tr>
115
+<tr class="memdesc:a34dec0c13dc01eaa303589e28acecf95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a box with sides of size sideLength.  <a href="#a34dec0c13dc01eaa303589e28acecf95">More...</a><br /></td></tr>
116
+<tr class="separator:a34dec0c13dc01eaa303589e28acecf95"><td class="memSeparator" colspan="2">&#160;</td></tr>
117
+<tr class="memitem:aa58d7247e92b513920c788523187fcbd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#aa58d7247e92b513920c788523187fcbd">boxes</a> (int x, int y, int sideLength, double shrinkFactor, int smallestLength, QColor c)</td></tr>
118
+<tr class="memdesc:aa58d7247e92b513920c788523187fcbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursive function that draws smaller boxes inside the four corners of the boxes.  <a href="#aa58d7247e92b513920c788523187fcbd">More...</a><br /></td></tr>
119
+<tr class="separator:aa58d7247e92b513920c788523187fcbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
120
+<tr class="memitem:a5a5f640d60404722d029ec14896692a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#a5a5f640d60404722d029ec14896692a0">snowHelper</a> (int size, int level)</td></tr>
121
+<tr class="memdesc:a5a5f640d60404722d029ec14896692a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface function for the snowflake recursive function  <a href="#a5a5f640d60404722d029ec14896692a0">More...</a><br /></td></tr>
122
+<tr class="separator:a5a5f640d60404722d029ec14896692a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
123
+<tr class="memitem:a13d52d1571e4a34d1bd3cb09a71dfa5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f">snowflake</a> (int x, int y, int size, double angle, int level, QColor c)</td></tr>
124
+<tr class="memdesc:a13d52d1571e4a34d1bd3cb09a71dfa5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recursive figure, the snowflake presented at: <a href="https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion">https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion</a> sf = sf(n-1) + 60 degrees sf(n-1) + 60 degrees sf(n-1) + s(n-1) sf(0) = line.  <a href="#a13d52d1571e4a34d1bd3cb09a71dfa5f">More...</a><br /></td></tr>
125
+<tr class="separator:a13d52d1571e4a34d1bd3cb09a71dfa5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
126
+</table><table class="memberdecls">
127
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
128
+Protected Member Functions</h2></td></tr>
129
+<tr class="memitem:aceb9c5cc4f2ef40d99aca7d3fbd4e91a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aceb9c5cc4f2ef40d99aca7d3fbd4e91a"></a>
130
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a">paintEvent</a> (QPaintEvent *)</td></tr>
131
+<tr class="memdesc:aceb9c5cc4f2ef40d99aca7d3fbd4e91a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function called in a paint event. <br /></td></tr>
132
+<tr class="separator:aceb9c5cc4f2ef40d99aca7d3fbd4e91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
+</table><table class="memberdecls">
134
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
135
+Private Attributes</h2></td></tr>
136
+<tr class="memitem:ad58ced401c1eaf6cfaf67a0f8f94ce18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad58ced401c1eaf6cfaf67a0f8f94ce18"></a>
137
+Ui::DrawingWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
138
+<tr class="separator:ad58ced401c1eaf6cfaf67a0f8f94ce18"><td class="memSeparator" colspan="2">&#160;</td></tr>
139
+<tr class="memitem:a6e1effc34bb2f2c43becfd1df203b693"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e1effc34bb2f2c43becfd1df203b693"></a>
140
+vector&lt; <a class="el" href="class_line.html">Line</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>vL</b></td></tr>
141
+<tr class="separator:a6e1effc34bb2f2c43becfd1df203b693"><td class="memSeparator" colspan="2">&#160;</td></tr>
142
+</table>
143
+<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
144
+<a class="anchor" id="aff3d1b3cbeee8f0e92b49c050d8ca494"></a>
145
+<div class="memitem">
146
+<div class="memproto">
147
+<table class="mlabels">
148
+  <tr>
149
+  <td class="mlabels-left">
150
+      <table class="memname">
151
+        <tr>
152
+          <td class="memname">DrawingWindow::DrawingWindow </td>
153
+          <td>(</td>
154
+          <td class="paramtype">QWidget *&#160;</td>
155
+          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
156
+          <td></td>
157
+        </tr>
158
+      </table>
159
+  </td>
160
+  <td class="mlabels-right">
161
+<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
162
+  </tr>
163
+</table>
164
+</div><div class="memdoc">
165
+
166
+<p>Constructor. </p>
167
+<dl class="params"><dt>Parameters</dt><dd>
168
+  <table class="params">
169
+    <tr><td class="paramname">parent</td><td>when creating a <a class="el" href="class_drawing_window.html">DrawingWindow</a> in the main function, leave this parameter empty </td></tr>
170
+  </table>
171
+  </dd>
172
+</dl>
173
+
174
+</div>
175
+</div>
176
+<h2 class="groupheader">Member Function Documentation</h2>
177
+<a class="anchor" id="a3097e096223530c9f93737441d77422f"></a>
178
+<div class="memitem">
179
+<div class="memproto">
180
+      <table class="memname">
181
+        <tr>
182
+          <td class="memname">void DrawingWindow::addLine </td>
183
+          <td>(</td>
184
+          <td class="paramtype">int&#160;</td>
185
+          <td class="paramname"><em>x0</em>, </td>
186
+        </tr>
187
+        <tr>
188
+          <td class="paramkey"></td>
189
+          <td></td>
190
+          <td class="paramtype">int&#160;</td>
191
+          <td class="paramname"><em>y0</em>, </td>
192
+        </tr>
193
+        <tr>
194
+          <td class="paramkey"></td>
195
+          <td></td>
196
+          <td class="paramtype">int&#160;</td>
197
+          <td class="paramname"><em>x1</em>, </td>
198
+        </tr>
199
+        <tr>
200
+          <td class="paramkey"></td>
201
+          <td></td>
202
+          <td class="paramtype">int&#160;</td>
203
+          <td class="paramname"><em>y1</em>, </td>
204
+        </tr>
205
+        <tr>
206
+          <td class="paramkey"></td>
207
+          <td></td>
208
+          <td class="paramtype">int&#160;</td>
209
+          <td class="paramname"><em>width</em>, </td>
210
+        </tr>
211
+        <tr>
212
+          <td class="paramkey"></td>
213
+          <td></td>
214
+          <td class="paramtype">QColor&#160;</td>
215
+          <td class="paramname"><em>color</em>&#160;</td>
216
+        </tr>
217
+        <tr>
218
+          <td></td>
219
+          <td>)</td>
220
+          <td></td><td></td>
221
+        </tr>
222
+      </table>
223
+</div><div class="memdoc">
224
+
225
+<p>Add a line to the window, specifying coordinates of the starting and end points. </p>
226
+<dl class="params"><dt>Parameters</dt><dd>
227
+  <table class="params">
228
+    <tr><td class="paramname">x0</td><td>starting x </td></tr>
229
+    <tr><td class="paramname">y0</td><td>starting y </td></tr>
230
+    <tr><td class="paramname">x1</td><td>end x </td></tr>
231
+    <tr><td class="paramname">y1</td><td>end y </td></tr>
232
+    <tr><td class="paramname">width</td><td>- line width </td></tr>
233
+    <tr><td class="paramname">color</td><td>- line color </td></tr>
234
+  </table>
235
+  </dd>
236
+</dl>
237
+
238
+</div>
239
+</div>
240
+<a class="anchor" id="ae03504caa7648347ec56eb58cf5b5db4"></a>
241
+<div class="memitem">
242
+<div class="memproto">
243
+      <table class="memname">
244
+        <tr>
245
+          <td class="memname">void DrawingWindow::addLinePolar </td>
246
+          <td>(</td>
247
+          <td class="paramtype">int&#160;</td>
248
+          <td class="paramname"><em>x0</em>, </td>
249
+        </tr>
250
+        <tr>
251
+          <td class="paramkey"></td>
252
+          <td></td>
253
+          <td class="paramtype">int&#160;</td>
254
+          <td class="paramname"><em>y0</em>, </td>
255
+        </tr>
256
+        <tr>
257
+          <td class="paramkey"></td>
258
+          <td></td>
259
+          <td class="paramtype">int&#160;</td>
260
+          <td class="paramname"><em>length</em>, </td>
261
+        </tr>
262
+        <tr>
263
+          <td class="paramkey"></td>
264
+          <td></td>
265
+          <td class="paramtype">double&#160;</td>
266
+          <td class="paramname"><em>angle</em>, </td>
267
+        </tr>
268
+        <tr>
269
+          <td class="paramkey"></td>
270
+          <td></td>
271
+          <td class="paramtype">int&#160;</td>
272
+          <td class="paramname"><em>width</em>, </td>
273
+        </tr>
274
+        <tr>
275
+          <td class="paramkey"></td>
276
+          <td></td>
277
+          <td class="paramtype">QColor&#160;</td>
278
+          <td class="paramname"><em>color</em>&#160;</td>
279
+        </tr>
280
+        <tr>
281
+          <td></td>
282
+          <td>)</td>
283
+          <td></td><td></td>
284
+        </tr>
285
+      </table>
286
+</div><div class="memdoc">
287
+
288
+<p>Add a line to the window, specifying coordinates of the starting point, the length and angle. </p>
289
+<dl class="params"><dt>Parameters</dt><dd>
290
+  <table class="params">
291
+    <tr><td class="paramname">x0</td><td>starting x </td></tr>
292
+    <tr><td class="paramname">y0</td><td>starting y </td></tr>
293
+    <tr><td class="paramname">length</td><td>length of the line </td></tr>
294
+    <tr><td class="paramname">angle</td><td>angle </td></tr>
295
+    <tr><td class="paramname">width</td><td>line width </td></tr>
296
+    <tr><td class="paramname">color</td><td>line color </td></tr>
297
+  </table>
298
+  </dd>
299
+</dl>
300
+
301
+</div>
302
+</div>
303
+<a class="anchor" id="a34dec0c13dc01eaa303589e28acecf95"></a>
304
+<div class="memitem">
305
+<div class="memproto">
306
+      <table class="memname">
307
+        <tr>
308
+          <td class="memname">void DrawingWindow::box </td>
309
+          <td>(</td>
310
+          <td class="paramtype">int&#160;</td>
311
+          <td class="paramname"><em>x</em>, </td>
312
+        </tr>
313
+        <tr>
314
+          <td class="paramkey"></td>
315
+          <td></td>
316
+          <td class="paramtype">int&#160;</td>
317
+          <td class="paramname"><em>y</em>, </td>
318
+        </tr>
319
+        <tr>
320
+          <td class="paramkey"></td>
321
+          <td></td>
322
+          <td class="paramtype">int&#160;</td>
323
+          <td class="paramname"><em>sideLength</em>, </td>
324
+        </tr>
325
+        <tr>
326
+          <td class="paramkey"></td>
327
+          <td></td>
328
+          <td class="paramtype">QColor&#160;</td>
329
+          <td class="paramname"><em>c</em>&#160;</td>
330
+        </tr>
331
+        <tr>
332
+          <td></td>
333
+          <td>)</td>
334
+          <td></td><td></td>
335
+        </tr>
336
+      </table>
337
+</div><div class="memdoc">
338
+
339
+<p>Draws a box with sides of size sideLength. </p>
340
+<dl class="params"><dt>Parameters</dt><dd>
341
+  <table class="params">
342
+    <tr><td class="paramname">x</td><td>initial x coordinate of the box </td></tr>
343
+    <tr><td class="paramname">y</td><td>initial y coordinate of the box </td></tr>
344
+    <tr><td class="paramname">sideLength</td><td>length of the sides of the box </td></tr>
345
+    <tr><td class="paramname">c</td><td>color of the box </td></tr>
346
+  </table>
347
+  </dd>
348
+</dl>
349
+
350
+</div>
351
+</div>
352
+<a class="anchor" id="aa58d7247e92b513920c788523187fcbd"></a>
353
+<div class="memitem">
354
+<div class="memproto">
355
+      <table class="memname">
356
+        <tr>
357
+          <td class="memname">void DrawingWindow::boxes </td>
358
+          <td>(</td>
359
+          <td class="paramtype">int&#160;</td>
360
+          <td class="paramname"><em>x</em>, </td>
361
+        </tr>
362
+        <tr>
363
+          <td class="paramkey"></td>
364
+          <td></td>
365
+          <td class="paramtype">int&#160;</td>
366
+          <td class="paramname"><em>y</em>, </td>
367
+        </tr>
368
+        <tr>
369
+          <td class="paramkey"></td>
370
+          <td></td>
371
+          <td class="paramtype">int&#160;</td>
372
+          <td class="paramname"><em>sideLength</em>, </td>
373
+        </tr>
374
+        <tr>
375
+          <td class="paramkey"></td>
376
+          <td></td>
377
+          <td class="paramtype">double&#160;</td>
378
+          <td class="paramname"><em>shrinkFactor</em>, </td>
379
+        </tr>
380
+        <tr>
381
+          <td class="paramkey"></td>
382
+          <td></td>
383
+          <td class="paramtype">int&#160;</td>
384
+          <td class="paramname"><em>smallestLength</em>, </td>
385
+        </tr>
386
+        <tr>
387
+          <td class="paramkey"></td>
388
+          <td></td>
389
+          <td class="paramtype">QColor&#160;</td>
390
+          <td class="paramname"><em>c</em>&#160;</td>
391
+        </tr>
392
+        <tr>
393
+          <td></td>
394
+          <td>)</td>
395
+          <td></td><td></td>
396
+        </tr>
397
+      </table>
398
+</div><div class="memdoc">
399
+
400
+<p>Recursive function that draws smaller boxes inside the four corners of the boxes. </p>
401
+<dl class="params"><dt>Parameters</dt><dd>
402
+  <table class="params">
403
+    <tr><td class="paramname">x</td><td>initial coordinate x </td></tr>
404
+    <tr><td class="paramname">y</td><td>initial coordinate y </td></tr>
405
+    <tr><td class="paramname">sideLength</td><td>length of the sides of the box </td></tr>
406
+    <tr><td class="paramname">shrinkFactor</td><td>factor to decreese the sideLength in the recursion for the interior boxes </td></tr>
407
+    <tr><td class="paramname">smallestLength</td><td>smallest length of the size of the side of the boxes </td></tr>
408
+    <tr><td class="paramname">c</td><td>color of the boxes </td></tr>
409
+  </table>
410
+  </dd>
411
+</dl>
412
+
413
+</div>
414
+</div>
415
+<a class="anchor" id="a13d52d1571e4a34d1bd3cb09a71dfa5f"></a>
416
+<div class="memitem">
417
+<div class="memproto">
418
+      <table class="memname">
419
+        <tr>
420
+          <td class="memname">void DrawingWindow::snowflake </td>
421
+          <td>(</td>
422
+          <td class="paramtype">int&#160;</td>
423
+          <td class="paramname"><em>x</em>, </td>
424
+        </tr>
425
+        <tr>
426
+          <td class="paramkey"></td>
427
+          <td></td>
428
+          <td class="paramtype">int&#160;</td>
429
+          <td class="paramname"><em>y</em>, </td>
430
+        </tr>
431
+        <tr>
432
+          <td class="paramkey"></td>
433
+          <td></td>
434
+          <td class="paramtype">int&#160;</td>
435
+          <td class="paramname"><em>size</em>, </td>
436
+        </tr>
437
+        <tr>
438
+          <td class="paramkey"></td>
439
+          <td></td>
440
+          <td class="paramtype">double&#160;</td>
441
+          <td class="paramname"><em>angle</em>, </td>
442
+        </tr>
443
+        <tr>
444
+          <td class="paramkey"></td>
445
+          <td></td>
446
+          <td class="paramtype">int&#160;</td>
447
+          <td class="paramname"><em>level</em>, </td>
448
+        </tr>
449
+        <tr>
450
+          <td class="paramkey"></td>
451
+          <td></td>
452
+          <td class="paramtype">QColor&#160;</td>
453
+          <td class="paramname"><em>c</em>&#160;</td>
454
+        </tr>
455
+        <tr>
456
+          <td></td>
457
+          <td>)</td>
458
+          <td></td><td></td>
459
+        </tr>
460
+      </table>
461
+</div><div class="memdoc">
462
+
463
+<p>Recursive figure, the snowflake presented at: <a href="https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion">https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion</a> sf = sf(n-1) + 60 degrees sf(n-1) + 60 degrees sf(n-1) + s(n-1) sf(0) = line. </p>
464
+<dl class="params"><dt>Parameters</dt><dd>
465
+  <table class="params">
466
+    <tr><td class="paramname">x</td><td>initial coordinate x </td></tr>
467
+    <tr><td class="paramname">y</td><td>initial coordinate y </td></tr>
468
+    <tr><td class="paramname">size</td><td>size of the snowflake </td></tr>
469
+    <tr><td class="paramname">angle</td><td>angle of a line of the snowflake </td></tr>
470
+    <tr><td class="paramname">level</td><td>recursion depth </td></tr>
471
+    <tr><td class="paramname">c</td><td>color of the lines (snowflake) </td></tr>
472
+  </table>
473
+  </dd>
474
+</dl>
475
+
476
+</div>
477
+</div>
478
+<a class="anchor" id="a5a5f640d60404722d029ec14896692a0"></a>
479
+<div class="memitem">
480
+<div class="memproto">
481
+      <table class="memname">
482
+        <tr>
483
+          <td class="memname">void DrawingWindow::snowHelper </td>
484
+          <td>(</td>
485
+          <td class="paramtype">int&#160;</td>
486
+          <td class="paramname"><em>size</em>, </td>
487
+        </tr>
488
+        <tr>
489
+          <td class="paramkey"></td>
490
+          <td></td>
491
+          <td class="paramtype">int&#160;</td>
492
+          <td class="paramname"><em>level</em>&#160;</td>
493
+        </tr>
494
+        <tr>
495
+          <td></td>
496
+          <td>)</td>
497
+          <td></td><td></td>
498
+        </tr>
499
+      </table>
500
+</div><div class="memdoc">
501
+
502
+<p>interface function for the snowflake recursive function </p>
503
+<dl class="params"><dt>Parameters</dt><dd>
504
+  <table class="params">
505
+    <tr><td class="paramname">size</td><td>snowflake size </td></tr>
506
+    <tr><td class="paramname">level</td><td>recursion depth </td></tr>
507
+  </table>
508
+  </dd>
509
+</dl>
510
+
511
+</div>
512
+</div>
513
+<hr/>The documentation for this class was generated from the following files:<ul>
514
+<li><a class="el" href="drawing_window_8h_source.html">drawingWindow.h</a></li>
515
+<li>boxes.cpp</li>
516
+<li>drawingWindow.cpp</li>
517
+<li>snowflake.cpp</li>
518
+</ul>
519
+</div><!-- contents -->
520
+<!-- start footer part -->
521
+<hr class="footer"/><address class="footer"><small>
522
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
523
+<img class="footer" src="doxygen.png" alt="doxygen"/>
524
+</a> 1.8.9.1
525
+</small></address>
526
+</body>
527
+</html>

Двоичные данные
doc/en/html/class_drawing_window.png Просмотреть файл


+ 117
- 0
doc/en/html/class_line-members.html Просмотреть файл

@@ -0,0 +1,117 @@
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">Line 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_line.html">Line</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">getX0</a>()</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">getX1</a>()</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">getY0</a>()</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">getY1</a>()</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_line.html#a37f70dab8d5cc7560e6362093a3aa1b9">Line</a>(int fromX, int fromY, int toX, int toY, int w, QColor c, QWidget *parent=0)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a742b2aea487313953635d1e504c6b866">Line</a>(int fromX, int fromY, int length, double angle, int w, QColor c, QWidget *parent=0)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">paintEvent</a>(QPaintEvent *)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">penColor</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
101
+  <tr><td class="entry"><a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">penWidth</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">setCoords</a>(int fromX, int fromY, int toX, int toY)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">setpenColor</a>(QColor c)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">setPenWidth</a>(int w)</td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"></td></tr>
105
+  <tr><td class="entry"><a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">x0</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">x1</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
107
+  <tr><td class="entry"><a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">y0</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">y1</a></td><td class="entry"><a class="el" href="class_line.html">Line</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
109
+</table></div><!-- contents -->
110
+<!-- start footer part -->
111
+<hr class="footer"/><address class="footer"><small>
112
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
113
+<img class="footer" src="doxygen.png" alt="doxygen"/>
114
+</a> 1.8.9.1
115
+</small></address>
116
+</body>
117
+</html>

+ 640
- 0
doc/en/html/class_line.html Просмотреть файл

@@ -0,0 +1,640 @@
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: Line 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="#pro-methods">Protected Member Functions</a> &#124;
88
+<a href="#pri-attribs">Private Attributes</a> &#124;
89
+<a href="class_line-members.html">List of all members</a>  </div>
90
+  <div class="headertitle">
91
+<div class="title">Line Class Reference</div>  </div>
92
+</div><!--header-->
93
+<div class="contents">
94
+
95
+<p><code>#include &lt;<a class="el" href="line_8h_source.html">line.h</a>&gt;</code></p>
96
+<div class="dynheader">
97
+Inheritance diagram for Line:</div>
98
+<div class="dyncontent">
99
+ <div class="center">
100
+  <img src="class_line.png" usemap="#Line_map" alt=""/>
101
+  <map id="Line_map" name="Line_map">
102
+</map>
103
+ </div></div>
104
+<table class="memberdecls">
105
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
106
+Public Member Functions</h2></td></tr>
107
+<tr class="memitem:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a> (QWidget *parent=0)</td></tr>
108
+<tr class="memdesc:a4d475f9d634f50933ca84e25d7cf32f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a4d475f9d634f50933ca84e25d7cf32f9">More...</a><br /></td></tr>
109
+<tr class="separator:a4d475f9d634f50933ca84e25d7cf32f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
110
+<tr class="memitem:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a37f70dab8d5cc7560e6362093a3aa1b9">Line</a> (int fromX, int fromY, int toX, int toY, int w, QColor c, QWidget *parent=0)</td></tr>
111
+<tr class="memdesc:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for a line, specifying the (fromX,fromY) and (toX,toY)  <a href="#a37f70dab8d5cc7560e6362093a3aa1b9">More...</a><br /></td></tr>
112
+<tr class="separator:a37f70dab8d5cc7560e6362093a3aa1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
113
+<tr class="memitem:a742b2aea487313953635d1e504c6b866"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a742b2aea487313953635d1e504c6b866">Line</a> (int fromX, int fromY, int length, double angle, int w, QColor c, QWidget *parent=0)</td></tr>
114
+<tr class="memdesc:a742b2aea487313953635d1e504c6b866"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for a line, specifying the (fromX,fromY) and (toX,toY)  <a href="#a742b2aea487313953635d1e504c6b866">More...</a><br /></td></tr>
115
+<tr class="separator:a742b2aea487313953635d1e504c6b866"><td class="memSeparator" colspan="2">&#160;</td></tr>
116
+<tr class="memitem:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">setCoords</a> (int fromX, int fromY, int toX, int toY)</td></tr>
117
+<tr class="memdesc:ac1475ffee823a7c05b2ac91bfe61596d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the line coordinates.  <a href="#ac1475ffee823a7c05b2ac91bfe61596d">More...</a><br /></td></tr>
118
+<tr class="separator:ac1475ffee823a7c05b2ac91bfe61596d"><td class="memSeparator" colspan="2">&#160;</td></tr>
119
+<tr class="memitem:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">setpenColor</a> (QColor c)</td></tr>
120
+<tr class="memdesc:ac5b6d8e786cf3820fa36b8bda7130823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the pen color.  <a href="#ac5b6d8e786cf3820fa36b8bda7130823">More...</a><br /></td></tr>
121
+<tr class="separator:ac5b6d8e786cf3820fa36b8bda7130823"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+<tr class="memitem:a346d88820371b5a4710eed8a638fc451"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">setPenWidth</a> (int w)</td></tr>
123
+<tr class="memdesc:a346d88820371b5a4710eed8a638fc451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setter for the pen width.  <a href="#a346d88820371b5a4710eed8a638fc451">More...</a><br /></td></tr>
124
+<tr class="separator:a346d88820371b5a4710eed8a638fc451"><td class="memSeparator" colspan="2">&#160;</td></tr>
125
+<tr class="memitem:a0e23ee7edc154bd73fefab4d88cae150"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">getX0</a> ()</td></tr>
126
+<tr class="memdesc:a0e23ee7edc154bd73fefab4d88cae150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the starting coordinate x.  <a href="#a0e23ee7edc154bd73fefab4d88cae150">More...</a><br /></td></tr>
127
+<tr class="separator:a0e23ee7edc154bd73fefab4d88cae150"><td class="memSeparator" colspan="2">&#160;</td></tr>
128
+<tr class="memitem:a971146fd8bbf711123f03e45daf923c9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">getY0</a> ()</td></tr>
129
+<tr class="memdesc:a971146fd8bbf711123f03e45daf923c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the starting coordinate y.  <a href="#a971146fd8bbf711123f03e45daf923c9">More...</a><br /></td></tr>
130
+<tr class="separator:a971146fd8bbf711123f03e45daf923c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
131
+<tr class="memitem:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">getX1</a> ()</td></tr>
132
+<tr class="memdesc:a1f51d8df03219f5f63d656bc0e9b2830"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the ending coordinate x.  <a href="#a1f51d8df03219f5f63d656bc0e9b2830">More...</a><br /></td></tr>
133
+<tr class="separator:a1f51d8df03219f5f63d656bc0e9b2830"><td class="memSeparator" colspan="2">&#160;</td></tr>
134
+<tr class="memitem:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">getY1</a> ()</td></tr>
135
+<tr class="memdesc:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Getter for the ending coordinate y.  <a href="#a9cc398fdcf93212a3e4db28ac26a88a9">More...</a><br /></td></tr>
136
+<tr class="separator:a9cc398fdcf93212a3e4db28ac26a88a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
137
+</table><table class="memberdecls">
138
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
139
+Protected Member Functions</h2></td></tr>
140
+<tr class="memitem:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e1f30fa9d7375fd67a2b4cf5a1b6a76"></a>
141
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">paintEvent</a> (QPaintEvent *)</td></tr>
142
+<tr class="memdesc:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="mdescLeft">&#160;</td><td class="mdescRight">The paint event function is automatically invoked whenever a resize or repaint happens. <br /></td></tr>
143
+<tr class="separator:a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
144
+</table><table class="memberdecls">
145
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
146
+Private Attributes</h2></td></tr>
147
+<tr class="memitem:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">x0</a></td></tr>
148
+<tr class="separator:a647f6f5c0e2b197e3671f8bdb9ff64a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
149
+<tr class="memitem:a8e276229892969c7d82f56581e0c168b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">y0</a></td></tr>
150
+<tr class="separator:a8e276229892969c7d82f56581e0c168b"><td class="memSeparator" colspan="2">&#160;</td></tr>
151
+<tr class="memitem:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">x1</a></td></tr>
152
+<tr class="separator:a1c37aeef714f6c96454c2a9a2dadb69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
153
+<tr class="memitem:a850c96af61bd595a68b5e867540204f1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">y1</a></td></tr>
154
+<tr class="separator:a850c96af61bd595a68b5e867540204f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
155
+<tr class="memitem:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">penWidth</a></td></tr>
156
+<tr class="separator:a4fc1d856f822dd0b88676e6c22a65f14"><td class="memSeparator" colspan="2">&#160;</td></tr>
157
+<tr class="memitem:a8778d952d4d2867bd2f31e5857c368b4"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">penColor</a></td></tr>
158
+<tr class="separator:a8778d952d4d2867bd2f31e5857c368b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
159
+</table>
160
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
161
+<div class="textblock"><p>A class to describe lines. </p>
162
+</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
163
+<a class="anchor" id="a4d475f9d634f50933ca84e25d7cf32f9"></a>
164
+<div class="memitem">
165
+<div class="memproto">
166
+<table class="mlabels">
167
+  <tr>
168
+  <td class="mlabels-left">
169
+      <table class="memname">
170
+        <tr>
171
+          <td class="memname">Line::Line </td>
172
+          <td>(</td>
173
+          <td class="paramtype">QWidget *&#160;</td>
174
+          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
175
+          <td></td>
176
+        </tr>
177
+      </table>
178
+  </td>
179
+  <td class="mlabels-right">
180
+<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
181
+  </tr>
182
+</table>
183
+</div><div class="memdoc">
184
+
185
+<p>Constructor. </p>
186
+<p>Constructor sets coordinates to 0, pen color to black and pen width to 1. </p>
187
+
188
+</div>
189
+</div>
190
+<a class="anchor" id="a37f70dab8d5cc7560e6362093a3aa1b9"></a>
191
+<div class="memitem">
192
+<div class="memproto">
193
+      <table class="memname">
194
+        <tr>
195
+          <td class="memname">Line::Line </td>
196
+          <td>(</td>
197
+          <td class="paramtype">int&#160;</td>
198
+          <td class="paramname"><em>fromX</em>, </td>
199
+        </tr>
200
+        <tr>
201
+          <td class="paramkey"></td>
202
+          <td></td>
203
+          <td class="paramtype">int&#160;</td>
204
+          <td class="paramname"><em>fromY</em>, </td>
205
+        </tr>
206
+        <tr>
207
+          <td class="paramkey"></td>
208
+          <td></td>
209
+          <td class="paramtype">int&#160;</td>
210
+          <td class="paramname"><em>toX</em>, </td>
211
+        </tr>
212
+        <tr>
213
+          <td class="paramkey"></td>
214
+          <td></td>
215
+          <td class="paramtype">int&#160;</td>
216
+          <td class="paramname"><em>toY</em>, </td>
217
+        </tr>
218
+        <tr>
219
+          <td class="paramkey"></td>
220
+          <td></td>
221
+          <td class="paramtype">int&#160;</td>
222
+          <td class="paramname"><em>w</em>, </td>
223
+        </tr>
224
+        <tr>
225
+          <td class="paramkey"></td>
226
+          <td></td>
227
+          <td class="paramtype">QColor&#160;</td>
228
+          <td class="paramname"><em>c</em>, </td>
229
+        </tr>
230
+        <tr>
231
+          <td class="paramkey"></td>
232
+          <td></td>
233
+          <td class="paramtype">QWidget *&#160;</td>
234
+          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
235
+        </tr>
236
+        <tr>
237
+          <td></td>
238
+          <td>)</td>
239
+          <td></td><td></td>
240
+        </tr>
241
+      </table>
242
+</div><div class="memdoc">
243
+
244
+<p>Constructor for a line, specifying the (fromX,fromY) and (toX,toY) </p>
245
+<dl class="params"><dt>Parameters</dt><dd>
246
+  <table class="params">
247
+    <tr><td class="paramname">fromX</td><td>starting x coordinate </td></tr>
248
+    <tr><td class="paramname">fromY</td><td>starting y coordinate </td></tr>
249
+    <tr><td class="paramname">toX</td><td>end x coordinate </td></tr>
250
+    <tr><td class="paramname">toY</td><td>end y coordinate </td></tr>
251
+    <tr><td class="paramname">w</td><td>pen width </td></tr>
252
+    <tr><td class="paramname">c</td><td>line color </td></tr>
253
+    <tr><td class="paramname">parent</td><td>parent of this line </td></tr>
254
+  </table>
255
+  </dd>
256
+</dl>
257
+
258
+</div>
259
+</div>
260
+<a class="anchor" id="a742b2aea487313953635d1e504c6b866"></a>
261
+<div class="memitem">
262
+<div class="memproto">
263
+      <table class="memname">
264
+        <tr>
265
+          <td class="memname">Line::Line </td>
266
+          <td>(</td>
267
+          <td class="paramtype">int&#160;</td>
268
+          <td class="paramname"><em>fromX</em>, </td>
269
+        </tr>
270
+        <tr>
271
+          <td class="paramkey"></td>
272
+          <td></td>
273
+          <td class="paramtype">int&#160;</td>
274
+          <td class="paramname"><em>fromY</em>, </td>
275
+        </tr>
276
+        <tr>
277
+          <td class="paramkey"></td>
278
+          <td></td>
279
+          <td class="paramtype">int&#160;</td>
280
+          <td class="paramname"><em>length</em>, </td>
281
+        </tr>
282
+        <tr>
283
+          <td class="paramkey"></td>
284
+          <td></td>
285
+          <td class="paramtype">double&#160;</td>
286
+          <td class="paramname"><em>angle</em>, </td>
287
+        </tr>
288
+        <tr>
289
+          <td class="paramkey"></td>
290
+          <td></td>
291
+          <td class="paramtype">int&#160;</td>
292
+          <td class="paramname"><em>w</em>, </td>
293
+        </tr>
294
+        <tr>
295
+          <td class="paramkey"></td>
296
+          <td></td>
297
+          <td class="paramtype">QColor&#160;</td>
298
+          <td class="paramname"><em>c</em>, </td>
299
+        </tr>
300
+        <tr>
301
+          <td class="paramkey"></td>
302
+          <td></td>
303
+          <td class="paramtype">QWidget *&#160;</td>
304
+          <td class="paramname"><em>parent</em> = <code>0</code>&#160;</td>
305
+        </tr>
306
+        <tr>
307
+          <td></td>
308
+          <td>)</td>
309
+          <td></td><td></td>
310
+        </tr>
311
+      </table>
312
+</div><div class="memdoc">
313
+
314
+<p>Constructor for a line, specifying the (fromX,fromY) and (toX,toY) </p>
315
+<p>Constructor for a line, specifying (fromX, fromY) and the <b>length</b> and <b>angle</b>.</p>
316
+<dl class="params"><dt>Parameters</dt><dd>
317
+  <table class="params">
318
+    <tr><td class="paramname">fromX</td><td>starting x coordinate </td></tr>
319
+    <tr><td class="paramname">fromY</td><td>starting y coordinate </td></tr>
320
+    <tr><td class="paramname">length</td><td>length of the line </td></tr>
321
+    <tr><td class="paramname">angle</td><td>angle </td></tr>
322
+    <tr><td class="paramname">w</td><td>pen width </td></tr>
323
+    <tr><td class="paramname">c</td><td>line color </td></tr>
324
+    <tr><td class="paramname">parent</td><td>parent of this line </td></tr>
325
+  </table>
326
+  </dd>
327
+</dl>
328
+
329
+</div>
330
+</div>
331
+<h2 class="groupheader">Member Function Documentation</h2>
332
+<a class="anchor" id="a0e23ee7edc154bd73fefab4d88cae150"></a>
333
+<div class="memitem">
334
+<div class="memproto">
335
+      <table class="memname">
336
+        <tr>
337
+          <td class="memname">int Line::getX0 </td>
338
+          <td>(</td>
339
+          <td class="paramname"></td><td>)</td>
340
+          <td></td>
341
+        </tr>
342
+      </table>
343
+</div><div class="memdoc">
344
+
345
+<p>Getter for the starting coordinate x. </p>
346
+<dl class="section return"><dt>Returns</dt><dd>starting coordinate x. </dd></dl>
347
+
348
+</div>
349
+</div>
350
+<a class="anchor" id="a1f51d8df03219f5f63d656bc0e9b2830"></a>
351
+<div class="memitem">
352
+<div class="memproto">
353
+      <table class="memname">
354
+        <tr>
355
+          <td class="memname">int Line::getX1 </td>
356
+          <td>(</td>
357
+          <td class="paramname"></td><td>)</td>
358
+          <td></td>
359
+        </tr>
360
+      </table>
361
+</div><div class="memdoc">
362
+
363
+<p>Getter for the ending coordinate x. </p>
364
+<dl class="section return"><dt>Returns</dt><dd>ending coordinate x. </dd></dl>
365
+
366
+</div>
367
+</div>
368
+<a class="anchor" id="a971146fd8bbf711123f03e45daf923c9"></a>
369
+<div class="memitem">
370
+<div class="memproto">
371
+      <table class="memname">
372
+        <tr>
373
+          <td class="memname">int Line::getY0 </td>
374
+          <td>(</td>
375
+          <td class="paramname"></td><td>)</td>
376
+          <td></td>
377
+        </tr>
378
+      </table>
379
+</div><div class="memdoc">
380
+
381
+<p>Getter for the starting coordinate y. </p>
382
+<dl class="section return"><dt>Returns</dt><dd>starting coordinate y. </dd></dl>
383
+
384
+</div>
385
+</div>
386
+<a class="anchor" id="a9cc398fdcf93212a3e4db28ac26a88a9"></a>
387
+<div class="memitem">
388
+<div class="memproto">
389
+      <table class="memname">
390
+        <tr>
391
+          <td class="memname">int Line::getY1 </td>
392
+          <td>(</td>
393
+          <td class="paramname"></td><td>)</td>
394
+          <td></td>
395
+        </tr>
396
+      </table>
397
+</div><div class="memdoc">
398
+
399
+<p>Getter for the ending coordinate y. </p>
400
+<dl class="section return"><dt>Returns</dt><dd>ending coordinate y. </dd></dl>
401
+
402
+</div>
403
+</div>
404
+<a class="anchor" id="ac1475ffee823a7c05b2ac91bfe61596d"></a>
405
+<div class="memitem">
406
+<div class="memproto">
407
+      <table class="memname">
408
+        <tr>
409
+          <td class="memname">void Line::setCoords </td>
410
+          <td>(</td>
411
+          <td class="paramtype">int&#160;</td>
412
+          <td class="paramname"><em>fromX</em>, </td>
413
+        </tr>
414
+        <tr>
415
+          <td class="paramkey"></td>
416
+          <td></td>
417
+          <td class="paramtype">int&#160;</td>
418
+          <td class="paramname"><em>fromY</em>, </td>
419
+        </tr>
420
+        <tr>
421
+          <td class="paramkey"></td>
422
+          <td></td>
423
+          <td class="paramtype">int&#160;</td>
424
+          <td class="paramname"><em>toX</em>, </td>
425
+        </tr>
426
+        <tr>
427
+          <td class="paramkey"></td>
428
+          <td></td>
429
+          <td class="paramtype">int&#160;</td>
430
+          <td class="paramname"><em>toY</em>&#160;</td>
431
+        </tr>
432
+        <tr>
433
+          <td></td>
434
+          <td>)</td>
435
+          <td></td><td></td>
436
+        </tr>
437
+      </table>
438
+</div><div class="memdoc">
439
+
440
+<p>Setter for the line coordinates. </p>
441
+<dl class="params"><dt>Parameters</dt><dd>
442
+  <table class="params">
443
+    <tr><td class="paramname">fromX</td><td>starting x coordinate </td></tr>
444
+    <tr><td class="paramname">fromY</td><td>starting y coordinate </td></tr>
445
+    <tr><td class="paramname">toX</td><td>end x coordinate </td></tr>
446
+    <tr><td class="paramname">toY</td><td>end y coordinate </td></tr>
447
+  </table>
448
+  </dd>
449
+</dl>
450
+
451
+</div>
452
+</div>
453
+<a class="anchor" id="ac5b6d8e786cf3820fa36b8bda7130823"></a>
454
+<div class="memitem">
455
+<div class="memproto">
456
+      <table class="memname">
457
+        <tr>
458
+          <td class="memname">void Line::setpenColor </td>
459
+          <td>(</td>
460
+          <td class="paramtype">QColor&#160;</td>
461
+          <td class="paramname"><em>c</em></td><td>)</td>
462
+          <td></td>
463
+        </tr>
464
+      </table>
465
+</div><div class="memdoc">
466
+
467
+<p>Setter for the pen color. </p>
468
+<dl class="params"><dt>Parameters</dt><dd>
469
+  <table class="params">
470
+    <tr><td class="paramname">c</td><td>line color </td></tr>
471
+  </table>
472
+  </dd>
473
+</dl>
474
+
475
+</div>
476
+</div>
477
+<a class="anchor" id="a346d88820371b5a4710eed8a638fc451"></a>
478
+<div class="memitem">
479
+<div class="memproto">
480
+      <table class="memname">
481
+        <tr>
482
+          <td class="memname">void Line::setPenWidth </td>
483
+          <td>(</td>
484
+          <td class="paramtype">int&#160;</td>
485
+          <td class="paramname"><em>w</em></td><td>)</td>
486
+          <td></td>
487
+        </tr>
488
+      </table>
489
+</div><div class="memdoc">
490
+
491
+<p>Setter for the pen width. </p>
492
+<dl class="params"><dt>Parameters</dt><dd>
493
+  <table class="params">
494
+    <tr><td class="paramname">w</td><td>pen width </td></tr>
495
+  </table>
496
+  </dd>
497
+</dl>
498
+
499
+</div>
500
+</div>
501
+<h2 class="groupheader">Member Data Documentation</h2>
502
+<a class="anchor" id="a8778d952d4d2867bd2f31e5857c368b4"></a>
503
+<div class="memitem">
504
+<div class="memproto">
505
+<table class="mlabels">
506
+  <tr>
507
+  <td class="mlabels-left">
508
+      <table class="memname">
509
+        <tr>
510
+          <td class="memname">QColor Line::penColor</td>
511
+        </tr>
512
+      </table>
513
+  </td>
514
+  <td class="mlabels-right">
515
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
516
+  </tr>
517
+</table>
518
+</div><div class="memdoc">
519
+<p>pen color / color del boligrafo </p>
520
+
521
+</div>
522
+</div>
523
+<a class="anchor" id="a4fc1d856f822dd0b88676e6c22a65f14"></a>
524
+<div class="memitem">
525
+<div class="memproto">
526
+<table class="mlabels">
527
+  <tr>
528
+  <td class="mlabels-left">
529
+      <table class="memname">
530
+        <tr>
531
+          <td class="memname">int Line::penWidth</td>
532
+        </tr>
533
+      </table>
534
+  </td>
535
+  <td class="mlabels-right">
536
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
537
+  </tr>
538
+</table>
539
+</div><div class="memdoc">
540
+<p>pen width / ancho del boligrafo </p>
541
+
542
+</div>
543
+</div>
544
+<a class="anchor" id="a647f6f5c0e2b197e3671f8bdb9ff64a2"></a>
545
+<div class="memitem">
546
+<div class="memproto">
547
+<table class="mlabels">
548
+  <tr>
549
+  <td class="mlabels-left">
550
+      <table class="memname">
551
+        <tr>
552
+          <td class="memname">int Line::x0</td>
553
+        </tr>
554
+      </table>
555
+  </td>
556
+  <td class="mlabels-right">
557
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
558
+  </tr>
559
+</table>
560
+</div><div class="memdoc">
561
+<p>initial coord x / coordenada inicial x </p>
562
+
563
+</div>
564
+</div>
565
+<a class="anchor" id="a1c37aeef714f6c96454c2a9a2dadb69a"></a>
566
+<div class="memitem">
567
+<div class="memproto">
568
+<table class="mlabels">
569
+  <tr>
570
+  <td class="mlabels-left">
571
+      <table class="memname">
572
+        <tr>
573
+          <td class="memname">int Line::x1</td>
574
+        </tr>
575
+      </table>
576
+  </td>
577
+  <td class="mlabels-right">
578
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
579
+  </tr>
580
+</table>
581
+</div><div class="memdoc">
582
+<p>ending coord x / coordenada final x </p>
583
+
584
+</div>
585
+</div>
586
+<a class="anchor" id="a8e276229892969c7d82f56581e0c168b"></a>
587
+<div class="memitem">
588
+<div class="memproto">
589
+<table class="mlabels">
590
+  <tr>
591
+  <td class="mlabels-left">
592
+      <table class="memname">
593
+        <tr>
594
+          <td class="memname">int Line::y0</td>
595
+        </tr>
596
+      </table>
597
+  </td>
598
+  <td class="mlabels-right">
599
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
600
+  </tr>
601
+</table>
602
+</div><div class="memdoc">
603
+<p>initial coord y / coordenada inicial y </p>
604
+
605
+</div>
606
+</div>
607
+<a class="anchor" id="a850c96af61bd595a68b5e867540204f1"></a>
608
+<div class="memitem">
609
+<div class="memproto">
610
+<table class="mlabels">
611
+  <tr>
612
+  <td class="mlabels-left">
613
+      <table class="memname">
614
+        <tr>
615
+          <td class="memname">int Line::y1</td>
616
+        </tr>
617
+      </table>
618
+  </td>
619
+  <td class="mlabels-right">
620
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
621
+  </tr>
622
+</table>
623
+</div><div class="memdoc">
624
+<p>ending coord y / coordenada final y </p>
625
+
626
+</div>
627
+</div>
628
+<hr/>The documentation for this class was generated from the following files:<ul>
629
+<li><a class="el" href="line_8h_source.html">line.h</a></li>
630
+<li>line.cpp</li>
631
+</ul>
632
+</div><!-- contents -->
633
+<!-- start footer part -->
634
+<hr class="footer"/><address class="footer"><small>
635
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
636
+<img class="footer" src="doxygen.png" alt="doxygen"/>
637
+</a> 1.8.9.1
638
+</small></address>
639
+</body>
640
+</html>

Двоичные данные
doc/en/html/class_line.png Просмотреть файл


+ 107
- 0
doc/en/html/classes.html Просмотреть файл

@@ -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_D">D</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</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_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;D&#160;&#160;</div></td></tr></table>
92
+</td><td rowspan="2" valign="bottom"><a name="letter_L"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;L&#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_drawing_window.html">DrawingWindow</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_line.html">Line</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_D">D</a>&#160;|&#160;<a class="qindex" href="#letter_L">L</a></div>
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Mon Jun 22 2015 15:30:52 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>

Двоичные данные
doc/en/html/closed.png Просмотреть файл


Двоичные данные
doc/en/html/doc.png Просмотреть файл


+ 1449
- 0
doc/en/html/doxygen.css
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


Двоичные данные
doc/en/html/doxygen.png Просмотреть файл


+ 140
- 0
doc/en/html/drawing_window_8h_source.html Просмотреть файл

@@ -0,0 +1,140 @@
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: drawingWindow.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
+    </ul>
65
+  </div>
66
+</div><!-- top -->
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 class="header">
82
+  <div class="headertitle">
83
+<div class="title">drawingWindow.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef MAINWINDOW_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define MAINWINDOW_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QMainWindow&gt;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;line.h&quot;</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_ui.html">Ui</a> {</div>
96
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">class </span><a class="code" href="class_drawing_window.html">DrawingWindow</a>;</div>
97
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;};</div>
98
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
99
+<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_drawing_window.html">   14</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_drawing_window.html">DrawingWindow</a> : <span class="keyword">public</span> QMainWindow</div>
100
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
101
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    Q_OBJECT</div>
102
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
103
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div>
104
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_drawing_window.html">DrawingWindow</a>(QWidget *parent = 0);</div>
105
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
106
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    ~<a class="code" href="class_drawing_window.html">DrawingWindow</a>();</div>
107
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
108
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordtype">void</span> addLine(<span class="keywordtype">int</span> x0, <span class="keywordtype">int</span> y0, <span class="keywordtype">int</span> x1, <span class="keywordtype">int</span> y1, <span class="keywordtype">int</span> width, QColor color);</div>
109
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
110
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordtype">void</span> addLinePolar(<span class="keywordtype">int</span> x0, <span class="keywordtype">int</span> y0, <span class="keywordtype">int</span> length, <span class="keywordtype">double</span> angle, <span class="keywordtype">int</span> width, QColor color);</div>
111
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
112
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordtype">void</span> box(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> sideLength, QColor c) ;</div>
113
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
114
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">void</span> boxes(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> sideLength, <span class="keywordtype">double</span> shrinkFactor, <span class="keywordtype">int</span> smallestLength, QColor c) ;</div>
115
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
116
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keywordtype">void</span> snowHelper(<span class="keywordtype">int</span> size, <span class="keywordtype">int</span> level) ;</div>
117
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
118
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordtype">void</span> snowflake(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> size, <span class="keywordtype">double</span> angle, <span class="keywordtype">int</span> level, QColor c) ;</div>
119
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">private</span>:</div>
120
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    Ui::DrawingWindow *ui;</div>
121
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    vector &lt;Line *&gt; *vL;</div>
122
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
123
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="keyword">protected</span>:</div>
124
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
125
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="keywordtype">void</span> paintEvent(QPaintEvent *);</div>
126
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;};</div>
127
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
128
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#endif // MAINWINDOW_H</span></div>
129
+<div class="ttc" id="namespace_ui_html"><div class="ttname"><a href="namespace_ui.html">Ui</a></div><div class="ttdef"><b>Definition:</b> drawingWindow.h:10</div></div>
130
+<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
131
+<div class="ttc" id="class_drawing_window_html"><div class="ttname"><a href="class_drawing_window.html">DrawingWindow</a></div><div class="ttdef"><b>Definition:</b> drawingWindow.h:14</div></div>
132
+</div><!-- fragment --></div><!-- contents -->
133
+<!-- start footer part -->
134
+<hr class="footer"/><address class="footer"><small>
135
+Generated on Mon Jun 22 2015 15:30:51 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
136
+<img class="footer" src="doxygen.png" alt="doxygen"/>
137
+</a> 1.8.9.1
138
+</small></address>
139
+</body>
140
+</html>

+ 97
- 0
doc/en/html/dynsections.js Просмотреть файл

@@ -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
+

+ 100
- 0
doc/en/html/files.html Просмотреть файл

@@ -0,0 +1,100 @@
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
+    </ul>
65
+  </div>
66
+</div><!-- top -->
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 class="header">
82
+  <div class="headertitle">
83
+<div class="title">File List</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
87
+<table class="directory">
88
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="drawing_window_8h_source.html"><span class="icondoc"></span></a><b>drawingWindow.h</b></td><td class="desc"></td></tr>
89
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="line_8h_source.html"><span class="icondoc"></span></a><b>line.h</b></td><td class="desc"></td></tr>
90
+</table>
91
+</div><!-- directory -->
92
+</div><!-- contents -->
93
+<!-- start footer part -->
94
+<hr class="footer"/><address class="footer"><small>
95
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
96
+<img class="footer" src="doxygen.png" alt="doxygen"/>
97
+</a> 1.8.9.1
98
+</small></address>
99
+</body>
100
+</html>

Двоичные данные
doc/en/html/folderclosed.png Просмотреть файл


Двоичные данные
doc/en/html/folderopen.png Просмотреть файл


+ 169
- 0
doc/en/html/functions.html Просмотреть файл

@@ -0,0 +1,169 @@
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
+    </ul>
75
+  </div>
76
+</div><!-- top -->
77
+<!-- window showing the filter options -->
78
+<div id="MSearchSelectWindow"
79
+     onmouseover="return searchBox.OnSearchSelectShow()"
80
+     onmouseout="return searchBox.OnSearchSelectHide()"
81
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
82
+</div>
83
+
84
+<!-- iframe showing the search results (closed by default) -->
85
+<div id="MSearchResultsWindow">
86
+<iframe src="javascript:void(0)" frameborder="0" 
87
+        name="MSearchResults" id="MSearchResults">
88
+</iframe>
89
+</div>
90
+
91
+<div class="contents">
92
+<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul>
93
+<li>addLine()
94
+: <a class="el" href="class_drawing_window.html#a3097e096223530c9f93737441d77422f">DrawingWindow</a>
95
+</li>
96
+<li>addLinePolar()
97
+: <a class="el" href="class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4">DrawingWindow</a>
98
+</li>
99
+<li>box()
100
+: <a class="el" href="class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95">DrawingWindow</a>
101
+</li>
102
+<li>boxes()
103
+: <a class="el" href="class_drawing_window.html#aa58d7247e92b513920c788523187fcbd">DrawingWindow</a>
104
+</li>
105
+<li>DrawingWindow()
106
+: <a class="el" href="class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494">DrawingWindow</a>
107
+</li>
108
+<li>getX0()
109
+: <a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">Line</a>
110
+</li>
111
+<li>getX1()
112
+: <a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">Line</a>
113
+</li>
114
+<li>getY0()
115
+: <a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">Line</a>
116
+</li>
117
+<li>getY1()
118
+: <a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">Line</a>
119
+</li>
120
+<li>Line()
121
+: <a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>
122
+</li>
123
+<li>paintEvent()
124
+: <a class="el" href="class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a">DrawingWindow</a>
125
+, <a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">Line</a>
126
+</li>
127
+<li>penColor
128
+: <a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">Line</a>
129
+</li>
130
+<li>penWidth
131
+: <a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">Line</a>
132
+</li>
133
+<li>setCoords()
134
+: <a class="el" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">Line</a>
135
+</li>
136
+<li>setpenColor()
137
+: <a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">Line</a>
138
+</li>
139
+<li>setPenWidth()
140
+: <a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">Line</a>
141
+</li>
142
+<li>snowflake()
143
+: <a class="el" href="class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f">DrawingWindow</a>
144
+</li>
145
+<li>snowHelper()
146
+: <a class="el" href="class_drawing_window.html#a5a5f640d60404722d029ec14896692a0">DrawingWindow</a>
147
+</li>
148
+<li>x0
149
+: <a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">Line</a>
150
+</li>
151
+<li>x1
152
+: <a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">Line</a>
153
+</li>
154
+<li>y0
155
+: <a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">Line</a>
156
+</li>
157
+<li>y1
158
+: <a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">Line</a>
159
+</li>
160
+</ul>
161
+</div><!-- contents -->
162
+<!-- start footer part -->
163
+<hr class="footer"/><address class="footer"><small>
164
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
165
+<img class="footer" src="doxygen.png" alt="doxygen"/>
166
+</a> 1.8.9.1
167
+</small></address>
168
+</body>
169
+</html>

+ 151
- 0
doc/en/html/functions_func.html Просмотреть файл

@@ -0,0 +1,151 @@
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
+    </ul>
75
+  </div>
76
+</div><!-- top -->
77
+<!-- window showing the filter options -->
78
+<div id="MSearchSelectWindow"
79
+     onmouseover="return searchBox.OnSearchSelectShow()"
80
+     onmouseout="return searchBox.OnSearchSelectHide()"
81
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
82
+</div>
83
+
84
+<!-- iframe showing the search results (closed by default) -->
85
+<div id="MSearchResultsWindow">
86
+<iframe src="javascript:void(0)" frameborder="0" 
87
+        name="MSearchResults" id="MSearchResults">
88
+</iframe>
89
+</div>
90
+
91
+<div class="contents">
92
+&#160;<ul>
93
+<li>addLine()
94
+: <a class="el" href="class_drawing_window.html#a3097e096223530c9f93737441d77422f">DrawingWindow</a>
95
+</li>
96
+<li>addLinePolar()
97
+: <a class="el" href="class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4">DrawingWindow</a>
98
+</li>
99
+<li>box()
100
+: <a class="el" href="class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95">DrawingWindow</a>
101
+</li>
102
+<li>boxes()
103
+: <a class="el" href="class_drawing_window.html#aa58d7247e92b513920c788523187fcbd">DrawingWindow</a>
104
+</li>
105
+<li>DrawingWindow()
106
+: <a class="el" href="class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494">DrawingWindow</a>
107
+</li>
108
+<li>getX0()
109
+: <a class="el" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">Line</a>
110
+</li>
111
+<li>getX1()
112
+: <a class="el" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">Line</a>
113
+</li>
114
+<li>getY0()
115
+: <a class="el" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">Line</a>
116
+</li>
117
+<li>getY1()
118
+: <a class="el" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">Line</a>
119
+</li>
120
+<li>Line()
121
+: <a class="el" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>
122
+</li>
123
+<li>paintEvent()
124
+: <a class="el" href="class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a">DrawingWindow</a>
125
+, <a class="el" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">Line</a>
126
+</li>
127
+<li>setCoords()
128
+: <a class="el" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">Line</a>
129
+</li>
130
+<li>setpenColor()
131
+: <a class="el" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">Line</a>
132
+</li>
133
+<li>setPenWidth()
134
+: <a class="el" href="class_line.html#a346d88820371b5a4710eed8a638fc451">Line</a>
135
+</li>
136
+<li>snowflake()
137
+: <a class="el" href="class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f">DrawingWindow</a>
138
+</li>
139
+<li>snowHelper()
140
+: <a class="el" href="class_drawing_window.html#a5a5f640d60404722d029ec14896692a0">DrawingWindow</a>
141
+</li>
142
+</ul>
143
+</div><!-- contents -->
144
+<!-- start footer part -->
145
+<hr class="footer"/><address class="footer"><small>
146
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
147
+<img class="footer" src="doxygen.png" alt="doxygen"/>
148
+</a> 1.8.9.1
149
+</small></address>
150
+</body>
151
+</html>

+ 120
- 0
doc/en/html/functions_vars.html Просмотреть файл

@@ -0,0 +1,120 @@
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
+    </ul>
75
+  </div>
76
+</div><!-- top -->
77
+<!-- window showing the filter options -->
78
+<div id="MSearchSelectWindow"
79
+     onmouseover="return searchBox.OnSearchSelectShow()"
80
+     onmouseout="return searchBox.OnSearchSelectHide()"
81
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
82
+</div>
83
+
84
+<!-- iframe showing the search results (closed by default) -->
85
+<div id="MSearchResultsWindow">
86
+<iframe src="javascript:void(0)" frameborder="0" 
87
+        name="MSearchResults" id="MSearchResults">
88
+</iframe>
89
+</div>
90
+
91
+<div class="contents">
92
+&#160;<ul>
93
+<li>penColor
94
+: <a class="el" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">Line</a>
95
+</li>
96
+<li>penWidth
97
+: <a class="el" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">Line</a>
98
+</li>
99
+<li>x0
100
+: <a class="el" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">Line</a>
101
+</li>
102
+<li>x1
103
+: <a class="el" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">Line</a>
104
+</li>
105
+<li>y0
106
+: <a class="el" href="class_line.html#a8e276229892969c7d82f56581e0c168b">Line</a>
107
+</li>
108
+<li>y1
109
+: <a class="el" href="class_line.html#a850c96af61bd595a68b5e867540204f1">Line</a>
110
+</li>
111
+</ul>
112
+</div><!-- contents -->
113
+<!-- start footer part -->
114
+<hr class="footer"/><address class="footer"><small>
115
+Generated on Mon Jun 22 2015 15:30:52 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
116
+<img class="footer" src="doxygen.png" alt="doxygen"/>
117
+</a> 1.8.9.1
118
+</small></address>
119
+</body>
120
+</html>

+ 105
- 0
doc/en/html/hierarchy.html Просмотреть файл

@@ -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_drawing_window.html" target="_self">DrawingWindow</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_line.html" target="_self">Line</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 Mon Jun 22 2015 15:30:52 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 Просмотреть файл

@@ -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 Mon Jun 22 2015 15:30:52 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
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 158
- 0
doc/en/html/line_8h_source.html Просмотреть файл

@@ -0,0 +1,158 @@
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: line.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
+    </ul>
65
+  </div>
66
+</div><!-- top -->
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 class="header">
82
+  <div class="headertitle">
83
+<div class="title">line.h</div>  </div>
84
+</div><!--header-->
85
+<div class="contents">
86
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef LINE_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define LINE_H</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QWidget&gt;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QPainter&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
92
+<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_line.html">   11</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_line.html">Line</a> : <span class="keyword">public</span> QWidget</div>
93
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div>
94
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    Q_OBJECT</div>
95
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">public</span>:</div>
96
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
97
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>(QWidget *parent = 0);</div>
98
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
99
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <a class="code" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>(<span class="keywordtype">int</span> fromX, <span class="keywordtype">int</span> fromY, <span class="keywordtype">int</span> toX, <span class="keywordtype">int</span> toY, <span class="keywordtype">int</span> w, QColor c, QWidget *parent = 0);</div>
100
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
101
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line</a>(<span class="keywordtype">int</span> fromX, <span class="keywordtype">int</span> fromY, <span class="keywordtype">int</span> length, <span class="keywordtype">double</span> angle, <span class="keywordtype">int</span> w, QColor c, QWidget *parent = 0);</div>
102
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
103
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">setCoords</a>(<span class="keywordtype">int</span> fromX, <span class="keywordtype">int</span> fromY, <span class="keywordtype">int</span> toX, <span class="keywordtype">int</span> toY);</div>
104
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
105
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">setpenColor</a>(QColor c);</div>
106
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
107
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_line.html#a346d88820371b5a4710eed8a638fc451">setPenWidth</a>(<span class="keywordtype">int</span> w);</div>
108
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
109
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">getX0</a>();</div>
110
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
111
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a971146fd8bbf711123f03e45daf923c9">getY0</a>();</div>
112
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
113
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">getX1</a>();</div>
114
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
115
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">getY1</a>();</div>
116
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
117
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;signals:</div>
118
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
119
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="keyword">public</span> slots:</div>
120
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
121
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keyword">protected</span>:</div>
122
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">paintEvent</a>(QPaintEvent *);</div>
123
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
124
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keyword">private</span>:</div>
125
+<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_line.html#a850c96af61bd595a68b5e867540204f1">  154</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">x0</a>, </div>
126
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <a class="code" href="class_line.html#a8e276229892969c7d82f56581e0c168b">y0</a>,     </div>
127
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">x1</a>,     </div>
128
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <a class="code" href="class_line.html#a850c96af61bd595a68b5e867540204f1">y1</a>;     </div>
129
+<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">  158</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">penWidth</a>; </div>
130
+<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">  159</a></span>&#160;    QColor <a class="code" href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">penColor</a>; </div>
131
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;};</div>
132
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
133
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#endif // LINE_H</span></div>
134
+<div class="ttc" id="class_line_html_a4d475f9d634f50933ca84e25d7cf32f9"><div class="ttname"><a href="class_line.html#a4d475f9d634f50933ca84e25d7cf32f9">Line::Line</a></div><div class="ttdeci">Line(QWidget *parent=0)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> line.cpp:12</div></div>
135
+<div class="ttc" id="class_line_html_a1c37aeef714f6c96454c2a9a2dadb69a"><div class="ttname"><a href="class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a">Line::x1</a></div><div class="ttdeci">int x1</div><div class="ttdef"><b>Definition:</b> line.h:154</div></div>
136
+<div class="ttc" id="class_line_html_a8778d952d4d2867bd2f31e5857c368b4"><div class="ttname"><a href="class_line.html#a8778d952d4d2867bd2f31e5857c368b4">Line::penColor</a></div><div class="ttdeci">QColor penColor</div><div class="ttdef"><b>Definition:</b> line.h:159</div></div>
137
+<div class="ttc" id="class_line_html_a8e276229892969c7d82f56581e0c168b"><div class="ttname"><a href="class_line.html#a8e276229892969c7d82f56581e0c168b">Line::y0</a></div><div class="ttdeci">int y0</div><div class="ttdef"><b>Definition:</b> line.h:154</div></div>
138
+<div class="ttc" id="class_line_html_a850c96af61bd595a68b5e867540204f1"><div class="ttname"><a href="class_line.html#a850c96af61bd595a68b5e867540204f1">Line::y1</a></div><div class="ttdeci">int y1</div><div class="ttdef"><b>Definition:</b> line.h:154</div></div>
139
+<div class="ttc" id="class_line_html_ac1475ffee823a7c05b2ac91bfe61596d"><div class="ttname"><a href="class_line.html#ac1475ffee823a7c05b2ac91bfe61596d">Line::setCoords</a></div><div class="ttdeci">void setCoords(int fromX, int fromY, int toX, int toY)</div><div class="ttdoc">Setter for the line coordinates. </div><div class="ttdef"><b>Definition:</b> line.cpp:87</div></div>
140
+<div class="ttc" id="class_line_html_a1f51d8df03219f5f63d656bc0e9b2830"><div class="ttname"><a href="class_line.html#a1f51d8df03219f5f63d656bc0e9b2830">Line::getX1</a></div><div class="ttdeci">int getX1()</div><div class="ttdoc">Getter for the ending coordinate x. </div><div class="ttdef"><b>Definition:</b> line.cpp:138</div></div>
141
+<div class="ttc" id="class_line_html_a346d88820371b5a4710eed8a638fc451"><div class="ttname"><a href="class_line.html#a346d88820371b5a4710eed8a638fc451">Line::setPenWidth</a></div><div class="ttdeci">void setPenWidth(int w)</div><div class="ttdoc">Setter for the pen width. </div><div class="ttdef"><b>Definition:</b> line.cpp:111</div></div>
142
+<div class="ttc" id="class_line_html_a9cc398fdcf93212a3e4db28ac26a88a9"><div class="ttname"><a href="class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9">Line::getY1</a></div><div class="ttdeci">int getY1()</div><div class="ttdoc">Getter for the ending coordinate y. </div><div class="ttdef"><b>Definition:</b> line.cpp:147</div></div>
143
+<div class="ttc" id="class_line_html"><div class="ttname"><a href="class_line.html">Line</a></div><div class="ttdef"><b>Definition:</b> line.h:11</div></div>
144
+<div class="ttc" id="class_line_html_a647f6f5c0e2b197e3671f8bdb9ff64a2"><div class="ttname"><a href="class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2">Line::x0</a></div><div class="ttdeci">int x0</div><div class="ttdef"><b>Definition:</b> line.h:154</div></div>
145
+<div class="ttc" id="class_line_html_a4fc1d856f822dd0b88676e6c22a65f14"><div class="ttname"><a href="class_line.html#a4fc1d856f822dd0b88676e6c22a65f14">Line::penWidth</a></div><div class="ttdeci">int penWidth</div><div class="ttdef"><b>Definition:</b> line.h:158</div></div>
146
+<div class="ttc" id="class_line_html_a971146fd8bbf711123f03e45daf923c9"><div class="ttname"><a href="class_line.html#a971146fd8bbf711123f03e45daf923c9">Line::getY0</a></div><div class="ttdeci">int getY0()</div><div class="ttdoc">Getter for the starting coordinate y. </div><div class="ttdef"><b>Definition:</b> line.cpp:129</div></div>
147
+<div class="ttc" id="class_line_html_a0e23ee7edc154bd73fefab4d88cae150"><div class="ttname"><a href="class_line.html#a0e23ee7edc154bd73fefab4d88cae150">Line::getX0</a></div><div class="ttdeci">int getX0()</div><div class="ttdoc">Getter for the starting coordinate x. </div><div class="ttdef"><b>Definition:</b> line.cpp:120</div></div>
148
+<div class="ttc" id="class_line_html_a7e1f30fa9d7375fd67a2b4cf5a1b6a76"><div class="ttname"><a href="class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76">Line::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *)</div><div class="ttdoc">The paint event function is automatically invoked whenever a resize or repaint happens. </div><div class="ttdef"><b>Definition:</b> line.cpp:156</div></div>
149
+<div class="ttc" id="class_line_html_ac5b6d8e786cf3820fa36b8bda7130823"><div class="ttname"><a href="class_line.html#ac5b6d8e786cf3820fa36b8bda7130823">Line::setpenColor</a></div><div class="ttdeci">void setpenColor(QColor c)</div><div class="ttdoc">Setter for the pen color. </div><div class="ttdef"><b>Definition:</b> line.cpp:102</div></div>
150
+</div><!-- fragment --></div><!-- contents -->
151
+<!-- start footer part -->
152
+<hr class="footer"/><address class="footer"><small>
153
+Generated on Mon Jun 22 2015 15:30:51 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
154
+<img class="footer" src="doxygen.png" alt="doxygen"/>
155
+</a> 1.8.9.1
156
+</small></address>
157
+</body>
158
+</html>

Двоичные данные
doc/en/html/nav_f.png Просмотреть файл


Двоичные данные
doc/en/html/nav_g.png Просмотреть файл


Двоичные данные
doc/en/html/nav_h.png Просмотреть файл


Двоичные данные
doc/en/html/open.png Просмотреть файл


+ 26
- 0
doc/en/html/search/all_0.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['addline',['addLine',['../class_drawing_window.html#a3097e096223530c9f93737441d77422f',1,'DrawingWindow']]],
4
+  ['addlinepolar',['addLinePolar',['../class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4',1,'DrawingWindow']]]
5
+];

+ 26
- 0
doc/en/html/search/all_1.html Просмотреть файл

@@ -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>

+ 5
- 0
doc/en/html/search/all_1.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['box',['box',['../class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95',1,'DrawingWindow']]],
4
+  ['boxes',['boxes',['../class_drawing_window.html#aa58d7247e92b513920c788523187fcbd',1,'DrawingWindow']]]
5
+];

+ 26
- 0
doc/en/html/search/all_2.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['drawingwindow',['DrawingWindow',['../class_drawing_window.html',1,'DrawingWindow'],['../class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494',1,'DrawingWindow::DrawingWindow()']]]
4
+];

+ 26
- 0
doc/en/html/search/all_3.html Просмотреть файл

@@ -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>

+ 7
- 0
doc/en/html/search/all_3.js Просмотреть файл

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getx0',['getX0',['../class_line.html#a0e23ee7edc154bd73fefab4d88cae150',1,'Line']]],
4
+  ['getx1',['getX1',['../class_line.html#a1f51d8df03219f5f63d656bc0e9b2830',1,'Line']]],
5
+  ['gety0',['getY0',['../class_line.html#a971146fd8bbf711123f03e45daf923c9',1,'Line']]],
6
+  ['gety1',['getY1',['../class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9',1,'Line']]]
7
+];

+ 26
- 0
doc/en/html/search/all_4.html Просмотреть файл

@@ -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>

+ 4
- 0
doc/en/html/search/all_4.js Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['line',['Line',['../class_line.html',1,'Line'],['../class_line.html#a4d475f9d634f50933ca84e25d7cf32f9',1,'Line::Line(QWidget *parent=0)'],['../class_line.html#a37f70dab8d5cc7560e6362093a3aa1b9',1,'Line::Line(int fromX, int fromY, int toX, int toY, int w, QColor c, QWidget *parent=0)'],['../class_line.html#a742b2aea487313953635d1e504c6b866',1,'Line::Line(int fromX, int fromY, int length, double angle, int w, QColor c, QWidget *parent=0)']]]
4
+];

+ 26
- 0
doc/en/html/search/all_5.html Просмотреть файл

@@ -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>

+ 6
- 0
doc/en/html/search/all_5.js Просмотреть файл

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a',1,'DrawingWindow::paintEvent()'],['../class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76',1,'Line::paintEvent()']]],
4
+  ['pencolor',['penColor',['../class_line.html#a8778d952d4d2867bd2f31e5857c368b4',1,'Line']]],
5
+  ['penwidth',['penWidth',['../class_line.html#a4fc1d856f822dd0b88676e6c22a65f14',1,'Line']]]
6
+];

+ 26
- 0
doc/en/html/search/all_6.html Просмотреть файл

@@ -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>

+ 8
- 0
doc/en/html/search/all_6.js Просмотреть файл

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['setcoords',['setCoords',['../class_line.html#ac1475ffee823a7c05b2ac91bfe61596d',1,'Line']]],
4
+  ['setpencolor',['setpenColor',['../class_line.html#ac5b6d8e786cf3820fa36b8bda7130823',1,'Line']]],
5
+  ['setpenwidth',['setPenWidth',['../class_line.html#a346d88820371b5a4710eed8a638fc451',1,'Line']]],
6
+  ['snowflake',['snowflake',['../class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f',1,'DrawingWindow']]],
7
+  ['snowhelper',['snowHelper',['../class_drawing_window.html#a5a5f640d60404722d029ec14896692a0',1,'DrawingWindow']]]
8
+];

+ 26
- 0
doc/en/html/search/all_7.html Просмотреть файл

@@ -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>

+ 5
- 0
doc/en/html/search/all_7.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['x0',['x0',['../class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2',1,'Line']]],
4
+  ['x1',['x1',['../class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a',1,'Line']]]
5
+];

+ 26
- 0
doc/en/html/search/all_8.html Просмотреть файл

@@ -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>

+ 5
- 0
doc/en/html/search/all_8.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['y0',['y0',['../class_line.html#a8e276229892969c7d82f56581e0c168b',1,'Line']]],
4
+  ['y1',['y1',['../class_line.html#a850c96af61bd595a68b5e867540204f1',1,'Line']]]
5
+];

+ 26
- 0
doc/en/html/search/classes_0.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['drawingwindow',['DrawingWindow',['../class_drawing_window.html',1,'']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_1.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['line',['Line',['../class_line.html',1,'']]]
4
+];

Двоичные данные
doc/en/html/search/close.png Просмотреть файл


+ 26
- 0
doc/en/html/search/functions_0.html Просмотреть файл

@@ -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>

+ 5
- 0
doc/en/html/search/functions_0.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['addline',['addLine',['../class_drawing_window.html#a3097e096223530c9f93737441d77422f',1,'DrawingWindow']]],
4
+  ['addlinepolar',['addLinePolar',['../class_drawing_window.html#ae03504caa7648347ec56eb58cf5b5db4',1,'DrawingWindow']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_1.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['box',['box',['../class_drawing_window.html#a34dec0c13dc01eaa303589e28acecf95',1,'DrawingWindow']]],
4
+  ['boxes',['boxes',['../class_drawing_window.html#aa58d7247e92b513920c788523187fcbd',1,'DrawingWindow']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_2.html Просмотреть файл

@@ -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>

+ 4
- 0
doc/en/html/search/functions_2.js Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['drawingwindow',['DrawingWindow',['../class_drawing_window.html#aff3d1b3cbeee8f0e92b49c050d8ca494',1,'DrawingWindow']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_3.html Просмотреть файл

@@ -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>

+ 7
- 0
doc/en/html/search/functions_3.js Просмотреть файл

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getx0',['getX0',['../class_line.html#a0e23ee7edc154bd73fefab4d88cae150',1,'Line']]],
4
+  ['getx1',['getX1',['../class_line.html#a1f51d8df03219f5f63d656bc0e9b2830',1,'Line']]],
5
+  ['gety0',['getY0',['../class_line.html#a971146fd8bbf711123f03e45daf923c9',1,'Line']]],
6
+  ['gety1',['getY1',['../class_line.html#a9cc398fdcf93212a3e4db28ac26a88a9',1,'Line']]]
7
+];

+ 26
- 0
doc/en/html/search/functions_4.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['line',['Line',['../class_line.html#a4d475f9d634f50933ca84e25d7cf32f9',1,'Line::Line(QWidget *parent=0)'],['../class_line.html#a37f70dab8d5cc7560e6362093a3aa1b9',1,'Line::Line(int fromX, int fromY, int toX, int toY, int w, QColor c, QWidget *parent=0)'],['../class_line.html#a742b2aea487313953635d1e504c6b866',1,'Line::Line(int fromX, int fromY, int length, double angle, int w, QColor c, QWidget *parent=0)']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_5.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_drawing_window.html#aceb9c5cc4f2ef40d99aca7d3fbd4e91a',1,'DrawingWindow::paintEvent()'],['../class_line.html#a7e1f30fa9d7375fd67a2b4cf5a1b6a76',1,'Line::paintEvent()']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_6.html Просмотреть файл

@@ -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>

+ 8
- 0
doc/en/html/search/functions_6.js Просмотреть файл

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['setcoords',['setCoords',['../class_line.html#ac1475ffee823a7c05b2ac91bfe61596d',1,'Line']]],
4
+  ['setpencolor',['setpenColor',['../class_line.html#ac5b6d8e786cf3820fa36b8bda7130823',1,'Line']]],
5
+  ['setpenwidth',['setPenWidth',['../class_line.html#a346d88820371b5a4710eed8a638fc451',1,'Line']]],
6
+  ['snowflake',['snowflake',['../class_drawing_window.html#a13d52d1571e4a34d1bd3cb09a71dfa5f',1,'DrawingWindow']]],
7
+  ['snowhelper',['snowHelper',['../class_drawing_window.html#a5a5f640d60404722d029ec14896692a0',1,'DrawingWindow']]]
8
+];

Двоичные данные
doc/en/html/search/mag_sel.png Просмотреть файл


+ 12
- 0
doc/en/html/search/nomatches.html Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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
+

Двоичные данные
doc/en/html/search/search_l.png Просмотреть файл


Двоичные данные
doc/en/html/search/search_m.png Просмотреть файл


Двоичные данные
doc/en/html/search/search_r.png Просмотреть файл


+ 24
- 0
doc/en/html/search/searchdata.js Просмотреть файл

@@ -0,0 +1,24 @@
1
+var indexSectionsWithContent =
2
+{
3
+  0: "abdglpsxy",
4
+  1: "dl",
5
+  2: "abdglps",
6
+  3: "pxy"
7
+};
8
+
9
+var indexSectionNames =
10
+{
11
+  0: "all",
12
+  1: "classes",
13
+  2: "functions",
14
+  3: "variables"
15
+};
16
+
17
+var indexSectionLabels =
18
+{
19
+  0: "All",
20
+  1: "Classes",
21
+  2: "Functions",
22
+  3: "Variables"
23
+};
24
+

+ 26
- 0
doc/en/html/search/variables_0.html Просмотреть файл

@@ -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="variables_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/variables_0.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['pencolor',['penColor',['../class_line.html#a8778d952d4d2867bd2f31e5857c368b4',1,'Line']]],
4
+  ['penwidth',['penWidth',['../class_line.html#a4fc1d856f822dd0b88676e6c22a65f14',1,'Line']]]
5
+];

+ 26
- 0
doc/en/html/search/variables_1.html Просмотреть файл

@@ -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="variables_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/variables_1.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['x0',['x0',['../class_line.html#a647f6f5c0e2b197e3671f8bdb9ff64a2',1,'Line']]],
4
+  ['x1',['x1',['../class_line.html#a1c37aeef714f6c96454c2a9a2dadb69a',1,'Line']]]
5
+];

+ 26
- 0
doc/en/html/search/variables_2.html Просмотреть файл

@@ -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="variables_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/variables_2.js Просмотреть файл

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['y0',['y0',['../class_line.html#a8e276229892969c7d82f56581e0c168b',1,'Line']]],
4
+  ['y1',['y1',['../class_line.html#a850c96af61bd595a68b5e867540204f1',1,'Line']]]
5
+];

Двоичные данные
doc/en/html/splitbar.png Просмотреть файл


Двоичные данные
doc/en/html/sync_off.png Просмотреть файл


Двоичные данные
doc/en/html/sync_on.png Просмотреть файл


Двоичные данные
doc/en/html/tab_a.png Просмотреть файл


Двоичные данные
doc/en/html/tab_b.png Просмотреть файл


Двоичные данные
doc/en/html/tab_h.png Просмотреть файл


Двоичные данные
doc/en/html/tab_s.png Просмотреть файл


+ 60
- 0
doc/en/html/tabs.css Просмотреть файл

@@ -0,0 +1,60 @@
1
+.tabs, .tabs2, .tabs3 {
2
+    background-image: url('tab_b.png');
3
+    width: 100%;
4
+    z-index: 101;
5
+    font-size: 13px;
6
+    font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
7
+}
8
+
9
+.tabs2 {
10
+    font-size: 10px;
11
+}
12
+.tabs3 {
13
+    font-size: 9px;
14
+}
15
+
16
+.tablist {
17
+    margin: 0;
18
+    padding: 0;
19
+    display: table;
20
+}
21
+
22
+.tablist li {
23
+    float: left;
24
+    display: table-cell;
25
+    background-image: url('tab_b.png');
26
+    line-height: 36px;
27
+    list-style: none;
28
+}
29
+
30
+.tablist a {
31
+    display: block;
32
+    padding: 0 20px;
33
+    font-weight: bold;
34
+    background-image:url('tab_s.png');
35
+    background-repeat:no-repeat;
36
+    background-position:right;
37
+    color: #283A5D;
38
+    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
39
+    text-decoration: none;
40
+    outline: none;
41
+}
42
+
43
+.tabs3 .tablist a {
44
+    padding: 0 10px;
45
+}
46
+
47
+.tablist a:hover {
48
+    background-image: url('tab_h.png');
49
+    background-repeat:repeat-x;
50
+    color: #fff;
51
+    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
52
+    text-decoration: none;
53
+}
54
+
55
+.tablist li.current a {
56
+    background-image: url('tab_a.png');
57
+    background-repeat:repeat-x;
58
+    color: #fff;
59
+    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
60
+}

+ 21
- 0
doc/en/latex/Makefile Просмотреть файл

@@ -0,0 +1,21 @@
1
+all: refman.pdf
2
+
3
+pdf: refman.pdf
4
+
5
+refman.pdf: clean refman.tex
6
+	pdflatex refman
7
+	makeindex refman.idx
8
+	pdflatex refman
9
+	latex_count=8 ; \
10
+	while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
11
+	    do \
12
+	      echo "Rerunning latex...." ;\
13
+	      pdflatex refman ;\
14
+	      latex_count=`expr $$latex_count - 1` ;\
15
+	    done
16
+	makeindex refman.idx
17
+	pdflatex refman
18
+
19
+
20
+clean:
21
+	rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf

+ 5
- 0
doc/en/latex/annotated.tex Просмотреть файл

@@ -0,0 +1,5 @@
1
+\section{Class List}
2
+Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
3
+\item\contentsline{section}{\hyperlink{class_drawing_window}{Drawing\+Window} }{\pageref{class_drawing_window}}{}
4
+\item\contentsline{section}{\hyperlink{class_line}{Line} }{\pageref{class_line}}{}
5
+\end{DoxyCompactList}

+ 197
- 0
doc/en/latex/class_drawing_window.eps Просмотреть файл

@@ -0,0 +1,197 @@
1
+%!PS-Adobe-2.0 EPSF-2.0
2
+%%Title: ClassName
3
+%%Creator: Doxygen
4
+%%CreationDate: Time
5
+%%For: 
6
+%Magnification: 1.00
7
+%%Orientation: Portrait
8
+%%BoundingBox: 0 0 500 360.360360
9
+%%Pages: 0
10
+%%BeginSetup
11
+%%EndSetup
12
+%%EndComments
13
+
14
+% ----- variables -----
15
+
16
+/boxwidth 0 def
17
+/boxheight 40 def
18
+/fontheight 24 def
19
+/marginwidth 10 def
20
+/distx 20 def
21
+/disty 40 def
22
+/boundaspect 1.387500 def  % aspect ratio of the BoundingBox (width/height)
23
+/boundx 500 def
24
+/boundy boundx boundaspect div def
25
+/xspacing 0 def
26
+/yspacing 0 def
27
+/rows 2 def
28
+/cols 1 def
29
+/scalefactor 0 def
30
+/boxfont /Times-Roman findfont fontheight scalefont def
31
+
32
+% ----- procedures -----
33
+
34
+/dotted { [1 4] 0 setdash } def
35
+/dashed { [5] 0 setdash } def
36
+/solid  { [] 0 setdash } def
37
+
38
+/max % result = MAX(arg1,arg2)
39
+{
40
+  /a exch def
41
+  /b exch def
42
+  a b gt {a} {b} ifelse
43
+} def
44
+
45
+/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
46
+{
47
+  0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
48
+} def
49
+
50
+/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
51
+{
52
+  /str exch def
53
+  /boxwidth boxwidth str stringwidth pop max def
54
+} def
55
+
56
+/box % draws a box with text `arg1' at grid pos (arg2,arg3)
57
+{ gsave
58
+  2 setlinewidth
59
+  newpath
60
+  exch xspacing mul xoffset add
61
+  exch yspacing mul
62
+  moveto
63
+  boxwidth 0 rlineto 
64
+  0 boxheight rlineto 
65
+  boxwidth neg 0 rlineto 
66
+  0 boxheight neg rlineto 
67
+  closepath
68
+  dup stringwidth pop neg boxwidth add 2 div
69
+  boxheight fontheight 2 div sub 2 div
70
+  rmoveto show stroke
71
+  grestore
72
+} def  
73
+
74
+/mark
75
+{ newpath
76
+  exch xspacing mul xoffset add boxwidth add
77
+  exch yspacing mul
78
+  moveto
79
+  0 boxheight 4 div rlineto
80
+  boxheight neg 4 div boxheight neg 4 div rlineto
81
+  closepath
82
+  eofill
83
+  stroke
84
+} def
85
+
86
+/arrow
87
+{ newpath
88
+  moveto
89
+  3 -8 rlineto
90
+  -6 0 rlineto
91
+  3 8 rlineto
92
+  closepath
93
+  eofill
94
+  stroke
95
+} def
96
+
97
+/out % draws an output connector for the block at (arg1,arg2)
98
+{
99
+  newpath
100
+  exch xspacing mul xoffset add boxwidth 2 div add
101
+  exch yspacing mul boxheight add
102
+  /y exch def
103
+  /x exch def
104
+  x y moveto
105
+  0 disty 2 div rlineto 
106
+  stroke
107
+  1 eq { x y disty 2 div add arrow } if
108
+} def
109
+
110
+/in % draws an input connector for the block at (arg1,arg2)
111
+{
112
+  newpath
113
+  exch xspacing mul xoffset add boxwidth 2 div add
114
+  exch yspacing mul disty 2 div sub
115
+  /y exch def
116
+  /x exch def
117
+  x y moveto
118
+  0 disty 2 div rlineto
119
+  stroke
120
+  1 eq { x y disty 2 div add arrow } if
121
+} def
122
+
123
+/hedge
124
+{
125
+  exch xspacing mul xoffset add boxwidth 2 div add
126
+  exch yspacing mul boxheight 2 div sub
127
+  /y exch def
128
+  /x exch def
129
+  newpath
130
+  x y moveto
131
+  boxwidth 2 div distx add 0 rlineto
132
+  stroke
133
+  1 eq
134
+  { newpath x boxwidth 2 div distx add add y moveto
135
+    -8 3 rlineto
136
+    0 -6 rlineto
137
+    8 3 rlineto
138
+    closepath
139
+    eofill
140
+    stroke
141
+  } if
142
+} def
143
+
144
+/vedge
145
+{
146
+  /ye exch def
147
+  /ys exch def
148
+  /xs exch def
149
+  newpath
150
+  xs xspacing mul xoffset add boxwidth 2 div add dup
151
+  ys yspacing mul boxheight 2 div sub
152
+  moveto
153
+  ye yspacing mul boxheight 2 div sub
154
+  lineto
155
+  stroke
156
+} def
157
+
158
+/conn % connections the blocks from col `arg1' to `arg2' of row `arg3'
159
+{
160
+  /ys exch def
161
+  /xe exch def
162
+  /xs exch def
163
+  newpath
164
+  xs xspacing mul xoffset add boxwidth 2 div add
165
+  ys yspacing mul disty 2 div sub
166
+  moveto
167
+  xspacing xe xs sub mul 0
168
+  rlineto
169
+  stroke
170
+} def
171
+
172
+% ----- main ------
173
+
174
+boxfont setfont
175
+1 boundaspect scale
176
+(DrawingWindow) cw
177
+(QMainWindow) cw
178
+/boxwidth boxwidth marginwidth 2 mul add def
179
+/xspacing boxwidth distx add def
180
+/yspacing boxheight disty add def
181
+/scalefactor 
182
+  boxwidth cols mul distx cols 1 sub mul add
183
+  boxheight rows mul disty rows 1 sub mul add boundaspect mul 
184
+  max def
185
+boundx scalefactor div boundy scalefactor div scale
186
+
187
+% ----- classes -----
188
+
189
+ (DrawingWindow) 0.000000 0.000000 box
190
+ (QMainWindow) 0.000000 1.000000 box
191
+
192
+% ----- relations -----
193
+
194
+solid
195
+0 0.000000 0.000000 out
196
+solid
197
+1 0.000000 1.000000 in

Двоичные данные
doc/en/latex/class_drawing_window.pdf Просмотреть файл


+ 238
- 0
doc/en/latex/class_drawing_window.tex Просмотреть файл

@@ -0,0 +1,238 @@
1
+\hypertarget{class_drawing_window}{}\section{Drawing\+Window Class Reference}
2
+\label{class_drawing_window}\index{Drawing\+Window@{Drawing\+Window}}
3
+Inheritance diagram for Drawing\+Window\+:\begin{figure}[H]
4
+\begin{center}
5
+\leavevmode
6
+\includegraphics[height=2.000000cm]{class_drawing_window}
7
+\end{center}
8
+\end{figure}
9
+\subsection*{Public Member Functions}
10
+\begin{DoxyCompactItemize}
11
+\item 
12
+\hyperlink{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}{Drawing\+Window} (Q\+Widget $\ast$parent=0)
13
+\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
14
+void \hyperlink{class_drawing_window_a3097e096223530c9f93737441d77422f}{add\+Line} (int x0, int y0, int x1, int y1, int width, Q\+Color color)
15
+\begin{DoxyCompactList}\small\item\em Add a line to the window, specifying coordinates of the starting and end points. \end{DoxyCompactList}\item 
16
+void \hyperlink{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}{add\+Line\+Polar} (int x0, int y0, int length, double angle, int width, Q\+Color color)
17
+\begin{DoxyCompactList}\small\item\em Add a line to the window, specifying coordinates of the starting point, the length and angle. \end{DoxyCompactList}\item 
18
+void \hyperlink{class_drawing_window_a34dec0c13dc01eaa303589e28acecf95}{box} (int x, int y, int side\+Length, Q\+Color c)
19
+\begin{DoxyCompactList}\small\item\em Draws a box with sides of size side\+Length. \end{DoxyCompactList}\item 
20
+void \hyperlink{class_drawing_window_aa58d7247e92b513920c788523187fcbd}{boxes} (int x, int y, int side\+Length, double shrink\+Factor, int smallest\+Length, Q\+Color c)
21
+\begin{DoxyCompactList}\small\item\em Recursive function that draws smaller boxes inside the four corners of the boxes. \end{DoxyCompactList}\item 
22
+void \hyperlink{class_drawing_window_a5a5f640d60404722d029ec14896692a0}{snow\+Helper} (int size, int level)
23
+\begin{DoxyCompactList}\small\item\em interface function for the snowflake recursive function \end{DoxyCompactList}\item 
24
+void \hyperlink{class_drawing_window_a13d52d1571e4a34d1bd3cb09a71dfa5f}{snowflake} (int x, int y, int size, double angle, int level, Q\+Color c)
25
+\begin{DoxyCompactList}\small\item\em Recursive figure, the snowflake presented at\+: \href{https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion}{\tt https\+://sites.\+google.\+com/a/wellesley.\+edu/wellesley-\/cs118-\/spring13/lectures-\/labs/lab-\/6-\/turtle-\/recursion} sf = sf(n-\/1) + 60 degrees sf(n-\/1) + 60 degrees sf(n-\/1) + s(n-\/1) sf(0) = line. \end{DoxyCompactList}\end{DoxyCompactItemize}
26
+\subsection*{Protected Member Functions}
27
+\begin{DoxyCompactItemize}
28
+\item 
29
+\hypertarget{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}{}void \hyperlink{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}{paint\+Event} (Q\+Paint\+Event $\ast$)\label{class_drawing_window_aceb9c5cc4f2ef40d99aca7d3fbd4e91a}
30
+
31
+\begin{DoxyCompactList}\small\item\em Function called in a paint event. \end{DoxyCompactList}\end{DoxyCompactItemize}
32
+\subsection*{Private Attributes}
33
+\begin{DoxyCompactItemize}
34
+\item 
35
+\hypertarget{class_drawing_window_ad58ced401c1eaf6cfaf67a0f8f94ce18}{}Ui\+::\+Drawing\+Window $\ast$ {\bfseries ui}\label{class_drawing_window_ad58ced401c1eaf6cfaf67a0f8f94ce18}
36
+
37
+\item 
38
+\hypertarget{class_drawing_window_a6e1effc34bb2f2c43becfd1df203b693}{}vector$<$ \hyperlink{class_line}{Line} $\ast$ $>$ $\ast$ {\bfseries v\+L}\label{class_drawing_window_a6e1effc34bb2f2c43becfd1df203b693}
39
+
40
+\end{DoxyCompactItemize}
41
+
42
+
43
+\subsection{Constructor \& Destructor Documentation}
44
+\hypertarget{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}{}\index{Drawing\+Window@{Drawing\+Window}!Drawing\+Window@{Drawing\+Window}}
45
+\index{Drawing\+Window@{Drawing\+Window}!Drawing\+Window@{Drawing\+Window}}
46
+\subsubsection[{Drawing\+Window}]{\setlength{\rightskip}{0pt plus 5cm}Drawing\+Window\+::\+Drawing\+Window (
47
+\begin{DoxyParamCaption}
48
+\item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0}}
49
+\end{DoxyParamCaption}
50
+)\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_drawing_window_aff3d1b3cbeee8f0e92b49c050d8ca494}
51
+
52
+
53
+Constructor. 
54
+
55
+
56
+\begin{DoxyParams}{Parameters}
57
+{\em parent} & when creating a \hyperlink{class_drawing_window}{Drawing\+Window} in the main function, leave this parameter empty \\
58
+\hline
59
+\end{DoxyParams}
60
+
61
+
62
+\subsection{Member Function Documentation}
63
+\hypertarget{class_drawing_window_a3097e096223530c9f93737441d77422f}{}\index{Drawing\+Window@{Drawing\+Window}!add\+Line@{add\+Line}}
64
+\index{add\+Line@{add\+Line}!Drawing\+Window@{Drawing\+Window}}
65
+\subsubsection[{add\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::add\+Line (
66
+\begin{DoxyParamCaption}
67
+\item[{int}]{x0, }
68
+\item[{int}]{y0, }
69
+\item[{int}]{x1, }
70
+\item[{int}]{y1, }
71
+\item[{int}]{width, }
72
+\item[{Q\+Color}]{color}
73
+\end{DoxyParamCaption}
74
+)}\label{class_drawing_window_a3097e096223530c9f93737441d77422f}
75
+
76
+
77
+Add a line to the window, specifying coordinates of the starting and end points. 
78
+
79
+
80
+\begin{DoxyParams}{Parameters}
81
+{\em x0} & starting x \\
82
+\hline
83
+{\em y0} & starting y \\
84
+\hline
85
+{\em x1} & end x \\
86
+\hline
87
+{\em y1} & end y \\
88
+\hline
89
+{\em width} & -\/ line width \\
90
+\hline
91
+{\em color} & -\/ line color \\
92
+\hline
93
+\end{DoxyParams}
94
+\hypertarget{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}{}\index{Drawing\+Window@{Drawing\+Window}!add\+Line\+Polar@{add\+Line\+Polar}}
95
+\index{add\+Line\+Polar@{add\+Line\+Polar}!Drawing\+Window@{Drawing\+Window}}
96
+\subsubsection[{add\+Line\+Polar}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::add\+Line\+Polar (
97
+\begin{DoxyParamCaption}
98
+\item[{int}]{x0, }
99
+\item[{int}]{y0, }
100
+\item[{int}]{length, }
101
+\item[{double}]{angle, }
102
+\item[{int}]{width, }
103
+\item[{Q\+Color}]{color}
104
+\end{DoxyParamCaption}
105
+)}\label{class_drawing_window_ae03504caa7648347ec56eb58cf5b5db4}
106
+
107
+
108
+Add a line to the window, specifying coordinates of the starting point, the length and angle. 
109
+
110
+
111
+\begin{DoxyParams}{Parameters}
112
+{\em x0} & starting x \\
113
+\hline
114
+{\em y0} & starting y \\
115
+\hline
116
+{\em length} & length of the line \\
117
+\hline
118
+{\em angle} & angle \\
119
+\hline
120
+{\em width} & line width \\
121
+\hline
122
+{\em color} & line color \\
123
+\hline
124
+\end{DoxyParams}
125
+\hypertarget{class_drawing_window_a34dec0c13dc01eaa303589e28acecf95}{}\index{Drawing\+Window@{Drawing\+Window}!box@{box}}
126
+\index{box@{box}!Drawing\+Window@{Drawing\+Window}}
127
+\subsubsection[{box}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::box (
128
+\begin{DoxyParamCaption}
129
+\item[{int}]{x, }
130
+\item[{int}]{y, }
131
+\item[{int}]{side\+Length, }
132
+\item[{Q\+Color}]{c}
133
+\end{DoxyParamCaption}
134
+)}\label{class_drawing_window_a34dec0c13dc01eaa303589e28acecf95}
135
+
136
+
137
+Draws a box with sides of size side\+Length. 
138
+
139
+
140
+\begin{DoxyParams}{Parameters}
141
+{\em x} & initial x coordinate of the box \\
142
+\hline
143
+{\em y} & initial y coordinate of the box \\
144
+\hline
145
+{\em side\+Length} & length of the sides of the box \\
146
+\hline
147
+{\em c} & color of the box \\
148
+\hline
149
+\end{DoxyParams}
150
+\hypertarget{class_drawing_window_aa58d7247e92b513920c788523187fcbd}{}\index{Drawing\+Window@{Drawing\+Window}!boxes@{boxes}}
151
+\index{boxes@{boxes}!Drawing\+Window@{Drawing\+Window}}
152
+\subsubsection[{boxes}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::boxes (
153
+\begin{DoxyParamCaption}
154
+\item[{int}]{x, }
155
+\item[{int}]{y, }
156
+\item[{int}]{side\+Length, }
157
+\item[{double}]{shrink\+Factor, }
158
+\item[{int}]{smallest\+Length, }
159
+\item[{Q\+Color}]{c}
160
+\end{DoxyParamCaption}
161
+)}\label{class_drawing_window_aa58d7247e92b513920c788523187fcbd}
162
+
163
+
164
+Recursive function that draws smaller boxes inside the four corners of the boxes. 
165
+
166
+
167
+\begin{DoxyParams}{Parameters}
168
+{\em x} & initial coordinate x \\
169
+\hline
170
+{\em y} & initial coordinate y \\
171
+\hline
172
+{\em side\+Length} & length of the sides of the box \\
173
+\hline
174
+{\em shrink\+Factor} & factor to decreese the side\+Length in the recursion for the interior boxes \\
175
+\hline
176
+{\em smallest\+Length} & smallest length of the size of the side of the boxes \\
177
+\hline
178
+{\em c} & color of the boxes \\
179
+\hline
180
+\end{DoxyParams}
181
+\hypertarget{class_drawing_window_a13d52d1571e4a34d1bd3cb09a71dfa5f}{}\index{Drawing\+Window@{Drawing\+Window}!snowflake@{snowflake}}
182
+\index{snowflake@{snowflake}!Drawing\+Window@{Drawing\+Window}}
183
+\subsubsection[{snowflake}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::snowflake (
184
+\begin{DoxyParamCaption}
185
+\item[{int}]{x, }
186
+\item[{int}]{y, }
187
+\item[{int}]{size, }
188
+\item[{double}]{angle, }
189
+\item[{int}]{level, }
190
+\item[{Q\+Color}]{c}
191
+\end{DoxyParamCaption}
192
+)}\label{class_drawing_window_a13d52d1571e4a34d1bd3cb09a71dfa5f}
193
+
194
+
195
+Recursive figure, the snowflake presented at\+: \href{https://sites.google.com/a/wellesley.edu/wellesley-cs118-spring13/lectures-labs/lab-6-turtle-recursion}{\tt https\+://sites.\+google.\+com/a/wellesley.\+edu/wellesley-\/cs118-\/spring13/lectures-\/labs/lab-\/6-\/turtle-\/recursion} sf = sf(n-\/1) + 60 degrees sf(n-\/1) + 60 degrees sf(n-\/1) + s(n-\/1) sf(0) = line. 
196
+
197
+
198
+\begin{DoxyParams}{Parameters}
199
+{\em x} & initial coordinate x \\
200
+\hline
201
+{\em y} & initial coordinate y \\
202
+\hline
203
+{\em size} & size of the snowflake \\
204
+\hline
205
+{\em angle} & angle of a line of the snowflake \\
206
+\hline
207
+{\em level} & recursion depth \\
208
+\hline
209
+{\em c} & color of the lines (snowflake) \\
210
+\hline
211
+\end{DoxyParams}
212
+\hypertarget{class_drawing_window_a5a5f640d60404722d029ec14896692a0}{}\index{Drawing\+Window@{Drawing\+Window}!snow\+Helper@{snow\+Helper}}
213
+\index{snow\+Helper@{snow\+Helper}!Drawing\+Window@{Drawing\+Window}}
214
+\subsubsection[{snow\+Helper}]{\setlength{\rightskip}{0pt plus 5cm}void Drawing\+Window\+::snow\+Helper (
215
+\begin{DoxyParamCaption}
216
+\item[{int}]{size, }
217
+\item[{int}]{level}
218
+\end{DoxyParamCaption}
219
+)}\label{class_drawing_window_a5a5f640d60404722d029ec14896692a0}
220
+
221
+
222
+interface function for the snowflake recursive function 
223
+
224
+
225
+\begin{DoxyParams}{Parameters}
226
+{\em size} & snowflake size \\
227
+\hline
228
+{\em level} & recursion depth \\
229
+\hline
230
+\end{DoxyParams}
231
+
232
+
233
+The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
234
+\item 
235
+drawing\+Window.\+h\item 
236
+boxes.\+cpp\item 
237
+drawing\+Window.\+cpp\item 
238
+snowflake.\+cpp\end{DoxyCompactItemize}

+ 0
- 0
doc/en/latex/class_line.eps Просмотреть файл


Некоторые файлы не были показаны из-за большого количества измененных файлов