Rafael Arce Nazario 8 年之前
當前提交
c2f2e1834d
共有 100 個檔案被更改,包括 8035 行新增0 行删除
  1. 27
    0
      GridPlotter.pro
  2. 506
    0
      README.md
  3. 212
    0
      dialog.cpp
  4. 161
    0
      dialog.h
  5. 572
    0
      dialog.ui
  6. 103
    0
      doc/en/html/annotated.html
  7. 二進制
      doc/en/html/arrowdown.png
  8. 二進制
      doc/en/html/arrowright.png
  9. 二進制
      doc/en/html/bc_s.png
  10. 二進制
      doc/en/html/bdwn.png
  11. 120
    0
      doc/en/html/class_dialog-members.html
  12. 296
    0
      doc/en/html/class_dialog.html
  13. 二進制
      doc/en/html/class_dialog.png
  14. 143
    0
      doc/en/html/class_grid_widget-members.html
  15. 1430
    0
      doc/en/html/class_grid_widget.html
  16. 二進制
      doc/en/html/class_grid_widget.png
  17. 107
    0
      doc/en/html/classes.html
  18. 二進制
      doc/en/html/closed.png
  19. 176
    0
      doc/en/html/dialog_8h_source.html
  20. 二進制
      doc/en/html/doc.png
  21. 1449
    0
      doc/en/html/doxygen.css
  22. 二進制
      doc/en/html/doxygen.png
  23. 97
    0
      doc/en/html/dynsections.js
  24. 100
    0
      doc/en/html/files.html
  25. 二進制
      doc/en/html/folderclosed.png
  26. 二進制
      doc/en/html/folderopen.png
  27. 350
    0
      doc/en/html/functions.html
  28. 299
    0
      doc/en/html/functions_func.html
  29. 138
    0
      doc/en/html/functions_vars.html
  30. 259
    0
      doc/en/html/grid_8h_source.html
  31. 105
    0
      doc/en/html/hierarchy.html
  32. 89
    0
      doc/en/html/index.html
  33. 68
    0
      doc/en/html/jquery.js
  34. 二進制
      doc/en/html/nav_f.png
  35. 二進制
      doc/en/html/nav_g.png
  36. 二進制
      doc/en/html/nav_h.png
  37. 二進制
      doc/en/html/open.png
  38. 26
    0
      doc/en/html/search/all_0.html
  39. 5
    0
      doc/en/html/search/all_0.js
  40. 26
    0
      doc/en/html/search/all_1.html
  41. 6
    0
      doc/en/html/search/all_1.js
  42. 26
    0
      doc/en/html/search/all_2.html
  43. 8
    0
      doc/en/html/search/all_2.js
  44. 26
    0
      doc/en/html/search/all_3.html
  45. 4
    0
      doc/en/html/search/all_3.js
  46. 26
    0
      doc/en/html/search/all_4.html
  47. 7
    0
      doc/en/html/search/all_4.js
  48. 26
    0
      doc/en/html/search/all_5.html
  49. 4
    0
      doc/en/html/search/all_5.js
  50. 26
    0
      doc/en/html/search/all_6.html
  51. 9
    0
      doc/en/html/search/all_6.js
  52. 26
    0
      doc/en/html/search/all_7.html
  53. 4
    0
      doc/en/html/search/all_7.js
  54. 26
    0
      doc/en/html/search/all_8.html
  55. 18
    0
      doc/en/html/search/all_8.js
  56. 26
    0
      doc/en/html/search/all_9.html
  57. 4
    0
      doc/en/html/search/all_9.js
  58. 26
    0
      doc/en/html/search/all_a.html
  59. 5
    0
      doc/en/html/search/all_a.js
  60. 26
    0
      doc/en/html/search/all_b.html
  61. 14
    0
      doc/en/html/search/all_b.js
  62. 26
    0
      doc/en/html/search/all_c.html
  63. 6
    0
      doc/en/html/search/all_c.js
  64. 26
    0
      doc/en/html/search/all_d.html
  65. 4
    0
      doc/en/html/search/all_d.js
  66. 26
    0
      doc/en/html/search/all_e.html
  67. 4
    0
      doc/en/html/search/all_e.js
  68. 26
    0
      doc/en/html/search/classes_0.html
  69. 4
    0
      doc/en/html/search/classes_0.js
  70. 26
    0
      doc/en/html/search/classes_1.html
  71. 4
    0
      doc/en/html/search/classes_1.js
  72. 二進制
      doc/en/html/search/close.png
  73. 26
    0
      doc/en/html/search/functions_0.html
  74. 6
    0
      doc/en/html/search/functions_0.js
  75. 26
    0
      doc/en/html/search/functions_1.html
  76. 8
    0
      doc/en/html/search/functions_1.js
  77. 26
    0
      doc/en/html/search/functions_2.html
  78. 7
    0
      doc/en/html/search/functions_2.js
  79. 26
    0
      doc/en/html/search/functions_3.html
  80. 4
    0
      doc/en/html/search/functions_3.js
  81. 26
    0
      doc/en/html/search/functions_4.html
  82. 4
    0
      doc/en/html/search/functions_4.js
  83. 26
    0
      doc/en/html/search/functions_5.html
  84. 17
    0
      doc/en/html/search/functions_5.js
  85. 26
    0
      doc/en/html/search/functions_6.html
  86. 4
    0
      doc/en/html/search/functions_6.js
  87. 26
    0
      doc/en/html/search/functions_7.html
  88. 5
    0
      doc/en/html/search/functions_7.js
  89. 26
    0
      doc/en/html/search/functions_8.html
  90. 14
    0
      doc/en/html/search/functions_8.js
  91. 26
    0
      doc/en/html/search/functions_9.html
  92. 4
    0
      doc/en/html/search/functions_9.js
  93. 26
    0
      doc/en/html/search/functions_a.html
  94. 4
    0
      doc/en/html/search/functions_a.js
  95. 26
    0
      doc/en/html/search/functions_b.html
  96. 4
    0
      doc/en/html/search/functions_b.js
  97. 二進制
      doc/en/html/search/mag_sel.png
  98. 12
    0
      doc/en/html/search/nomatches.html
  99. 271
    0
      doc/en/html/search/search.css
  100. 0
    0
      doc/en/html/search/search.js

+ 27
- 0
GridPlotter.pro 查看文件

@@ -0,0 +1,27 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2014-06-10T11:19:11
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += core gui
8
+
9
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10
+
11
+TARGET = GridPlotter
12
+TEMPLATE = app
13
+
14
+
15
+SOURCES += main.cpp\
16
+        dialog.cpp \
17
+    grid.cpp \
18
+    tools.cpp
19
+
20
+HEADERS  += dialog.h \
21
+    grid.h
22
+
23
+FORMS    += dialog.ui
24
+
25
+RESOURCES += \
26
+    images.qrc \
27
+    styles.qrc

+ 506
- 0
README.md 查看文件

@@ -0,0 +1,506 @@
1
+# Estructuras de Repetición - Pintar en Cuadrícula
2
+
3
+![main1.png](images/main1-small.png)
4
+![main2.png](images/main2.png)
5
+![main3.png](images/main3-small.png)
6
+
7
+[Version 2016-05-09]
8
+
9
+La recursión es una técnica muy utilizada en programació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 la condición inicial en lugar de auto-invocarse. En esta experiencia de laboratorio implementarás algunas herramientas para dibujar y practicarás el uso de funciones recursivas para rellenar de color algunas figuras.
10
+
11
+## Objetivos:
12
+
13
+1. Definir e implementar funciones recursivas.
14
+2. Practicar el uso de estructuras de repetición.
15
+
16
+Esta experiencia de laboratorio es una adaptación de la asignación *GridPlotter* presentada por Alyce Brady y Pamela Cutter en [1]. La implementación de la cuadrícula y la capacidad de pintar en ella fue presentada por Sacha Schutz en [2] pero fue arreglada, modificada y adaptada para esta experiencia de laboratorio.
17
+
18
+
19
+## Pre-Lab:
20
+
21
+Antes de llegar al laboratorio debes haber:
22
+
23
+1. Repasado los conceptos relacionados a funciones recursivas.
24
+
25
+2. Estudiado los conceptos e instrucciones para la sesión de laboratorio.
26
+
27
+
28
+
29
+---
30
+
31
+---
32
+
33
+
34
+## Aplicaciones para dibujar
35
+
36
+
37
+Probablemente muchos usuarios del sistema operativo Windows (¡quizás todos!) han usado el programa *Paint*, que es una aplicación simple para dibujar. En ese programado, al igual que en muchos otros programados para dibujar, hay varias herramientas (por ejemplo el lápiz, el cubo de pintura, la línea) que le permiten al usuario dibujar en el área de distintas maneras.
38
+
39
+En esta experiencia de laboratorio haremos funcionar algunas de esas herramientas: cuadrado, círculo, triángulo, y algunas líneas especiales ... ¡no te asustes!, lo haremos de una manera simple. 
40
+
41
+El dibujo se hará sobre una cuadrilla. Las herramientas se utilizarán marcando cualquier celda en la cuadrilla y, desde ese punto, las celdas necesarias para hacer la figura se pintarán. Por ejemplo, si seleccionamos la herramienta de línea vertical y marcamos la celda en posición *(2,3)*, una línea vertical se dibujará en todas las celdas de la columna 2. Esto es, se marcarán todas las celdas en posición $(2,y)$ para todas las $y$ de la cuadrilla.
42
+
43
+
44
+
45
+---
46
+
47
+---
48
+
49
+
50
+## Coordenadas en `Qt`:
51
+
52
+* El sistema de coordenadas en  `Qt` funciona un poco diferente, como muestra la Figura 1. Las entradas van de izquierda a derecha, desde 0 hasta un ancho  máximo, y desde arriba hasta abajo, desde 0 hasta una altura máxima.
53
+
54
+	![ejemplo.png](images/ejemplo.png)
55
+
56
+	**Figura 1.** La imagen muestra la dirección en que se ordenan las coordenadas en las imágenes de `Qt`.
57
+
58
+
59
+* Cuando queremos insertar datos bi-dimensionales (como las entradas de una cuadrilla que tiene coordenadas en $x$ y $y$) en un arreglo de una dimensión usamos una fórmula para convertir cada coordenada $(x,y)$ a un índice $i$ del arreglo. Para cada punto con coordenadas $(x,y)$ en la cuadrilla, evaluamos $i=(número-de-columnas)*y+x$, en donde `número-de-columnas` representa el ancho del arreglo bi-dimensional, y el resultado $i$ será el índice del arreglo de una dimensión que corresponde al punto con coordenadas $(x,y)$ en la cuadrilla. Por ejemplo, el índice $i$ correspondiente al punto $(1,2)$ en una cuadrilla de ancho $5$ es $i=(5)*2+1=11$.
60
+
61
+
62
+---
63
+
64
+---
65
+
66
+
67
+## Bibliotecas
68
+
69
+Para este proyecto necesitarás utilizar las funciones de `QtGlobal` para la implementación del círculo:
70
+
71
+
72
+* `int qFloor(qreal v)` // Devuelve el "piso" del valor $v$.
73
+* `qreal qSqrt(qreal v)` // Devuelve la raíz cuadrada del valor $v$.
74
+* `qreal qPow(qreal x, qreal y)` // Devuelve el valor de $x$ elevado a la potencia $y$.
75
+
76
+También necesitarás utilizar la función que pinta en la cuadrilla: 
77
+
78
+* `void switchOn(int x, int y, const QColor& color);` // Pinta la celda $(x,y)$ con el color dado. (No tienes que preocuparte por `QColor` porque se pasa a la función por parámetro.)
79
+
80
+Aunque no se ve en el archivo `tools.cpp`, hay una arreglo llamado `mColors` que contiene el color de todas las celas de la cuadrilla. Esto te ayudará a saber cuál color está en una celda: `mColors[columns * y + x]`. Nota que el índice de este arreglo se calcula utilizando la conversión para cambiar coordenadas $(x,y)$ a índices que explicamos arriba.
81
+
82
+---
83
+
84
+---
85
+
86
+
87
+!INCLUDE "../../eip-diagnostic/gridplot/es/diag-gridplot-01.html"
88
+
89
+!INCLUDE "../../eip-diagnostic/gridplot/es/diag-gridplot-02.html"
90
+
91
+
92
+---
93
+
94
+---
95
+
96
+## Sesión de laboratorio:
97
+
98
+### Ejercicio  1: Implementar las funciones para hacer funcionar los botones de dibujar líneas
99
+
100
+####Instrucciones
101
+
102
+1. Descarga la carpeta `recursion-GridPlotter` de `Bitbucket` usando un terminal, moviéndote al directorio `Documents/eip`, y escribiendo el comando `git clone http://bitbucket.org/eip-uprrp/recursion-gridplotter`.
103
+
104
+2. Carga a Qt creator el proyecto `GridPlotter`  haciendo doble "click" en el archivo `GridPlotter.pro` que se encuentra en la carpeta  `Documents/eip/recursion-gridplotter` de tu computadora. 
105
+
106
+3. El proyecto contiene el esqueleto para una aplicación para dibujar líneas o figuras en una cuadrilla. La aplicación tiene una interface que le permite al usuario seleccionar el color para pintar, el color para el trasfondo de la cuadrilla, la figura que se va a dibujar (por ejemplo, círculo, cuadrado) y el tamaño de la figura. La figura seleccionada se dibuja cuando el usuario marca una celda en la cuadrilla.
107
+
108
+Estarás trabajando en el archivo `tools.cpp`. Tu primera tarea es implementar las funciones `RowMajorFill`, `ColMajorFill`, `DiagonalLeft` y `DiagonalRight` que hacen que los botones para dibujar líneas funcionen. La función `RowMajorFill` ya está implementada para que la tengas de ejemplo. Las funciones deben trabajar como se indica adelante.
109
+
110
+
111
+##### `RowMajorFill`
112
+
113
+Cuando  se selecciona la figura de línea horizontal en la interface, se dibujará una línea horizontal en la cuadrilla en la fila en donde el usuario marcó. La línea se expandirá a la derecha y a la izquierda de la celda marcada hasta que encuentre una celda (píxel) de un color diferente al color en el trasfondo, o hasta que la cuadrilla termine. La Figura 2 ilustra este comportamiento.
114
+
115
+
116
+
117
+| (a) | (b) | (c) |  
118
+|---|----|----|
119
+| ![](images/rowMajor01-small.png) | ![](images/rowMajor02-small.png) | ![](images/rowMajor03-small.png)| 
120
+
121
+**Figura 2** - (a) Un dibujo con trasfondo blanco y puntos rojos. (b) Cuando el usuario marca el botón de línea horizontal (`RowMajorFill`) y marca la celda mostrada, (c) se dibuja una línea horizontal que se expande hacia la izquierda y hacia la derecha de la celda marcada, hasta que se encuantra una celda con un color diferente al color de trasfondo. 
122
+
123
+
124
+##### `ColMajorFill`
125
+
126
+Esta función debe trabajar de manera similar a la función `RowMajorFill` pero para columnas. La Figura 3 ilustra su comportamiento.
127
+
128
+
129
+
130
+| (a) | (b) | (c) | 
131
+|---|----|----|
132
+| ![](images/colMajor01-small.png) | ![](images/colMajor02-small.png) | ![](images/colMajor03-small.png)|  
133
+
134
+**Figura 3** - (a) Un dibujo con trasfondo blanco y puntos rojos. (b) Cuando el usuario marca el botón de línea vertical (`ColMajorFill`) y marca la celda mostrada, (c) se dibuja una línea vertical que se expande hacia arriba y hacia abajo de la celda marcada, hasta que se encuantra una celda con un color diferente al color de trasfondo. 
135
+
136
+ 
137
+
138
+##### `DiagonalLeft`
139
+
140
+Esta función debe trabajar de manera similar a la función `RowMajorFill` pero produce una línea diagonal desde la izquierda superior hasta la derecha inferior. La Figura 4 ilustra su comportamiento.
141
+
142
+
143
+
144
+| (a) | (b) | (c) | 
145
+|---|----|----|
146
+| ![](images/diagLeft00-small.png) | ![](images/diagLeft01-small.png) | ![](images/diagLeft02-small.png)| 
147
+
148
+**Figura 4** - (a) Un dibujo con trasfondo blanco y puntos rojos. (b) Cuando el usuario marca el botón de línea diagonal izquierda (`DiagonalLeft`) y marca la celda mostrada, (c) se dibuja una línea diagonal izquierda que se expande hacia arriba a la izquierda y hacia abajo a la derecha de la celda marcada, hasta que se encuantra una celda con un color diferente al color de trasfondo. 
149
+
150
+
151
+
152
+##### `DiagonalRight`
153
+
154
+Esta función debe trabajar de manera similar a la función `DiagonalLeft` pero produce una línea diagonal desde la derecha superior hasta la izquierda inferior. La Figura 5 ilustra su comportamiento.
155
+
156
+
157
+
158
+| (a) | (b) | (c) | 
159
+|---|----|----|
160
+| ![](images/diagLeft00-small.png) | ![](images/diagLeft01-small.png) | ![](images/diagRight02-small.png)| 
161
+ 
162
+
163
+**Figura 5** - (a) Un dibujo con trasfondo blanco y puntos rojos. (b) Cuando el usuario marca el botón de línea diagonal derecha (`DiagonalRight`) y marca la celda mostrada, (c) se dibuja una línea diagonal derecha que se expande hacia arriba a la derecha y hacia abajo a la izquierda de la celda marcada, hasta que se encuantra una celda con un color diferente al color de trasfondo. 
164
+
165
+
166
+### Ejercicio 2: Implementar las funciones para hacer funcionar los botones de dibujar cuadrados, círculos y líneas.
167
+
168
+
169
+Ahora implementarás la funcionalidad para dibujar cuadrados, círculos y líneas. El **tamaño** de la figura dibujada dependerá del tamaño seleccionado con la barra deslizante en la interface.
170
+
171
+
172
+#### 2a: Cuadrados 
173
+
174
+Para los cuadrados, ¡lo más fácil es pensar en ellos como si fueran cebollas! Un cuadrado de tamaño 1 es simplemente la celda marcada por el usuario. Un cuadrado de tamaño 2 es la celda marcada, cubierta por una capa de celdas de tamaño 1, y así sucesivamente. En otras palabras, un cuadrado de tamaño $n$ tendrá alto = ancho = $2n-1$.
175
+
176
+
177
+
178
+![](images/squares.png)
179
+
180
+**Figura 6** - Cuadrados de tamaño 1 (verde), 2 (rojo), 3 (azul), y 4 (amarillo). En cada caso, el usuario marcó la celda del centro del cuadrado. 
181
+
182
+
183
+#### 2b: Triángulos
184
+
185
+El botón de triángulo produce un triángulo **isóceles** como se muestra en la Figura 7. Para un tamaño $n$ seleccionado, el tamaño de la base será $2n + 1$. La altura debe ser $n+1$.
186
+
187
+
188
+![](images/triangles.png)
189
+
190
+
191
+**Figura 7** - Triángulos de tamaño 1 (verde), 2 (rojo), 3 (azul), y 4 (amarillo). En cada caso, el usuario marcó la celda del centro de la base del triángulo. 
192
+
193
+#### 2c: Círculos
194
+
195
+¡Felicitaciones! ¡Llegaste hasta la parte más difícil: círculos! Aquí tendrás que utilizar tus destrezas matemáticas ... esperamos que te haya ido bien en tu clase de pre-cálculo ...
196
+
197
+
198
+![](images/circles.png)
199
+
200
+**Figura 8** - Círculos de tamaño 1 (verde), 2 (rojo), 3 (azul), y 4 (amarillo). En cada caso, el usuario marcó la celda del centro del círculo. 
201
+
202
+**Ayuda para producir los círculos:**
203
+
204
+Primero necesitas entender las expresiones asociadas a un círculo con ecuación: $x^2+y^2=r^2$. Por ejemplo, consideremos un círculo con radio $r=1$. La ecuación $x^2+y^2=1$ nos dice que todo punto $(x,y)$ que satisfaga la ecuación es un punto en la *circunferencia* del círculo. La expresión para un círculo *relleno* es: $x^2 + y^2 <=r^2$. Un círculo relleno, de radio $r=1$ tiene expresión  $x^2 + y^2 <= 1$, lo que dice que cualquier punto $(x,y)$ que satisfaga $x^2 + y^2 <= 1$ es un punto en el círculo relleno.
205
+
206
+¿Cómo producimos el círculo? Una manera sería generar todos los puntos **cercanos** al centro del círculo y determinar si éstos satisfacen la expresión $x^2 + y^2 <= r^2$. Por ejemplo, podemos tratar todos los puntos que están en el cuadrado de tamaño $2r+1$. Para un círculo de radio $r=2$ tendríamos que generar los siguientes puntos y probarlos en la expresión $x^2 + y^2 <=4$:
207
+
208
+
209
+````
210
+(-2, 2) (-1, 2) ( 0, 2) ( 1, 2) ( 2, 2)
211
+(-2, 1) (-1, 1) ( 0, 1) ( 1, 1) ( 2, 1)
212
+(-2, 0) (-1, 0) ( 0, 0) ( 1, 0) ( 2, 0)
213
+(-2,-1) (-1,-1) ( 0,-1) ( 1,-1) ( 2,-1)
214
+(-2,-2) (-1,-2) ( 0,-2) ( 1,-2) ( 2,-2)
215
+```` 
216
+
217
+En este caso, solo los puntos que se muestran abajo satisfacen la expresión $x^2 + y^2 <=4$.
218
+
219
+
220
+````
221
+                ( 0, 2) 
222
+        (-1, 1) ( 0, 1) ( 1, 1) 
223
+(-2, 0) (-1, 0) ( 0, 0) ( 1, 0) ( 2, 0)
224
+        (-1,-1) ( 0,-1) ( 1,-1) 
225
+                ( 0,-2) 
226
+```` 
227
+
228
+
229
+
230
+### Ejercicio 3: Implementar la función para rellenar figuras utilizando recursión.
231
+
232
+En este ejercicio implementarás la funcionalidad para rellenar de color las figuras. Una de las maneras más convenientes para expresar el algoritmo para rellenar es utilizando recursión. Un algoritmo recursivo básico (pero bastante flojo) se encuentra en Wikipedia:
233
+
234
+
235
+```
236
+Relleno (celda, color-buscado, color-reemplazo):
237
+ 1. Si color-buscado es igual al color-reemplazo, return.
238
+ 2. Si el color de celda no es igual al  color-buscado, return.
239
+ 3. Ajusta el color de celda al color-reemplazo.
240
+ 4. Ejecuta Relleno (un lugar a la izquerda de celda, color-buscado, color-reemplazo).
241
+    Ejecuta Relleno (un lugar a la derecha de celda, color-buscado, color-reemplazo).
242
+    Ejecuta Relleno (un lugar arriba de celda, color-buscado, color-reemplazo).
243
+    Ejecuta Relleno (un lugar abajo de celda, color-buscado, color-reemplazo).
244
+ 5. Return.
245
+
246
+```
247
+
248
+![](images/floodFillAlgo.png)
249
+
250
+
251
+
252
+**Figura 9** - (a) El dibujo original con trasfondo blanco y celdas negras. (b) Se selecciona una celda y se ejecuta el algoritmo de rellenar en esa celda (1), (c) La celda se pinta anaranjada, entonces (d) invoca `relleno` en la celda de la izquierda (2). (e) La celda 2 se pinta anaranjada, entonces  (f) invoca `relleno` en la celda de la izquierda  (3). Esta celda no es de color-buscado (es negra), la función regresa (returns). 
253
+(g) `relleno` se invoca en la celda de la derecha de la celda 2, pero esa celda ya está pintada del color-reemplazo. (h) `relleno` se invoca en la celda de arriba de la celda  2. (i) Esta celda se pinta anaranjada e (j) invoca `relleno` en la celda de la izquierda  (4). Esta celda no es de color-buscado, por lo tanto la función regresa (k), celda (3) invoca `relleno` en su celda derecha.
254
+
255
+Invoca la función relleno (`flood-fill`) y prueba su funcionamiento utilizando varias figuras. Asegúrate de probar figuras abiertas, como, por ejemplo, la siguiente:
256
+
257
+
258
+
259
+![](images/floodFillTest-small.png)
260
+
261
+---
262
+
263
+---
264
+
265
+## Entregas
266
+
267
+Utiliza "Entrega" en Moodle para entregar el archivo `tools.cpp` con las funciones que implementaste en esta experiencia de laboratorio. Recuerda utilizar buenas prácticas de programación, incluir el nombre de los programadores y documentar tu programa.
268
+
269
+---
270
+
271
+---
272
+
273
+##Referencias
274
+
275
+[1] Alyce Brady and Pamela Cutter, http://nifty.stanford.edu/2005/GridPlotter/
276
+
277
+[2] Sacha Schutz, http://www.labsquare.org
278
+
279
+[3] http://en.wikipedia.org/wiki/Flood_fill
280
+
281
+---
282
+
283
+---
284
+---
285
+
286
+---
287
+
288
+----
289
+
290
+[English](#markdown-header-repetition-structures-grid-plotter) | [Español](#markdown-header-estructuras-de-repeticion-trazador-de-cuadricula)
291
+
292
+# Repetition Structures - Grid Plotter
293
+
294
+##Objectives
295
+
296
+Throughout this exercise the students will practice:
297
+
298
+* For loops
299
+* Nested for loops
300
+
301
+## Concepts
302
+
303
+
304
+Possibly many users of Windows OS (if not the most) have used the Paint program, which is a simple graphics painting application. In that software, as in many others graphics painting programs, there are various tools (eg. pencil, paint bucket, line) which allows the user to draw on the graph in different ways.
305
+
306
+In this laboratory we will make work some of these tools: square, circle, triangle, and some special lines... but don't worry, it will be made in a simpler way.
307
+
308
+The tools will be used by clicking any cell in the grid and (from that point) the cells required to form that shape will be painted. For example, if we use the vertical-line tool and then click on the cell (2,3) a vertical line should be painted over all the cells on the column 2 [(2, y) for all y into the grid].
309
+
310
+---
311
+
312
+---
313
+
314
+
315
+## Things you should know or recall:
316
+
317
+* The coordinates in Qt goes a little bit different. From left to right is from zero to maximum width. From top to bottom is from 0 to maximum height.
318
+* When we want to insert bidimensional data (such as the grid that has x and y) into a simple array we use a formula. For every point (x,y) in the grid, we solve number-of-columns * y + x and the result will be the index of the point in the array. Example: The index of the point (1,2) in a 5 width grid is 5*2+1 = 11
319
+
320
+---
321
+
322
+---
323
+
324
+## Libraries
325
+
326
+For this project you only need to use some of the functions of QtGlobal for the implementation of the circle:
327
+
328
+* int qFloor(qreal v) // Returns the floor of the value v.
329
+* qreal qSqrt(qreal v) // Returns the square root of v.
330
+* qreal qPow(qreal x, qreal y) // Returns the value of x raised to the power of y.
331
+
332
+And use the funcion that paints on the grid:
333
+
334
+* void switchOn(int x, int y, const QColor& color); //It paints the cell (x,y) with the color given. (You don't have to worry about QColor because is given to you by parameter.)
335
+
336
+Though it is not visible in this file (tools.cpp), there exists an array called mColors that contains the colors of all the cells of the grid. This will help you to know what color is in a cell: mColors[columns * y + x]
337
+
338
+
339
+
340
+---
341
+
342
+---
343
+
344
+
345
+!INCLUDE "../../eip-diagnostic/gridplot/en/diag-gridplot-01.html"
346
+
347
+!INCLUDE "../../eip-diagnostic/gridplot/en/diag-gridplot-02.html"
348
+
349
+
350
+---
351
+
352
+---
353
+
354
+
355
+## Laboratory session:
356
+
357
+### Exercise 1
358
+
359
+The Qt project at *HERE???* contains the skeleton for an application to draw lines or shapes on a grid. The application allows the user to select the color to paint, the color of the grid background, the painting shape (e.g., circle, square) and size of the tool. The selected shape is drawn when the user clicks the grid. 
360
+
361
+Your first job is to implement the functions to make the *row-major-fill*, *col-major-fill*, *left-diagonal* and *right-diagonal* buttons work. The function row-major-fill has been implemented for you as an example. The functions should work as follows.
362
+
363
+#### row-major: 
364
+
365
+When this shape is chosen, a horizontal line will shall be drawn in the grid in the row where the user clicks. The line should expand to the left and right of the cell clicked by the user until it finds a pixel whose color is not the background color (or the grid ends). Figure 1 illustrates this behavior.
366
+
367
+
368
+| (a) | (b) | (c) |  
369
+|---|----|----|
370
+| ![](images/rowMajor01-small.png) | ![](images/rowMajor02-small.png) | ![](images/rowMajor03-small.png)| 
371
+
372
+
373
+**Figure 1** - (a) A painting with a white background and red dots. (b) When the user clicks the **row-major** button and clicks the shown cell (c) a horizontal line is drawn that expands to the left and right of the clicked cell until a cell of non-background color is found.
374
+
375
+
376
+#### columns-major
377
+
378
+This button should work similar to the *row-major* but for columns. Figure 2 illustrates this behavior.
379
+
380
+| (a) | (b) | (c) | 
381
+|---|----|----|
382
+| ![](images/colMajor01-small.png) | ![](images/colMajor02-small.png) | ![](images/colMajor03-small.png)| 
383
+
384
+**Figure 2** - (a) A painting with a white background and red dots. (b) When the user clicks the **columns-major** button and clicks the shown cell, (c) a vertical line is drawn that expands to the top and botton of the clicked cell until a cell of non-background color is found.
385
+
386
+
387
+
388
+#### left-diagonal
389
+
390
+
391
+This button should work similar to the *row-major* but produces a diagonal from upper left to lower right. Figure 3 illustrates this behavior.
392
+
393
+
394
+| (a) | (b) | (c) | 
395
+|---|----|----|
396
+| ![](images/diagLeft00-small.png) | ![](images/diagLeft01-small.png) | ![](images/diagLeft02-small.png)|
397
+
398
+**Figure 3** - (a) A painting with a white background and red dots. (b) When the user clicks the **left-diagonal** button and clicks the shown cell (c) a left-diagonal line is drawn that expands from the top left to the bottom right of the clicked cell until a cell of non-background color is found.
399
+
400
+
401
+#### right-diagonal
402
+
403
+This button should work similar to the *left-diagonal* but produces a diagonal from bottom left to top right. Figure 4 illustrates this behavior.
404
+
405
+| (a) | (b) | (c) | 
406
+|---|----|----|
407
+| ![](images/diagLeft00-small.png) | ![](images/diagLeft01-small.png) | ![](images/diagRight02-small.png)| 
408
+
409
+**Figure 4** - (a) A painting with a white background and red dots. (b) When the user clicks the **right-diagonal** button and clicks the shown cell (c) a right-diagonal line is drawn that expands from the bottom left to the top right of the clicked cell until a cell of non-background color is found.
410
+
411
+## Exercise 2 a
412
+
413
+Let's implement the functionality to draw the square, triangle and circle. The **size** of the drawn shape will depend in the size chosen using the slide bar.
414
+
415
+For the squares (the easiest) you may think of them as if they were onions!  A square of size 1 is just the cell clicked by the user. A square of size 2 is the clicked cell with a layer of 1 cell, and so forth. In other words, a square of size $n$ will have height = width = $2n-1$
416
+
417
+
418
+![](images/squares.png)
419
+
420
+**Figure 5** - Squares of size 1 (green), 2 (red), 3 (blue), and 4 (yellow). In each case, the user clicked on the cell at the center of the square.
421
+
422
+
423
+
424
+## Exercise 2 b
425
+
426
+The triangle button should produce an **isosceles** triangles as shown in Figure 6. For a chosen size **n** the base will be  $2n + 1$. The height should be $n + 1$.
427
+
428
+
429
+![](images/triangles.png)
430
+
431
+
432
+**Figure 5** - Triangles of size 1 (green), 2 (red), 3 (blue), and 4 (yellow). In each case, the user clicked on the cell at the center of the base of the triangle.
433
+
434
+## Exercise 2 c
435
+
436
+Congrats, you made it to the hardest part: circles! Here you need to use your math skills... hope you did well in that class. 
437
+
438
+
439
+![](images/circles.png)
440
+
441
+**Figure 5** - Circles of size 1 (green), 2 (red), 3 (blue), and 4 (yellow). In each case, the user clicked on the cell at the center the circle.
442
+
443
+Here is a hint on how to produce the circles. You need to start by understanding what their equation ($r^2 = y^2 + x^2$) means. As an example, lets consider $r=1$. The equation for a circle with $r = 1$ means that any point $(x,y)$ such that $x^2 + y^2 = 1$ is a point in the *circumference* of the circle.  The equation for a *filled* circle is  $x^2 + y^2 <=r^2$. A filled circle of radius 1 has an equation $x^2 + y^2 <= 1$, which means that any point $(x,y)$ such that $x^2 + y^2 <= 1$ is a point in filled circle. 
444
+
445
+How to produce a circle? One way would be to generate all points in the **proximity** of the center of the circle and determine if they comply with $x^2 + y^2 <= r^2$. For example, we could try every point that is in the square of size $2r+1$. For a circle of $r=2$ we would need to generate all the following points and test them against the $x^2 + y^2 <=4$ equation:
446
+
447
+````
448
+(-2, 2) (-1, 2) ( 0, 2) ( 1, 2) ( 2, 2)
449
+(-2, 1) (-1, 1) ( 0, 1) ( 1, 1) ( 2, 1)
450
+(-2, 0) (-1, 0) ( 0, 0) ( 1, 0) ( 2, 0)
451
+(-2,-1) (-1,-1) ( 0,-1) ( 1,-1) ( 2,-1)
452
+(-2,-2) (-1,-2) ( 0,-2) ( 1,-2) ( 2,-2)
453
+```` 
454
+
455
+In this case, only the shown points would comply to the equation.
456
+
457
+````
458
+                ( 0, 2) 
459
+        (-1, 1) ( 0, 1) ( 1, 1) 
460
+(-2, 0) (-1, 0) ( 0, 0) ( 1, 0) ( 2, 0)
461
+        (-1,-1) ( 0,-1) ( 1,-1) 
462
+                ( 0,-2) 
463
+```` 
464
+
465
+
466
+## Exercise 3
467
+
468
+You will now implement the flood fill functionality. One of the most convenient ways to express the algorithm for flood fill is using recursion. A basic (but rather wastefull) recursive algorithm is given in Wikipedia: 
469
+
470
+
471
+```
472
+Flood-fill (node, target-color, replacement-color):
473
+ 1. If target-color is equal to replacement-color, return.
474
+ 2. If the color of node is not equal to target-color, return.
475
+ 3. Set the color of node to replacement-color.
476
+ 4. Perform Flood-fill (one step to the west of node, target-color, replacement-color).
477
+    Perform Flood-fill (one step to the east of node, target-color, replacement-color).
478
+    Perform Flood-fill (one step to the north of node, target-color, replacement-color).
479
+    Perform Flood-fill (one step to the south of node, target-color, replacement-color).
480
+ 5. Return.
481
+
482
+```
483
+
484
+![](images/floodFillAlgo.png)
485
+
486
+
487
+**Figure 6** - (a) The original drawing with white background and black pixels. (b) A pixel is chosen and the flood fill algorithm is run on that cell (1), (c) the cell is painted orange, then (d) invokes flood-fill on its west cell (2). (e) cell 2 is painted orange, then (f) invokes flood-fill on its west cell (3). This cell is not of the target color (it is black), the function returns. (g) flood fill is invoked on the cell to the east of cell 2, however that cell is already changed to the target color. (h) flood fill is invoked on the cell to the north of cell 2. (i) This cell is painted orange and (j) invokes flood cell on its west cell (4). This cell is not of target color, thus the function returns (k) cell (3) invokes flood fill on its east cell.
488
+
489
+
490
+Implement the flood fill function and test filling out various shapes. Be sure to test open shapes, such as the following:
491
+
492
+![](images/floodFillTest-small.png)
493
+
494
+
495
+
496
+### Deliverables
497
+
498
+In the following textboxes, copy the functions that you developed for the program. Remember to properly comment all functions and use good indentation and variable naming practices.
499
+
500
+### References
501
+
502
+[1] Alyce Brady and Pamela Cutter, http://nifty.stanford.edu/2005/GridPlotter/
503
+
504
+[2] Sacha Schutz, http://www.labsquare.org
505
+
506
+[3] http://en.wikipedia.org/wiki/Flood_fill

+ 212
- 0
dialog.cpp 查看文件

@@ -0,0 +1,212 @@
1
+#include "dialog.h"
2
+#include "ui_dialog.h"
3
+#include "grid.cpp"
4
+
5
+#include <QtGui>
6
+#include <QtCore>
7
+#include <QWidget>
8
+#include <QGridLayout>
9
+
10
+/// \fn Dialog::Dialog(QWidget *parent)
11
+/// \~English
12
+/// \brief The constructor sets the undo and redo to disable so it cant be pressed
13
+/// also sets the connections between the buttons and their respective signals.
14
+/// \~Spanish
15
+/// \brief El constructor ajusta el boton de deshacer (undo) y rehacer (redo) para que no
16
+/// puedan ser apretados, tambien ajusta las conecciones entre los botones y sus senales.
17
+Dialog::Dialog(QWidget *parent) :
18
+    QDialog(parent),
19
+    ui(new Ui::Dialog)
20
+{
21
+    ui->setupUi(this);
22
+    ui->undoButton->setDisabled(true);
23
+    ui->redoButton->setDisabled(true);
24
+
25
+    connect(ui->mainGrid, SIGNAL(canUndo(bool)), this, SLOT(setUndo(bool)));
26
+    connect(ui->mainGrid, SIGNAL(canRedo(bool)), this, SLOT(setRedo(bool)));
27
+}
28
+
29
+/// \fn void Dialog::setUndo(bool can)
30
+/// \~English
31
+/// \brief  Enables the undo button
32
+/// \~Spanish
33
+/// \brief Permite utilizar el boton de deshacer (undo)
34
+void Dialog::setUndo(bool can){
35
+    if (can == true) ui->undoButton->setDisabled(false);
36
+    else ui->undoButton->setDisabled(true);
37
+}
38
+
39
+/// \fn void Dialog::setRedo(bool can)
40
+/// \~English
41
+/// \brief  Enables the redo button
42
+/// \~Spanish
43
+/// \brief Permite utilizar el boton de (rehacer)
44
+void Dialog::setRedo(bool can){
45
+    if (can == true) ui->redoButton->setDisabled(false);
46
+    else ui->redoButton->setDisabled(true);
47
+}
48
+
49
+/// \fn Dialog::~Dialog()
50
+/// \~English
51
+/// \brief Destructor
52
+/// \~Spanish
53
+/// \brief Destructor
54
+Dialog::~Dialog()
55
+{
56
+    delete ui;
57
+}
58
+
59
+/// \fn void Dialog::on_frontcolorComboBox_activated(const QString &color)
60
+/// \~English
61
+/// \brief Sets the color of the brush
62
+/// \param color color of the brush
63
+/// \~Spanish
64
+/// \brief Ajusta el color de la brocha
65
+/// \param color color de la brocha
66
+void Dialog::on_frontcolorComboBox_activated(const QString &color)
67
+{
68
+    ui->mainGrid->setFront(color);
69
+}
70
+
71
+
72
+/// \fn void Dialog::on_backgroundComboBox_activated(const QString &color)
73
+/// \~English
74
+/// \brief Sets the color of the background
75
+/// \param color color del background
76
+/// \~Spanish
77
+/// \brief Ajusta el color del fondo
78
+/// \param color color del fondo
79
+void Dialog::on_backgroundComboBox_activated(const QString &color)
80
+{
81
+    ui->mainGrid->setBack(color);
82
+    ui->mainGrid->repaint();
83
+}
84
+
85
+/// \fn void Dialog::on_lapizButton_clicked()
86
+/// \~English
87
+/// \brief Sets the tool to dot
88
+/// \~Spanish
89
+/// \brief Ajusta la herramienta a usar la punta
90
+void Dialog::on_lapizButton_clicked()
91
+{
92
+    ui->mainGrid->setTool("dot");
93
+}
94
+
95
+/// \fn void Dialog::on_cleargridButton_clicked()
96
+/// \~English
97
+/// \brief Clears the grid. Erase the grid
98
+/// \~Spanish
99
+/// \brief Limpia la cuadricula Borra la cuadricula.
100
+void Dialog::on_cleargridButton_clicked()
101
+{
102
+    ui->mainGrid->clear();
103
+    ui->mainGrid->repaint();
104
+}
105
+
106
+/// \fn void Dialog::on_rowmajorfillButton_clicked()
107
+/// \~English
108
+/// \brief Sets the tool to Row fill
109
+/// \~Spanish
110
+/// \brief Ajusta la herramienta a llenar fila
111
+void Dialog::on_rowmajorfillButton_clicked()
112
+{
113
+    ui->mainGrid->setTool("row");
114
+}
115
+
116
+/// \fn void Dialog::on_colmajorfillButton_clicked()
117
+/// \~English
118
+/// \brief Sets the tool to Column fill
119
+/// \~Spanish
120
+/// \brief Ajusta la herramienta a llenar columna
121
+void Dialog::on_colmajorfillButton_clicked()
122
+{
123
+    ui->mainGrid->setTool("column");
124
+}
125
+
126
+/// \fn void Dialog::on_diagonalleftButton_clicked()
127
+/// \~English
128
+/// \brief Sets the tool to Diagonal Left fill
129
+/// \~Spanish
130
+/// \brief Ajusta la herrramienta a llenar en diagonal a la izquierda
131
+void Dialog::on_diagonalleftButton_clicked()
132
+{
133
+    ui->mainGrid->setTool("diagonal left");
134
+}
135
+
136
+/// \fn void Dialog::on_diagonalrightButton_clicked()
137
+/// \~English
138
+/// \brief Sets the tool to Diagonal Right fill
139
+/// \~Spanish
140
+/// \brief Ajusta la herrramienta a llenar en diagonal a la derecha
141
+void Dialog::on_diagonalrightButton_clicked()
142
+{
143
+    ui->mainGrid->setTool("diagonal right");
144
+}
145
+
146
+/// \fn void Dialog::on_drawsquareButton_clicked()
147
+/// \~English
148
+/// \brief Sets the tool to paint Squares
149
+/// \~Spanish
150
+/// \brief Ajusta la herramiento a pintar cuadrados
151
+void Dialog::on_drawsquareButton_clicked()
152
+{
153
+    ui->mainGrid->setTool("square");
154
+}
155
+
156
+/// \fn void Dialog::on_drawtriangleButton_clicked()
157
+/// \~English
158
+/// \brief Sets the tool to paint Triangles
159
+/// \~Spanish
160
+/// \brief Ajusta la herramiento a pintar triangulos
161
+void Dialog::on_drawtriangleButton_clicked()
162
+{
163
+    ui->mainGrid->setTool("triangle");
164
+}
165
+
166
+/// \fn void Dialog::on_drawcircleButton_clicked()
167
+/// \~English
168
+/// \brief Sets the tool to paint Circles
169
+/// \~Spanish
170
+/// \brief Ajusta la herramiento a pintar circulos
171
+void Dialog::on_drawcircleButton_clicked()
172
+{
173
+    ui->mainGrid->setTool("circle");
174
+}
175
+
176
+/// \fn void Dialog::on_speedHorizontalSlider_valueChanged(int value)
177
+/// \~English
178
+/// \brief Sets the tool point size
179
+/// \param value point size
180
+/// \~Spanish
181
+/// \brief Ajusta el tamano de la punta de la herramienta
182
+/// \param value tamano de la punta
183
+void Dialog::on_speedHorizontalSlider_valueChanged(int value)
184
+{
185
+    ui->mainGrid->setToolSize(value);
186
+    ui->lblSize->setText(QString::number(value));
187
+}
188
+
189
+/// \fn void Dialog::on_undoButton_clicked()
190
+/// \~English
191
+/// \brief Undo the previous grid modification
192
+/// \~Spanish
193
+/// \brief Deshace la modificacion previa de la cuadricula
194
+void Dialog::on_undoButton_clicked()
195
+{
196
+    ui->mainGrid->undo();
197
+}
198
+
199
+/// \fn void Dialog::on_redoButton_clicked()
200
+/// \~English
201
+/// \brief Redo the previous grid modification
202
+/// \~Spanish
203
+/// \brief Rehace la modificacion previa de la cuadricula
204
+void Dialog::on_redoButton_clicked()
205
+{
206
+    ui->mainGrid->redo();
207
+}
208
+
209
+void Dialog::on_floodButton_clicked()
210
+{
211
+    ui->mainGrid->setTool("flood");
212
+}

+ 161
- 0
dialog.h 查看文件

@@ -0,0 +1,161 @@
1
+#ifndef DIALOG_H
2
+#define DIALOG_H
3
+
4
+#include "grid.h"
5
+#include <QDialog>
6
+
7
+namespace Ui {
8
+class Dialog;
9
+}
10
+
11
+class Dialog : public QDialog
12
+{
13
+    Q_OBJECT
14
+
15
+public:
16
+
17
+    /// \fn Dialog::Dialog(QWidget *parent)
18
+    /// \~English
19
+    /// \brief The constructor sets the undo and redo to disable so it cant be pressed
20
+    /// also sets the connections between the buttons and their respective signals.
21
+    /// \~Spanish
22
+    /// \brief El constructor ajusta el boton de deshacer (undo) y rehacer (redo) para que no
23
+    /// puedan ser apretados, tambien ajusta las conecciones entre los botones y sus senales.
24
+    explicit Dialog(QWidget *parent = 0);
25
+
26
+    /// \fn Dialog::~Dialog()
27
+    /// \~English
28
+    /// \brief Destructor
29
+    /// \~Spanish
30
+    /// \brief Destructor
31
+    ~Dialog();
32
+
33
+private slots:
34
+
35
+    /// \fn void Dialog::on_frontcolorComboBox_activated(const QString &color)
36
+    /// \~English
37
+    /// \brief Sets the color of the brush
38
+    /// \param color color of the brush
39
+    /// \~Spanish
40
+    /// \brief Ajusta el color de la brocha
41
+    /// \param color color de la brocha
42
+    void on_frontcolorComboBox_activated(const QString &color);
43
+
44
+    /// \fn void Dialog::on_backgroundComboBox_activated(const QString &color)
45
+    /// \~English
46
+    /// \brief Sets the color of the background
47
+    /// \param color color del background
48
+    /// \~Spanish
49
+    /// \brief Ajusta el color del fondo
50
+    /// \param color color del fondo
51
+    void on_backgroundComboBox_activated(const QString &color);
52
+
53
+    /// \fn void Dialog::on_lapizButton_clicked()
54
+    /// \~English
55
+    /// \brief Sets the tool to dot
56
+    /// \~Spanish
57
+    /// \brief Ajusta la herramienta a usar la punta
58
+    void on_lapizButton_clicked();
59
+
60
+    /// \fn void Dialog::on_cleargridButton_clicked()
61
+    /// \~English
62
+    /// \brief Clears the grid. Erase the grid
63
+    /// \~Spanish
64
+    /// \brief Limpia la cuadricula Borra la cuadricula.
65
+    void on_cleargridButton_clicked();
66
+
67
+    /// \fn void Dialog::on_rowmajorfillButton_clicked()
68
+    /// \~English
69
+    /// \brief Sets the tool to Row fill
70
+    /// \~Spanish
71
+    /// \brief Ajusta la herramienta a llenar fila
72
+    void on_rowmajorfillButton_clicked();
73
+
74
+
75
+    /// \fn void Dialog::on_colmajorfillButton_clicked()
76
+    /// \~English
77
+    /// \brief Sets the tool to Column fill
78
+    /// \~Spanish
79
+    /// \brief Ajusta la herramienta a llenar columna
80
+    void on_colmajorfillButton_clicked();
81
+
82
+    /// \fn void Dialog::on_diagonalleftButton_clicked()
83
+    /// \~English
84
+    /// \brief Sets the tool to Diagonal Left fill
85
+    /// \~Spanish
86
+    /// \brief Ajusta la herrramienta a llenar en diagonal a la izquierda
87
+    void on_diagonalleftButton_clicked();
88
+
89
+    /// \fn void Dialog::on_diagonalrightButton_clicked()
90
+    /// \~English
91
+    /// \brief Sets the tool to Diagonal Right fill
92
+    /// \~Spanish
93
+    /// \brief Ajusta la herrramienta a llenar en diagonal a la derecha
94
+    void on_diagonalrightButton_clicked();
95
+
96
+    /// \fn void Dialog::on_drawsquareButton_clicked()
97
+    /// \~English
98
+    /// \brief Sets the tool to paint Squares
99
+    /// \~Spanish
100
+    /// \brief Ajusta la herramiento a pintar cuadrados
101
+    void on_drawsquareButton_clicked();
102
+
103
+    /// \fn void Dialog::on_drawtriangleButton_clicked()
104
+    /// \~English
105
+    /// \brief Sets the tool to paint Triangles
106
+    /// \~Spanish
107
+    /// \brief Ajusta la herramiento a pintar triangulos
108
+    void on_drawtriangleButton_clicked();
109
+
110
+    /// \fn void Dialog::on_drawcircleButton_clicked()
111
+    /// \~English
112
+    /// \brief Sets the tool to paint Circles
113
+    /// \~Spanish
114
+    /// \brief Ajusta la herramiento a pintar circulos
115
+    void on_drawcircleButton_clicked();
116
+
117
+    /// \fn void Dialog::on_speedHorizontalSlider_valueChanged(int value)
118
+    /// \~English
119
+    /// \brief Sets the tool point size
120
+    /// \param value point size
121
+    /// \~Spanish
122
+    /// \brief Ajusta el tamano de la punta de la herramienta
123
+    /// \param value tamano de la punta
124
+    void on_speedHorizontalSlider_valueChanged(int value);
125
+
126
+    /// \fn void Dialog::on_undoButton_clicked()
127
+    /// \~English
128
+    /// \brief Undo the previous grid modification
129
+    /// \~Spanish
130
+    /// \brief Deshace la modificacion previa de la cuadricula
131
+    void on_undoButton_clicked();
132
+
133
+    /// \fn void Dialog::on_redoButton_clicked()
134
+    /// \~English
135
+    /// \brief Redo the previous grid modification
136
+    /// \~Spanish
137
+    /// \brief Rehace la modificacion previa de la cuadricula
138
+    void on_redoButton_clicked();
139
+
140
+    /// \fn void Dialog::setUndo(bool can)
141
+    /// \~English
142
+    /// \brief  Enables the undo button
143
+    /// \~Spanish
144
+    /// \brief Permite utilizar el boton de deshacer (undo)
145
+    void setUndo(bool cannot);
146
+
147
+    /// \fn void Dialog::setRedo(bool can)
148
+    /// \~English
149
+    /// \brief  Enables the redo button
150
+    /// \~Spanish
151
+    /// \brief Permite utilizar el boton de (rehacer)
152
+    void setRedo(bool cannot);
153
+
154
+    void on_floodButton_clicked();
155
+
156
+private:
157
+    Ui::Dialog *ui;
158
+    GridWidget *grid;
159
+};
160
+
161
+#endif // DIALOG_H

+ 572
- 0
dialog.ui 查看文件

@@ -0,0 +1,572 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<ui version="4.0">
3
+ <class>Dialog</class>
4
+ <widget class="QDialog" name="Dialog">
5
+  <property name="geometry">
6
+   <rect>
7
+    <x>0</x>
8
+    <y>0</y>
9
+    <width>452</width>
10
+    <height>535</height>
11
+   </rect>
12
+  </property>
13
+  <property name="windowTitle">
14
+   <string>Dialog</string>
15
+  </property>
16
+  <property name="styleSheet">
17
+   <string notr="true">background-color:#fff</string>
18
+  </property>
19
+  <widget class="QPushButton" name="rowmajorfillButton">
20
+   <property name="geometry">
21
+    <rect>
22
+     <x>100</x>
23
+     <y>330</y>
24
+     <width>31</width>
25
+     <height>31</height>
26
+    </rect>
27
+   </property>
28
+   <property name="styleSheet">
29
+    <string notr="true">
30
+background-image: url(://row);
31
+background-repeat: no-repeat;
32
+margin:1px;
33
+
34
+
35
+</string>
36
+   </property>
37
+   <property name="text">
38
+    <string/>
39
+   </property>
40
+   <property name="autoDefault">
41
+    <bool>false</bool>
42
+   </property>
43
+  </widget>
44
+  <widget class="QPushButton" name="drawtriangleButton">
45
+   <property name="geometry">
46
+    <rect>
47
+     <x>20</x>
48
+     <y>330</y>
49
+     <width>31</width>
50
+     <height>31</height>
51
+    </rect>
52
+   </property>
53
+   <property name="styleSheet">
54
+    <string notr="true">
55
+background-image: url(://triangle);
56
+background-repeat: no-repeat;
57
+margin:1px;
58
+
59
+
60
+</string>
61
+   </property>
62
+   <property name="text">
63
+    <string/>
64
+   </property>
65
+   <property name="autoDefault">
66
+    <bool>false</bool>
67
+   </property>
68
+  </widget>
69
+  <widget class="QPushButton" name="diagonalleftButton">
70
+   <property name="geometry">
71
+    <rect>
72
+     <x>60</x>
73
+     <y>370</y>
74
+     <width>31</width>
75
+     <height>31</height>
76
+    </rect>
77
+   </property>
78
+   <property name="styleSheet">
79
+    <string notr="true">
80
+background-image: url(://lDiag);
81
+background-repeat: no-repeat;
82
+margin:1px;
83
+
84
+
85
+</string>
86
+   </property>
87
+   <property name="text">
88
+    <string/>
89
+   </property>
90
+   <property name="autoDefault">
91
+    <bool>false</bool>
92
+   </property>
93
+  </widget>
94
+  <widget class="QPushButton" name="drawsquareButton">
95
+   <property name="geometry">
96
+    <rect>
97
+     <x>20</x>
98
+     <y>410</y>
99
+     <width>31</width>
100
+     <height>31</height>
101
+    </rect>
102
+   </property>
103
+   <property name="styleSheet">
104
+    <string notr="true">
105
+background-image: url(://rect);
106
+background-repeat: no-repeat;
107
+margin:1px;
108
+
109
+
110
+</string>
111
+   </property>
112
+   <property name="text">
113
+    <string/>
114
+   </property>
115
+   <property name="autoDefault">
116
+    <bool>false</bool>
117
+   </property>
118
+  </widget>
119
+  <widget class="GridWidget" name="mainGrid" native="true">
120
+   <property name="geometry">
121
+    <rect>
122
+     <x>170</x>
123
+     <y>70</y>
124
+     <width>271</width>
125
+     <height>371</height>
126
+    </rect>
127
+   </property>
128
+   <property name="styleSheet">
129
+    <string notr="true">
130
+     border-style: outset;
131
+     border-width: 1px; border-color:ligth gray;
132
+</string>
133
+   </property>
134
+  </widget>
135
+  <widget class="QPushButton" name="colmajorfillButton">
136
+   <property name="geometry">
137
+    <rect>
138
+     <x>60</x>
139
+     <y>330</y>
140
+     <width>31</width>
141
+     <height>31</height>
142
+    </rect>
143
+   </property>
144
+   <property name="styleSheet">
145
+    <string notr="true">
146
+background-image: url(://column);
147
+background-repeat: no-repeat;
148
+margin:1px;
149
+
150
+
151
+</string>
152
+   </property>
153
+   <property name="text">
154
+    <string/>
155
+   </property>
156
+   <property name="autoDefault">
157
+    <bool>false</bool>
158
+   </property>
159
+  </widget>
160
+  <widget class="QPushButton" name="cleargridButton">
161
+   <property name="geometry">
162
+    <rect>
163
+     <x>20</x>
164
+     <y>250</y>
165
+     <width>111</width>
166
+     <height>31</height>
167
+    </rect>
168
+   </property>
169
+   <property name="styleSheet">
170
+    <string notr="true"/>
171
+   </property>
172
+   <property name="text">
173
+    <string>Clear Grid</string>
174
+   </property>
175
+   <property name="autoDefault">
176
+    <bool>false</bool>
177
+   </property>
178
+  </widget>
179
+  <widget class="QPushButton" name="diagonalrightButton">
180
+   <property name="geometry">
181
+    <rect>
182
+     <x>100</x>
183
+     <y>370</y>
184
+     <width>31</width>
185
+     <height>31</height>
186
+    </rect>
187
+   </property>
188
+   <property name="styleSheet">
189
+    <string notr="true">
190
+background-image: url(://rDiag);
191
+background-repeat: no-repeat;
192
+margin:1px;
193
+
194
+
195
+</string>
196
+   </property>
197
+   <property name="text">
198
+    <string/>
199
+   </property>
200
+   <property name="autoDefault">
201
+    <bool>false</bool>
202
+   </property>
203
+  </widget>
204
+  <widget class="QPushButton" name="drawcircleButton">
205
+   <property name="geometry">
206
+    <rect>
207
+     <x>20</x>
208
+     <y>370</y>
209
+     <width>31</width>
210
+     <height>31</height>
211
+    </rect>
212
+   </property>
213
+   <property name="styleSheet">
214
+    <string notr="true">
215
+background-image: url(://circle);
216
+background-repeat: no-repeat;
217
+margin:1px;
218
+
219
+
220
+</string>
221
+   </property>
222
+   <property name="text">
223
+    <string/>
224
+   </property>
225
+   <property name="autoDefault">
226
+    <bool>false</bool>
227
+   </property>
228
+  </widget>
229
+  <widget class="QPushButton" name="lapizButton">
230
+   <property name="geometry">
231
+    <rect>
232
+     <x>20</x>
233
+     <y>210</y>
234
+     <width>111</width>
235
+     <height>31</height>
236
+    </rect>
237
+   </property>
238
+   <property name="styleSheet">
239
+    <string notr="true"/>
240
+   </property>
241
+   <property name="text">
242
+    <string>Pencil</string>
243
+   </property>
244
+   <property name="autoDefault">
245
+    <bool>false</bool>
246
+   </property>
247
+  </widget>
248
+  <widget class="QPushButton" name="undoButton">
249
+   <property name="enabled">
250
+    <bool>true</bool>
251
+   </property>
252
+   <property name="geometry">
253
+    <rect>
254
+     <x>80</x>
255
+     <y>290</y>
256
+     <width>51</width>
257
+     <height>31</height>
258
+    </rect>
259
+   </property>
260
+   <property name="styleSheet">
261
+    <string notr="true"/>
262
+   </property>
263
+   <property name="text">
264
+    <string>Undo</string>
265
+   </property>
266
+   <property name="autoDefault">
267
+    <bool>false</bool>
268
+   </property>
269
+  </widget>
270
+  <widget class="QPushButton" name="redoButton">
271
+   <property name="geometry">
272
+    <rect>
273
+     <x>20</x>
274
+     <y>290</y>
275
+     <width>51</width>
276
+     <height>31</height>
277
+    </rect>
278
+   </property>
279
+   <property name="styleSheet">
280
+    <string notr="true"/>
281
+   </property>
282
+   <property name="text">
283
+    <string>Redo</string>
284
+   </property>
285
+   <property name="autoDefault">
286
+    <bool>false</bool>
287
+   </property>
288
+  </widget>
289
+  <widget class="QFrame" name="frame">
290
+   <property name="geometry">
291
+    <rect>
292
+     <x>-10</x>
293
+     <y>-10</y>
294
+     <width>591</width>
295
+     <height>71</height>
296
+    </rect>
297
+   </property>
298
+   <property name="styleSheet">
299
+    <string notr="true">background-color:#c2050b
300
+;
301
+border-color:#525662;</string>
302
+   </property>
303
+   <property name="frameShape">
304
+    <enum>QFrame::StyledPanel</enum>
305
+   </property>
306
+   <property name="frameShadow">
307
+    <enum>QFrame::Raised</enum>
308
+   </property>
309
+   <widget class="QLabel" name="backgroundcolorLabel_2">
310
+    <property name="geometry">
311
+     <rect>
312
+      <x>160</x>
313
+      <y>20</y>
314
+      <width>181</width>
315
+      <height>41</height>
316
+     </rect>
317
+    </property>
318
+    <property name="font">
319
+     <font>
320
+      <pointsize>23</pointsize>
321
+     </font>
322
+    </property>
323
+    <property name="styleSheet">
324
+     <string notr="true">color:  #fff;</string>
325
+    </property>
326
+    <property name="text">
327
+     <string>Grid Plotter</string>
328
+    </property>
329
+   </widget>
330
+  </widget>
331
+  <widget class="QFrame" name="LogoFrame">
332
+   <property name="geometry">
333
+    <rect>
334
+     <x>240</x>
335
+     <y>450</y>
336
+     <width>201</width>
337
+     <height>61</height>
338
+    </rect>
339
+   </property>
340
+   <property name="styleSheet">
341
+    <string notr="true"/>
342
+   </property>
343
+   <property name="frameShape">
344
+    <enum>QFrame::StyledPanel</enum>
345
+   </property>
346
+   <property name="frameShadow">
347
+    <enum>QFrame::Raised</enum>
348
+   </property>
349
+  </widget>
350
+  <widget class="QWidget" name="layoutWidget">
351
+   <property name="geometry">
352
+    <rect>
353
+     <x>20</x>
354
+     <y>450</y>
355
+     <width>166</width>
356
+     <height>71</height>
357
+    </rect>
358
+   </property>
359
+   <layout class="QVBoxLayout" name="verticalLayout">
360
+    <item>
361
+     <widget class="QGroupBox" name="adjustspeedGroupBox">
362
+      <property name="enabled">
363
+       <bool>true</bool>
364
+      </property>
365
+      <property name="title">
366
+       <string>Adjust Size</string>
367
+      </property>
368
+     </widget>
369
+    </item>
370
+    <item>
371
+     <layout class="QHBoxLayout" name="horizontalLayout">
372
+      <item>
373
+       <widget class="QLabel" name="slowLabel">
374
+        <property name="text">
375
+         <string>Small</string>
376
+        </property>
377
+       </widget>
378
+      </item>
379
+      <item>
380
+       <widget class="QSlider" name="speedHorizontalSlider">
381
+        <property name="acceptDrops">
382
+         <bool>false</bool>
383
+        </property>
384
+        <property name="minimum">
385
+         <number>1</number>
386
+        </property>
387
+        <property name="maximum">
388
+         <number>25</number>
389
+        </property>
390
+        <property name="pageStep">
391
+         <number>1</number>
392
+        </property>
393
+        <property name="value">
394
+         <number>1</number>
395
+        </property>
396
+        <property name="orientation">
397
+         <enum>Qt::Horizontal</enum>
398
+        </property>
399
+       </widget>
400
+      </item>
401
+      <item>
402
+       <widget class="QLabel" name="fastLabel">
403
+        <property name="text">
404
+         <string>Big</string>
405
+        </property>
406
+       </widget>
407
+      </item>
408
+     </layout>
409
+    </item>
410
+   </layout>
411
+  </widget>
412
+  <widget class="QWidget" name="layoutWidget1">
413
+   <property name="geometry">
414
+    <rect>
415
+     <x>20</x>
416
+     <y>80</y>
417
+     <width>127</width>
418
+     <height>108</height>
419
+    </rect>
420
+   </property>
421
+   <layout class="QVBoxLayout" name="verticalLayout_2">
422
+    <item>
423
+     <widget class="QLabel" name="fillcolorLabel">
424
+      <property name="text">
425
+       <string>Fill Color:</string>
426
+      </property>
427
+     </widget>
428
+    </item>
429
+    <item>
430
+     <widget class="QComboBox" name="frontcolorComboBox">
431
+      <property name="styleSheet">
432
+       <string notr="true"/>
433
+      </property>
434
+      <item>
435
+       <property name="text">
436
+        <string>black</string>
437
+       </property>
438
+      </item>
439
+      <item>
440
+       <property name="text">
441
+        <string>white</string>
442
+       </property>
443
+      </item>
444
+      <item>
445
+       <property name="text">
446
+        <string>yellow</string>
447
+       </property>
448
+      </item>
449
+      <item>
450
+       <property name="text">
451
+        <string>green</string>
452
+       </property>
453
+      </item>
454
+      <item>
455
+       <property name="text">
456
+        <string>red</string>
457
+       </property>
458
+      </item>
459
+      <item>
460
+       <property name="text">
461
+        <string>blue</string>
462
+       </property>
463
+      </item>
464
+      <item>
465
+       <property name="text">
466
+        <string>gray</string>
467
+       </property>
468
+      </item>
469
+     </widget>
470
+    </item>
471
+    <item>
472
+     <widget class="QLabel" name="backgroundcolorLabel">
473
+      <property name="text">
474
+       <string>Background Color:</string>
475
+      </property>
476
+     </widget>
477
+    </item>
478
+    <item>
479
+     <widget class="QComboBox" name="backgroundComboBox">
480
+      <property name="styleSheet">
481
+       <string notr="true"/>
482
+      </property>
483
+      <item>
484
+       <property name="text">
485
+        <string>white</string>
486
+       </property>
487
+      </item>
488
+      <item>
489
+       <property name="text">
490
+        <string>black</string>
491
+       </property>
492
+      </item>
493
+      <item>
494
+       <property name="text">
495
+        <string>yellow</string>
496
+       </property>
497
+      </item>
498
+      <item>
499
+       <property name="text">
500
+        <string>green</string>
501
+       </property>
502
+      </item>
503
+      <item>
504
+       <property name="text">
505
+        <string>red</string>
506
+       </property>
507
+      </item>
508
+      <item>
509
+       <property name="text">
510
+        <string>blue</string>
511
+       </property>
512
+      </item>
513
+      <item>
514
+       <property name="text">
515
+        <string>gray</string>
516
+       </property>
517
+      </item>
518
+     </widget>
519
+    </item>
520
+   </layout>
521
+  </widget>
522
+  <widget class="QLabel" name="lblSize">
523
+   <property name="geometry">
524
+    <rect>
525
+     <x>200</x>
526
+     <y>500</y>
527
+     <width>31</width>
528
+     <height>16</height>
529
+    </rect>
530
+   </property>
531
+   <property name="text">
532
+    <string>1</string>
533
+   </property>
534
+  </widget>
535
+  <widget class="QPushButton" name="floodButton">
536
+   <property name="geometry">
537
+    <rect>
538
+     <x>60</x>
539
+     <y>410</y>
540
+     <width>31</width>
541
+     <height>31</height>
542
+    </rect>
543
+   </property>
544
+   <property name="styleSheet">
545
+    <string notr="true">
546
+background-color: black;
547
+background-repeat: no-repeat;
548
+margin:1px;
549
+
550
+
551
+</string>
552
+   </property>
553
+   <property name="text">
554
+    <string/>
555
+   </property>
556
+   <property name="autoDefault">
557
+    <bool>false</bool>
558
+   </property>
559
+  </widget>
560
+ </widget>
561
+ <layoutdefault spacing="6" margin="11"/>
562
+ <customwidgets>
563
+  <customwidget>
564
+   <class>GridWidget</class>
565
+   <extends>QWidget</extends>
566
+   <header location="global">grid.h</header>
567
+   <container>1</container>
568
+  </customwidget>
569
+ </customwidgets>
570
+ <resources/>
571
+ <connections/>
572
+</ui>

+ 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_dialog.html" target="_self">Dialog</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_grid_widget.html" target="_self">GridWidget</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 Thu Jun 18 2015 16:01:03 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 查看文件


+ 120
- 0
doc/en/html/class_dialog-members.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: 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">Dialog 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_dialog.html">Dialog</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog</a>(QWidget *parent=0)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
93
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>grid</b> (defined in <a class="el" href="class_dialog.html">Dialog</a>)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
94
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">on_backgroundComboBox_activated</a>(const QString &amp;color)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
95
+  <tr><td class="entry"><a class="el" href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">on_cleargridButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
96
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">on_colmajorfillButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">on_diagonalleftButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">on_diagonalrightButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">on_drawcircleButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">on_drawsquareButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
101
+  <tr><td class="entry"><a class="el" href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">on_drawtriangleButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">on_frontcolorComboBox_activated</a>(const QString &amp;color)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">on_lapizButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a165b1efc87f92641d05612761864509a">on_redoButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
105
+  <tr><td class="entry"><a class="el" href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">on_rowmajorfillButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">on_speedHorizontalSlider_valueChanged</a>(int value)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
107
+  <tr><td class="entry"><a class="el" href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">on_undoButton_clicked</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">setRedo</a>(bool cannot)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
109
+  <tr><td class="entry"><a class="el" href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">setUndo</a>(bool cannot)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span><span class="mlabel">slot</span></td></tr>
110
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ui</b> (defined in <a class="el" href="class_dialog.html">Dialog</a>)</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
111
+  <tr><td class="entry"><a class="el" href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">~Dialog</a>()</td><td class="entry"><a class="el" href="class_dialog.html">Dialog</a></td><td class="entry"></td></tr>
112
+</table></div><!-- contents -->
113
+<!-- start footer part -->
114
+<hr class="footer"/><address class="footer"><small>
115
+Generated on Thu Jun 18 2015 16:01:03 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>

+ 296
- 0
doc/en/html/class_dialog.html 查看文件

@@ -0,0 +1,296 @@
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: Dialog Class Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
66
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
67
+    </ul>
68
+  </div>
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+</div><!-- top -->
84
+<div class="header">
85
+  <div class="summary">
86
+<a href="#pub-methods">Public Member Functions</a> &#124;
87
+<a href="#pri-slots">Private Slots</a> &#124;
88
+<a href="#pri-attribs">Private Attributes</a> &#124;
89
+<a href="class_dialog-members.html">List of all members</a>  </div>
90
+  <div class="headertitle">
91
+<div class="title">Dialog Class Reference</div>  </div>
92
+</div><!--header-->
93
+<div class="contents">
94
+<div class="dynheader">
95
+Inheritance diagram for Dialog:</div>
96
+<div class="dyncontent">
97
+ <div class="center">
98
+  <img src="class_dialog.png" usemap="#Dialog_map" alt=""/>
99
+  <map id="Dialog_map" name="Dialog_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:acfa2063f9f962d394c6a645b6e7e08d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfa2063f9f962d394c6a645b6e7e08d8"></a>
106
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog</a> (QWidget *parent=0)</td></tr>
107
+<tr class="memdesc:acfa2063f9f962d394c6a645b6e7e08d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The constructor sets the undo and redo to disable so it cant be pressed also sets the connections between the buttons and their respective signals. <br /></td></tr>
108
+<tr class="separator:acfa2063f9f962d394c6a645b6e7e08d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
109
+<tr class="memitem:a2a1fe6ef28513eed13bfcd3a4da83ccb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a1fe6ef28513eed13bfcd3a4da83ccb"></a>
110
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">~Dialog</a> ()</td></tr>
111
+<tr class="memdesc:a2a1fe6ef28513eed13bfcd3a4da83ccb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
112
+<tr class="separator:a2a1fe6ef28513eed13bfcd3a4da83ccb"><td class="memSeparator" colspan="2">&#160;</td></tr>
113
+</table><table class="memberdecls">
114
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
115
+Private Slots</h2></td></tr>
116
+<tr class="memitem:a27837731f7f92dbdf183a88d69e5f058"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">on_frontcolorComboBox_activated</a> (const QString &amp;color)</td></tr>
117
+<tr class="memdesc:a27837731f7f92dbdf183a88d69e5f058"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the brush.  <a href="#a27837731f7f92dbdf183a88d69e5f058">More...</a><br /></td></tr>
118
+<tr class="separator:a27837731f7f92dbdf183a88d69e5f058"><td class="memSeparator" colspan="2">&#160;</td></tr>
119
+<tr class="memitem:aadf1421d1559f8854f4e4637952f7a22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">on_backgroundComboBox_activated</a> (const QString &amp;color)</td></tr>
120
+<tr class="memdesc:aadf1421d1559f8854f4e4637952f7a22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the color of the background.  <a href="#aadf1421d1559f8854f4e4637952f7a22">More...</a><br /></td></tr>
121
+<tr class="separator:aadf1421d1559f8854f4e4637952f7a22"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+<tr class="memitem:a2c86f6c6c061a6ef60ef2e2de2073846"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c86f6c6c061a6ef60ef2e2de2073846"></a>
123
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">on_lapizButton_clicked</a> ()</td></tr>
124
+<tr class="memdesc:a2c86f6c6c061a6ef60ef2e2de2073846"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to dot. <br /></td></tr>
125
+<tr class="separator:a2c86f6c6c061a6ef60ef2e2de2073846"><td class="memSeparator" colspan="2">&#160;</td></tr>
126
+<tr class="memitem:ac4e4be6ea6b85a7c446cf5cbe52ff24d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4e4be6ea6b85a7c446cf5cbe52ff24d"></a>
127
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">on_cleargridButton_clicked</a> ()</td></tr>
128
+<tr class="memdesc:ac4e4be6ea6b85a7c446cf5cbe52ff24d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the grid. Erase the grid. <br /></td></tr>
129
+<tr class="separator:ac4e4be6ea6b85a7c446cf5cbe52ff24d"><td class="memSeparator" colspan="2">&#160;</td></tr>
130
+<tr class="memitem:af71690dee26ef70a83799fd03aed83d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af71690dee26ef70a83799fd03aed83d9"></a>
131
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">on_rowmajorfillButton_clicked</a> ()</td></tr>
132
+<tr class="memdesc:af71690dee26ef70a83799fd03aed83d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to Row fill. <br /></td></tr>
133
+<tr class="separator:af71690dee26ef70a83799fd03aed83d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
134
+<tr class="memitem:a4b856dc1212f1f93217a912918fa17c2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b856dc1212f1f93217a912918fa17c2"></a>
135
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">on_colmajorfillButton_clicked</a> ()</td></tr>
136
+<tr class="memdesc:a4b856dc1212f1f93217a912918fa17c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to Column fill. <br /></td></tr>
137
+<tr class="separator:a4b856dc1212f1f93217a912918fa17c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
138
+<tr class="memitem:a91fdfd22e9b620cb7053e6e6d1419743"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91fdfd22e9b620cb7053e6e6d1419743"></a>
139
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">on_diagonalleftButton_clicked</a> ()</td></tr>
140
+<tr class="memdesc:a91fdfd22e9b620cb7053e6e6d1419743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to Diagonal Left fill. <br /></td></tr>
141
+<tr class="separator:a91fdfd22e9b620cb7053e6e6d1419743"><td class="memSeparator" colspan="2">&#160;</td></tr>
142
+<tr class="memitem:af00e19216a6b70db95ed17ed9bcbd6bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af00e19216a6b70db95ed17ed9bcbd6bd"></a>
143
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">on_diagonalrightButton_clicked</a> ()</td></tr>
144
+<tr class="memdesc:af00e19216a6b70db95ed17ed9bcbd6bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to Diagonal Right fill. <br /></td></tr>
145
+<tr class="separator:af00e19216a6b70db95ed17ed9bcbd6bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
146
+<tr class="memitem:a7c01f33bd33dc3a12bc1bcd806b10af9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c01f33bd33dc3a12bc1bcd806b10af9"></a>
147
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">on_drawsquareButton_clicked</a> ()</td></tr>
148
+<tr class="memdesc:a7c01f33bd33dc3a12bc1bcd806b10af9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to paint Squares. <br /></td></tr>
149
+<tr class="separator:a7c01f33bd33dc3a12bc1bcd806b10af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
150
+<tr class="memitem:ad5dee98d3cbaf5f20e7a313eeb799046"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5dee98d3cbaf5f20e7a313eeb799046"></a>
151
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">on_drawtriangleButton_clicked</a> ()</td></tr>
152
+<tr class="memdesc:ad5dee98d3cbaf5f20e7a313eeb799046"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to paint Triangles. <br /></td></tr>
153
+<tr class="separator:ad5dee98d3cbaf5f20e7a313eeb799046"><td class="memSeparator" colspan="2">&#160;</td></tr>
154
+<tr class="memitem:a1c4e497f4dc5bf7aabcf71a6abe6097e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c4e497f4dc5bf7aabcf71a6abe6097e"></a>
155
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">on_drawcircleButton_clicked</a> ()</td></tr>
156
+<tr class="memdesc:a1c4e497f4dc5bf7aabcf71a6abe6097e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool to paint Circles. <br /></td></tr>
157
+<tr class="separator:a1c4e497f4dc5bf7aabcf71a6abe6097e"><td class="memSeparator" colspan="2">&#160;</td></tr>
158
+<tr class="memitem:a1d3a61ccc093ec58c70a7e2596b06d75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">on_speedHorizontalSlider_valueChanged</a> (int value)</td></tr>
159
+<tr class="memdesc:a1d3a61ccc093ec58c70a7e2596b06d75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tool point size.  <a href="#a1d3a61ccc093ec58c70a7e2596b06d75">More...</a><br /></td></tr>
160
+<tr class="separator:a1d3a61ccc093ec58c70a7e2596b06d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
161
+<tr class="memitem:ac1de62e0b8c7d6880b83697b148dad18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1de62e0b8c7d6880b83697b148dad18"></a>
162
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">on_undoButton_clicked</a> ()</td></tr>
163
+<tr class="memdesc:ac1de62e0b8c7d6880b83697b148dad18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Undo the previous grid modification. <br /></td></tr>
164
+<tr class="separator:ac1de62e0b8c7d6880b83697b148dad18"><td class="memSeparator" colspan="2">&#160;</td></tr>
165
+<tr class="memitem:a165b1efc87f92641d05612761864509a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a165b1efc87f92641d05612761864509a"></a>
166
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a165b1efc87f92641d05612761864509a">on_redoButton_clicked</a> ()</td></tr>
167
+<tr class="memdesc:a165b1efc87f92641d05612761864509a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redo the previous grid modification. <br /></td></tr>
168
+<tr class="separator:a165b1efc87f92641d05612761864509a"><td class="memSeparator" colspan="2">&#160;</td></tr>
169
+<tr class="memitem:abab21e66c8b496296fccb401d20c229d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abab21e66c8b496296fccb401d20c229d"></a>
170
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">setUndo</a> (bool cannot)</td></tr>
171
+<tr class="memdesc:abab21e66c8b496296fccb401d20c229d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the undo button. <br /></td></tr>
172
+<tr class="separator:abab21e66c8b496296fccb401d20c229d"><td class="memSeparator" colspan="2">&#160;</td></tr>
173
+<tr class="memitem:a7515d0b8d86ba9a798d0aa5e1ea83a2f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7515d0b8d86ba9a798d0aa5e1ea83a2f"></a>
174
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">setRedo</a> (bool cannot)</td></tr>
175
+<tr class="memdesc:a7515d0b8d86ba9a798d0aa5e1ea83a2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the redo button. <br /></td></tr>
176
+<tr class="separator:a7515d0b8d86ba9a798d0aa5e1ea83a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
177
+</table><table class="memberdecls">
178
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
179
+Private Attributes</h2></td></tr>
180
+<tr class="memitem:aaa4b5bfb9a0f64900d524f14bc32e6df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa4b5bfb9a0f64900d524f14bc32e6df"></a>
181
+Ui::Dialog *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
182
+<tr class="separator:aaa4b5bfb9a0f64900d524f14bc32e6df"><td class="memSeparator" colspan="2">&#160;</td></tr>
183
+<tr class="memitem:a328e3408db61aed0c90aaa1f4cb00327"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a328e3408db61aed0c90aaa1f4cb00327"></a>
184
+<a class="el" href="class_grid_widget.html">GridWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>grid</b></td></tr>
185
+<tr class="separator:a328e3408db61aed0c90aaa1f4cb00327"><td class="memSeparator" colspan="2">&#160;</td></tr>
186
+</table>
187
+<h2 class="groupheader">Member Function Documentation</h2>
188
+<a class="anchor" id="aadf1421d1559f8854f4e4637952f7a22"></a>
189
+<div class="memitem">
190
+<div class="memproto">
191
+<table class="mlabels">
192
+  <tr>
193
+  <td class="mlabels-left">
194
+      <table class="memname">
195
+        <tr>
196
+          <td class="memname">void Dialog::on_backgroundComboBox_activated </td>
197
+          <td>(</td>
198
+          <td class="paramtype">const QString &amp;&#160;</td>
199
+          <td class="paramname"><em>color</em></td><td>)</td>
200
+          <td></td>
201
+        </tr>
202
+      </table>
203
+  </td>
204
+  <td class="mlabels-right">
205
+<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span>  </td>
206
+  </tr>
207
+</table>
208
+</div><div class="memdoc">
209
+
210
+<p>Sets the color of the background. </p>
211
+<dl class="params"><dt>Parameters</dt><dd>
212
+  <table class="params">
213
+    <tr><td class="paramname">color</td><td>color del background </td></tr>
214
+  </table>
215
+  </dd>
216
+</dl>
217
+
218
+</div>
219
+</div>
220
+<a class="anchor" id="a27837731f7f92dbdf183a88d69e5f058"></a>
221
+<div class="memitem">
222
+<div class="memproto">
223
+<table class="mlabels">
224
+  <tr>
225
+  <td class="mlabels-left">
226
+      <table class="memname">
227
+        <tr>
228
+          <td class="memname">void Dialog::on_frontcolorComboBox_activated </td>
229
+          <td>(</td>
230
+          <td class="paramtype">const QString &amp;&#160;</td>
231
+          <td class="paramname"><em>color</em></td><td>)</td>
232
+          <td></td>
233
+        </tr>
234
+      </table>
235
+  </td>
236
+  <td class="mlabels-right">
237
+<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span>  </td>
238
+  </tr>
239
+</table>
240
+</div><div class="memdoc">
241
+
242
+<p>Sets the color of the brush. </p>
243
+<dl class="params"><dt>Parameters</dt><dd>
244
+  <table class="params">
245
+    <tr><td class="paramname">color</td><td>color of the brush </td></tr>
246
+  </table>
247
+  </dd>
248
+</dl>
249
+
250
+</div>
251
+</div>
252
+<a class="anchor" id="a1d3a61ccc093ec58c70a7e2596b06d75"></a>
253
+<div class="memitem">
254
+<div class="memproto">
255
+<table class="mlabels">
256
+  <tr>
257
+  <td class="mlabels-left">
258
+      <table class="memname">
259
+        <tr>
260
+          <td class="memname">void Dialog::on_speedHorizontalSlider_valueChanged </td>
261
+          <td>(</td>
262
+          <td class="paramtype">int&#160;</td>
263
+          <td class="paramname"><em>value</em></td><td>)</td>
264
+          <td></td>
265
+        </tr>
266
+      </table>
267
+  </td>
268
+  <td class="mlabels-right">
269
+<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span>  </td>
270
+  </tr>
271
+</table>
272
+</div><div class="memdoc">
273
+
274
+<p>Sets the tool point size. </p>
275
+<dl class="params"><dt>Parameters</dt><dd>
276
+  <table class="params">
277
+    <tr><td class="paramname">value</td><td>point size </td></tr>
278
+  </table>
279
+  </dd>
280
+</dl>
281
+
282
+</div>
283
+</div>
284
+<hr/>The documentation for this class was generated from the following files:<ul>
285
+<li><a class="el" href="dialog_8h_source.html">dialog.h</a></li>
286
+<li>dialog.cpp</li>
287
+</ul>
288
+</div><!-- contents -->
289
+<!-- start footer part -->
290
+<hr class="footer"/><address class="footer"><small>
291
+Generated on Thu Jun 18 2015 16:01:03 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
292
+<img class="footer" src="doxygen.png" alt="doxygen"/>
293
+</a> 1.8.9.1
294
+</small></address>
295
+</body>
296
+</html>

二進制
doc/en/html/class_dialog.png 查看文件


+ 143
- 0
doc/en/html/class_grid_widget-members.html 查看文件

@@ -0,0 +1,143 @@
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">GridWidget 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_grid_widget.html">GridWidget</a>, including all inherited members.</p>
91
+<table class="directory">
92
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">backColor</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
93
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">background</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
94
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>canRedo</b>(bool can) (defined in <a class="el" href="class_grid_widget.html">GridWidget</a>)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">signal</span></td></tr>
95
+  <tr bgcolor="#f0f0f0"><td class="entry"><b>canUndo</b>(bool can) (defined in <a class="el" href="class_grid_widget.html">GridWidget</a>)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">signal</span></td></tr>
96
+  <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>cellClicked</b>(QPoint pos) (defined in <a class="el" href="class_grid_widget.html">GridWidget</a>)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">signal</span></td></tr>
97
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">circle</a>(int x, int y, QColor toolColor, int toolSize)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
98
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">clear</a>()</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
99
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">ColMajorFill</a>(int x, int y, QColor colorClicked, QColor toolColor)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
100
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">DiagonalLeft</a>(int x, int y, QColor colorClicked, QColor toolColor)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
101
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">DiagonalRight</a>(int x, int y, QColor colorClicked, QColor toolColor)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
102
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">Dot</a>(int x, int y, QColor colorSelected)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
103
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">drawGrid</a>(QPaintDevice *device)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
104
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">frontColor</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
105
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">getCellColor</a>(int x, int y)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
106
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">getGridColumns</a>()</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
107
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">getGridRows</a>()</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
108
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget</a>(int rowCount=100, int columnCount=100, QWidget *parent=0)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">explicit</span></td></tr>
109
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a8d85ee082bf0dd38eb581697844f825d">GridWidget</a>(QWidget *parent)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
110
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">identifyTool</a>(QString tool, int x, int y)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
111
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">mCellSize</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
112
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">mColors</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
113
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">mColumnCount</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
114
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">mGridPix</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
115
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">mousePressEvent</a>(QMouseEvent *)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
116
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">mRowCount</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
117
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">newStates</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
118
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">oldStates</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
119
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">paintEvent</a>(QPaintEvent *)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr>
120
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">redo</a>()</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
121
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">RowMajorFill</a>(int x, int y, QColor colorClicked, QColor toolColor)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
122
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">setBack</a>(QString back)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
123
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">setCellSize</a>(int size)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
124
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">setFront</a>(QString front)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
125
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">setGridSize</a>(int rowCount, int columnCount)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
126
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">setTool</a>(QString tool)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
127
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">setToolSize</a>(int size)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
128
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">square</a>(int x, int y, QColor toolColor, int toolSize)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
129
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">switchOff</a>(int x, int y)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
130
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">switchOn</a>(int x, int y, const QColor &amp;color)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
131
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">Tool</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
132
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">ToolSize</a></td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
133
+  <tr><td class="entry"><a class="el" href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">triangle</a>(int x, int y, QColor toolColor, int toolSize)</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
134
+  <tr class="even"><td class="entry"><a class="el" href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">undo</a>()</td><td class="entry"><a class="el" href="class_grid_widget.html">GridWidget</a></td><td class="entry"></td></tr>
135
+</table></div><!-- contents -->
136
+<!-- start footer part -->
137
+<hr class="footer"/><address class="footer"><small>
138
+Generated on Thu Jun 18 2015 16:01:03 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
139
+<img class="footer" src="doxygen.png" alt="doxygen"/>
140
+</a> 1.8.9.1
141
+</small></address>
142
+</body>
143
+</html>

+ 1430
- 0
doc/en/html/class_grid_widget.html
文件差異過大導致無法顯示
查看文件


二進制
doc/en/html/class_grid_widget.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_G">G</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_G"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;G&#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_dialog.html">Dialog</a>&#160;&#160;&#160;</td><td valign="top"><a class="el" href="class_grid_widget.html">GridWidget</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_G">G</a></div>
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Thu Jun 18 2015 16:01:03 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 查看文件


+ 176
- 0
doc/en/html/dialog_8h_source.html 查看文件

@@ -0,0 +1,176 @@
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: dialog.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">dialog.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 DIALOG_H</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define DIALOG_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 &quot;grid.h&quot;</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QDialog&gt;</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_ui.html">Ui</a> {</div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">class </span><a class="code" href="class_dialog.html">Dialog</a>;</div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;}</div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
96
+<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_dialog.html">   11</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_dialog.html">Dialog</a> : <span class="keyword">public</span> QDialog</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;    Q_OBJECT</div>
99
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
100
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">public</span>:</div>
101
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
102
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog</a>(QWidget *parent = 0);</div>
103
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
104
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">~Dialog</a>();</div>
105
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
106
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">private</span> slots:</div>
107
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
108
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">on_frontcolorComboBox_activated</a>(<span class="keyword">const</span> QString &amp;color);</div>
109
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
110
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">on_backgroundComboBox_activated</a>(<span class="keyword">const</span> QString &amp;color);</div>
111
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
112
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">on_lapizButton_clicked</a>();</div>
113
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
114
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">on_cleargridButton_clicked</a>();</div>
115
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
116
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">on_rowmajorfillButton_clicked</a>();</div>
117
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
118
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
119
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">on_colmajorfillButton_clicked</a>();</div>
120
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
121
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">on_diagonalleftButton_clicked</a>();</div>
122
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div>
123
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">on_diagonalrightButton_clicked</a>();</div>
124
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
125
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">on_drawsquareButton_clicked</a>();</div>
126
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
127
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">on_drawtriangleButton_clicked</a>();</div>
128
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
129
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">on_drawcircleButton_clicked</a>();</div>
130
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
131
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">on_speedHorizontalSlider_valueChanged</a>(<span class="keywordtype">int</span> value);</div>
132
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
133
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">on_undoButton_clicked</a>();</div>
134
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
135
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a165b1efc87f92641d05612761864509a">on_redoButton_clicked</a>();</div>
136
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
137
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">setUndo</a>(<span class="keywordtype">bool</span> cannot);</div>
138
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
139
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">setRedo</a>(<span class="keywordtype">bool</span> cannot);</div>
140
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
141
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword">private</span>:</div>
142
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    Ui::Dialog *ui;</div>
143
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <a class="code" href="class_grid_widget.html">GridWidget</a> *grid;</div>
144
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;};</div>
145
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
146
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor">#endif // DIALOG_H</span></div>
147
+<div class="ttc" id="class_dialog_html_a1c4e497f4dc5bf7aabcf71a6abe6097e"><div class="ttname"><a href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">Dialog::on_drawcircleButton_clicked</a></div><div class="ttdeci">void on_drawcircleButton_clicked()</div><div class="ttdoc">Sets the tool to paint Circles. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:171</div></div>
148
+<div class="ttc" id="class_dialog_html_a4b856dc1212f1f93217a912918fa17c2"><div class="ttname"><a href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">Dialog::on_colmajorfillButton_clicked</a></div><div class="ttdeci">void on_colmajorfillButton_clicked()</div><div class="ttdoc">Sets the tool to Column fill. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:121</div></div>
149
+<div class="ttc" id="class_dialog_html_a2a1fe6ef28513eed13bfcd3a4da83ccb"><div class="ttname"><a href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">Dialog::~Dialog</a></div><div class="ttdeci">~Dialog()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:54</div></div>
150
+<div class="ttc" id="class_dialog_html_acfa2063f9f962d394c6a645b6e7e08d8"><div class="ttname"><a href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog::Dialog</a></div><div class="ttdeci">Dialog(QWidget *parent=0)</div><div class="ttdoc">The constructor sets the undo and redo to disable so it cant be pressed also sets the connections bet...</div><div class="ttdef"><b>Definition:</b> dialog.cpp:17</div></div>
151
+<div class="ttc" id="class_dialog_html_ad5dee98d3cbaf5f20e7a313eeb799046"><div class="ttname"><a href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">Dialog::on_drawtriangleButton_clicked</a></div><div class="ttdeci">void on_drawtriangleButton_clicked()</div><div class="ttdoc">Sets the tool to paint Triangles. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:161</div></div>
152
+<div class="ttc" id="class_dialog_html_a91fdfd22e9b620cb7053e6e6d1419743"><div class="ttname"><a href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">Dialog::on_diagonalleftButton_clicked</a></div><div class="ttdeci">void on_diagonalleftButton_clicked()</div><div class="ttdoc">Sets the tool to Diagonal Left fill. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:131</div></div>
153
+<div class="ttc" id="class_dialog_html_ac1de62e0b8c7d6880b83697b148dad18"><div class="ttname"><a href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">Dialog::on_undoButton_clicked</a></div><div class="ttdeci">void on_undoButton_clicked()</div><div class="ttdoc">Undo the previous grid modification. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:194</div></div>
154
+<div class="ttc" id="class_dialog_html_a165b1efc87f92641d05612761864509a"><div class="ttname"><a href="class_dialog.html#a165b1efc87f92641d05612761864509a">Dialog::on_redoButton_clicked</a></div><div class="ttdeci">void on_redoButton_clicked()</div><div class="ttdoc">Redo the previous grid modification. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:204</div></div>
155
+<div class="ttc" id="namespace_ui_html"><div class="ttname"><a href="namespace_ui.html">Ui</a></div><div class="ttdef"><b>Definition:</b> dialog.h:7</div></div>
156
+<div class="ttc" id="class_dialog_html_abab21e66c8b496296fccb401d20c229d"><div class="ttname"><a href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">Dialog::setUndo</a></div><div class="ttdeci">void setUndo(bool cannot)</div><div class="ttdoc">Enables the undo button. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:34</div></div>
157
+<div class="ttc" id="class_dialog_html_a2c86f6c6c061a6ef60ef2e2de2073846"><div class="ttname"><a href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">Dialog::on_lapizButton_clicked</a></div><div class="ttdeci">void on_lapizButton_clicked()</div><div class="ttdoc">Sets the tool to dot. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:90</div></div>
158
+<div class="ttc" id="class_dialog_html_a7c01f33bd33dc3a12bc1bcd806b10af9"><div class="ttname"><a href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">Dialog::on_drawsquareButton_clicked</a></div><div class="ttdeci">void on_drawsquareButton_clicked()</div><div class="ttdoc">Sets the tool to paint Squares. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:151</div></div>
159
+<div class="ttc" id="class_dialog_html_aadf1421d1559f8854f4e4637952f7a22"><div class="ttname"><a href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">Dialog::on_backgroundComboBox_activated</a></div><div class="ttdeci">void on_backgroundComboBox_activated(const QString &amp;color)</div><div class="ttdoc">Sets the color of the background. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:79</div></div>
160
+<div class="ttc" id="class_dialog_html_af71690dee26ef70a83799fd03aed83d9"><div class="ttname"><a href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">Dialog::on_rowmajorfillButton_clicked</a></div><div class="ttdeci">void on_rowmajorfillButton_clicked()</div><div class="ttdoc">Sets the tool to Row fill. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:111</div></div>
161
+<div class="ttc" id="class_dialog_html"><div class="ttname"><a href="class_dialog.html">Dialog</a></div><div class="ttdef"><b>Definition:</b> dialog.h:11</div></div>
162
+<div class="ttc" id="class_dialog_html_af00e19216a6b70db95ed17ed9bcbd6bd"><div class="ttname"><a href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">Dialog::on_diagonalrightButton_clicked</a></div><div class="ttdeci">void on_diagonalrightButton_clicked()</div><div class="ttdoc">Sets the tool to Diagonal Right fill. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:141</div></div>
163
+<div class="ttc" id="class_dialog_html_a7515d0b8d86ba9a798d0aa5e1ea83a2f"><div class="ttname"><a href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">Dialog::setRedo</a></div><div class="ttdeci">void setRedo(bool cannot)</div><div class="ttdoc">Enables the redo button. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:44</div></div>
164
+<div class="ttc" id="class_dialog_html_a27837731f7f92dbdf183a88d69e5f058"><div class="ttname"><a href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">Dialog::on_frontcolorComboBox_activated</a></div><div class="ttdeci">void on_frontcolorComboBox_activated(const QString &amp;color)</div><div class="ttdoc">Sets the color of the brush. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:66</div></div>
165
+<div class="ttc" id="class_dialog_html_ac4e4be6ea6b85a7c446cf5cbe52ff24d"><div class="ttname"><a href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">Dialog::on_cleargridButton_clicked</a></div><div class="ttdeci">void on_cleargridButton_clicked()</div><div class="ttdoc">Clears the grid. Erase the grid. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:100</div></div>
166
+<div class="ttc" id="class_dialog_html_a1d3a61ccc093ec58c70a7e2596b06d75"><div class="ttname"><a href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">Dialog::on_speedHorizontalSlider_valueChanged</a></div><div class="ttdeci">void on_speedHorizontalSlider_valueChanged(int value)</div><div class="ttdoc">Sets the tool point size. </div><div class="ttdef"><b>Definition:</b> dialog.cpp:183</div></div>
167
+<div class="ttc" id="class_grid_widget_html"><div class="ttname"><a href="class_grid_widget.html">GridWidget</a></div><div class="ttdef"><b>Definition:</b> grid.h:42</div></div>
168
+</div><!-- fragment --></div><!-- contents -->
169
+<!-- start footer part -->
170
+<hr class="footer"/><address class="footer"><small>
171
+Generated on Thu Jun 18 2015 16:01:02 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
172
+<img class="footer" src="doxygen.png" alt="doxygen"/>
173
+</a> 1.8.9.1
174
+</small></address>
175
+</body>
176
+</html>

二進制
doc/en/html/doc.png 查看文件


+ 1449
- 0
doc/en/html/doxygen.css
文件差異過大導致無法顯示
查看文件


二進制
doc/en/html/doxygen.png 查看文件


+ 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="dialog_8h_source.html"><span class="icondoc"></span></a><b>dialog.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="grid_8h_source.html"><span class="icondoc"></span></a><b>grid.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 Thu Jun 18 2015 16:01:03 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 查看文件


+ 350
- 0
doc/en/html/functions.html 查看文件

@@ -0,0 +1,350 @@
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 id="navrow4" class="tabs3">
77
+    <ul class="tablist">
78
+      <li><a href="#index_b"><span>b</span></a></li>
79
+      <li><a href="#index_c"><span>c</span></a></li>
80
+      <li><a href="#index_d"><span>d</span></a></li>
81
+      <li><a href="#index_f"><span>f</span></a></li>
82
+      <li><a href="#index_g"><span>g</span></a></li>
83
+      <li><a href="#index_i"><span>i</span></a></li>
84
+      <li><a href="#index_m"><span>m</span></a></li>
85
+      <li><a href="#index_n"><span>n</span></a></li>
86
+      <li><a href="#index_o"><span>o</span></a></li>
87
+      <li><a href="#index_p"><span>p</span></a></li>
88
+      <li><a href="#index_r"><span>r</span></a></li>
89
+      <li><a href="#index_s"><span>s</span></a></li>
90
+      <li><a href="#index_t"><span>t</span></a></li>
91
+      <li><a href="#index_u"><span>u</span></a></li>
92
+      <li class="current"><a href="#index_~"><span>~</span></a></li>
93
+    </ul>
94
+  </div>
95
+</div><!-- top -->
96
+<!-- window showing the filter options -->
97
+<div id="MSearchSelectWindow"
98
+     onmouseover="return searchBox.OnSearchSelectShow()"
99
+     onmouseout="return searchBox.OnSearchSelectHide()"
100
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
101
+</div>
102
+
103
+<!-- iframe showing the search results (closed by default) -->
104
+<div id="MSearchResultsWindow">
105
+<iframe src="javascript:void(0)" frameborder="0" 
106
+        name="MSearchResults" id="MSearchResults">
107
+</iframe>
108
+</div>
109
+
110
+<div class="contents">
111
+<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
112
+
113
+<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
114
+<li>backColor
115
+: <a class="el" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">GridWidget</a>
116
+</li>
117
+<li>background
118
+: <a class="el" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">GridWidget</a>
119
+</li>
120
+</ul>
121
+
122
+
123
+<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
124
+<li>circle()
125
+: <a class="el" href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">GridWidget</a>
126
+</li>
127
+<li>clear()
128
+: <a class="el" href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">GridWidget</a>
129
+</li>
130
+<li>ColMajorFill()
131
+: <a class="el" href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">GridWidget</a>
132
+</li>
133
+</ul>
134
+
135
+
136
+<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
137
+<li>DiagonalLeft()
138
+: <a class="el" href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">GridWidget</a>
139
+</li>
140
+<li>DiagonalRight()
141
+: <a class="el" href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">GridWidget</a>
142
+</li>
143
+<li>Dialog()
144
+: <a class="el" href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog</a>
145
+</li>
146
+<li>Dot()
147
+: <a class="el" href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">GridWidget</a>
148
+</li>
149
+<li>drawGrid()
150
+: <a class="el" href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">GridWidget</a>
151
+</li>
152
+</ul>
153
+
154
+
155
+<h3><a class="anchor" id="index_f"></a>- f -</h3><ul>
156
+<li>frontColor
157
+: <a class="el" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">GridWidget</a>
158
+</li>
159
+</ul>
160
+
161
+
162
+<h3><a class="anchor" id="index_g"></a>- g -</h3><ul>
163
+<li>getCellColor()
164
+: <a class="el" href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">GridWidget</a>
165
+</li>
166
+<li>getGridColumns()
167
+: <a class="el" href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">GridWidget</a>
168
+</li>
169
+<li>getGridRows()
170
+: <a class="el" href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">GridWidget</a>
171
+</li>
172
+<li>GridWidget()
173
+: <a class="el" href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget</a>
174
+</li>
175
+</ul>
176
+
177
+
178
+<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
179
+<li>identifyTool()
180
+: <a class="el" href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">GridWidget</a>
181
+</li>
182
+</ul>
183
+
184
+
185
+<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
186
+<li>mCellSize
187
+: <a class="el" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">GridWidget</a>
188
+</li>
189
+<li>mColors
190
+: <a class="el" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">GridWidget</a>
191
+</li>
192
+<li>mColumnCount
193
+: <a class="el" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">GridWidget</a>
194
+</li>
195
+<li>mGridPix
196
+: <a class="el" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">GridWidget</a>
197
+</li>
198
+<li>mousePressEvent()
199
+: <a class="el" href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">GridWidget</a>
200
+</li>
201
+<li>mRowCount
202
+: <a class="el" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">GridWidget</a>
203
+</li>
204
+</ul>
205
+
206
+
207
+<h3><a class="anchor" id="index_n"></a>- n -</h3><ul>
208
+<li>newStates
209
+: <a class="el" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">GridWidget</a>
210
+</li>
211
+</ul>
212
+
213
+
214
+<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
215
+<li>oldStates
216
+: <a class="el" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">GridWidget</a>
217
+</li>
218
+<li>on_backgroundComboBox_activated()
219
+: <a class="el" href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">Dialog</a>
220
+</li>
221
+<li>on_cleargridButton_clicked()
222
+: <a class="el" href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">Dialog</a>
223
+</li>
224
+<li>on_colmajorfillButton_clicked()
225
+: <a class="el" href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">Dialog</a>
226
+</li>
227
+<li>on_diagonalleftButton_clicked()
228
+: <a class="el" href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">Dialog</a>
229
+</li>
230
+<li>on_diagonalrightButton_clicked()
231
+: <a class="el" href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">Dialog</a>
232
+</li>
233
+<li>on_drawcircleButton_clicked()
234
+: <a class="el" href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">Dialog</a>
235
+</li>
236
+<li>on_drawsquareButton_clicked()
237
+: <a class="el" href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">Dialog</a>
238
+</li>
239
+<li>on_drawtriangleButton_clicked()
240
+: <a class="el" href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">Dialog</a>
241
+</li>
242
+<li>on_frontcolorComboBox_activated()
243
+: <a class="el" href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">Dialog</a>
244
+</li>
245
+<li>on_lapizButton_clicked()
246
+: <a class="el" href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">Dialog</a>
247
+</li>
248
+<li>on_redoButton_clicked()
249
+: <a class="el" href="class_dialog.html#a165b1efc87f92641d05612761864509a">Dialog</a>
250
+</li>
251
+<li>on_rowmajorfillButton_clicked()
252
+: <a class="el" href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">Dialog</a>
253
+</li>
254
+<li>on_speedHorizontalSlider_valueChanged()
255
+: <a class="el" href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">Dialog</a>
256
+</li>
257
+<li>on_undoButton_clicked()
258
+: <a class="el" href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">Dialog</a>
259
+</li>
260
+</ul>
261
+
262
+
263
+<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
264
+<li>paintEvent()
265
+: <a class="el" href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">GridWidget</a>
266
+</li>
267
+</ul>
268
+
269
+
270
+<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
271
+<li>redo()
272
+: <a class="el" href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">GridWidget</a>
273
+</li>
274
+<li>RowMajorFill()
275
+: <a class="el" href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">GridWidget</a>
276
+</li>
277
+</ul>
278
+
279
+
280
+<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
281
+<li>setBack()
282
+: <a class="el" href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">GridWidget</a>
283
+</li>
284
+<li>setCellSize()
285
+: <a class="el" href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">GridWidget</a>
286
+</li>
287
+<li>setFront()
288
+: <a class="el" href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">GridWidget</a>
289
+</li>
290
+<li>setGridSize()
291
+: <a class="el" href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">GridWidget</a>
292
+</li>
293
+<li>setRedo()
294
+: <a class="el" href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">Dialog</a>
295
+</li>
296
+<li>setTool()
297
+: <a class="el" href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">GridWidget</a>
298
+</li>
299
+<li>setToolSize()
300
+: <a class="el" href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">GridWidget</a>
301
+</li>
302
+<li>setUndo()
303
+: <a class="el" href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">Dialog</a>
304
+</li>
305
+<li>square()
306
+: <a class="el" href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">GridWidget</a>
307
+</li>
308
+<li>switchOff()
309
+: <a class="el" href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">GridWidget</a>
310
+</li>
311
+<li>switchOn()
312
+: <a class="el" href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">GridWidget</a>
313
+</li>
314
+</ul>
315
+
316
+
317
+<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
318
+<li>Tool
319
+: <a class="el" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">GridWidget</a>
320
+</li>
321
+<li>ToolSize
322
+: <a class="el" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">GridWidget</a>
323
+</li>
324
+<li>triangle()
325
+: <a class="el" href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">GridWidget</a>
326
+</li>
327
+</ul>
328
+
329
+
330
+<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
331
+<li>undo()
332
+: <a class="el" href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">GridWidget</a>
333
+</li>
334
+</ul>
335
+
336
+
337
+<h3><a class="anchor" id="index_~"></a>- ~ -</h3><ul>
338
+<li>~Dialog()
339
+: <a class="el" href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">Dialog</a>
340
+</li>
341
+</ul>
342
+</div><!-- contents -->
343
+<!-- start footer part -->
344
+<hr class="footer"/><address class="footer"><small>
345
+Generated on Thu Jun 18 2015 16:01:03 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
346
+<img class="footer" src="doxygen.png" alt="doxygen"/>
347
+</a> 1.8.9.1
348
+</small></address>
349
+</body>
350
+</html>

+ 299
- 0
doc/en/html/functions_func.html 查看文件

@@ -0,0 +1,299 @@
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 id="navrow4" class="tabs3">
77
+    <ul class="tablist">
78
+      <li><a href="#index_c"><span>c</span></a></li>
79
+      <li><a href="#index_d"><span>d</span></a></li>
80
+      <li><a href="#index_g"><span>g</span></a></li>
81
+      <li><a href="#index_i"><span>i</span></a></li>
82
+      <li><a href="#index_m"><span>m</span></a></li>
83
+      <li><a href="#index_o"><span>o</span></a></li>
84
+      <li><a href="#index_p"><span>p</span></a></li>
85
+      <li><a href="#index_r"><span>r</span></a></li>
86
+      <li><a href="#index_s"><span>s</span></a></li>
87
+      <li><a href="#index_t"><span>t</span></a></li>
88
+      <li><a href="#index_u"><span>u</span></a></li>
89
+      <li class="current"><a href="#index_~"><span>~</span></a></li>
90
+    </ul>
91
+  </div>
92
+</div><!-- top -->
93
+<!-- window showing the filter options -->
94
+<div id="MSearchSelectWindow"
95
+     onmouseover="return searchBox.OnSearchSelectShow()"
96
+     onmouseout="return searchBox.OnSearchSelectHide()"
97
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
98
+</div>
99
+
100
+<!-- iframe showing the search results (closed by default) -->
101
+<div id="MSearchResultsWindow">
102
+<iframe src="javascript:void(0)" frameborder="0" 
103
+        name="MSearchResults" id="MSearchResults">
104
+</iframe>
105
+</div>
106
+
107
+<div class="contents">
108
+&#160;
109
+
110
+<h3><a class="anchor" id="index_c"></a>- c -</h3><ul>
111
+<li>circle()
112
+: <a class="el" href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">GridWidget</a>
113
+</li>
114
+<li>clear()
115
+: <a class="el" href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">GridWidget</a>
116
+</li>
117
+<li>ColMajorFill()
118
+: <a class="el" href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">GridWidget</a>
119
+</li>
120
+</ul>
121
+
122
+
123
+<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
124
+<li>DiagonalLeft()
125
+: <a class="el" href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">GridWidget</a>
126
+</li>
127
+<li>DiagonalRight()
128
+: <a class="el" href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">GridWidget</a>
129
+</li>
130
+<li>Dialog()
131
+: <a class="el" href="class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8">Dialog</a>
132
+</li>
133
+<li>Dot()
134
+: <a class="el" href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">GridWidget</a>
135
+</li>
136
+<li>drawGrid()
137
+: <a class="el" href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">GridWidget</a>
138
+</li>
139
+</ul>
140
+
141
+
142
+<h3><a class="anchor" id="index_g"></a>- g -</h3><ul>
143
+<li>getCellColor()
144
+: <a class="el" href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">GridWidget</a>
145
+</li>
146
+<li>getGridColumns()
147
+: <a class="el" href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">GridWidget</a>
148
+</li>
149
+<li>getGridRows()
150
+: <a class="el" href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">GridWidget</a>
151
+</li>
152
+<li>GridWidget()
153
+: <a class="el" href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget</a>
154
+</li>
155
+</ul>
156
+
157
+
158
+<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
159
+<li>identifyTool()
160
+: <a class="el" href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">GridWidget</a>
161
+</li>
162
+</ul>
163
+
164
+
165
+<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
166
+<li>mousePressEvent()
167
+: <a class="el" href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">GridWidget</a>
168
+</li>
169
+</ul>
170
+
171
+
172
+<h3><a class="anchor" id="index_o"></a>- o -</h3><ul>
173
+<li>on_backgroundComboBox_activated()
174
+: <a class="el" href="class_dialog.html#aadf1421d1559f8854f4e4637952f7a22">Dialog</a>
175
+</li>
176
+<li>on_cleargridButton_clicked()
177
+: <a class="el" href="class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d">Dialog</a>
178
+</li>
179
+<li>on_colmajorfillButton_clicked()
180
+: <a class="el" href="class_dialog.html#a4b856dc1212f1f93217a912918fa17c2">Dialog</a>
181
+</li>
182
+<li>on_diagonalleftButton_clicked()
183
+: <a class="el" href="class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743">Dialog</a>
184
+</li>
185
+<li>on_diagonalrightButton_clicked()
186
+: <a class="el" href="class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd">Dialog</a>
187
+</li>
188
+<li>on_drawcircleButton_clicked()
189
+: <a class="el" href="class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e">Dialog</a>
190
+</li>
191
+<li>on_drawsquareButton_clicked()
192
+: <a class="el" href="class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9">Dialog</a>
193
+</li>
194
+<li>on_drawtriangleButton_clicked()
195
+: <a class="el" href="class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046">Dialog</a>
196
+</li>
197
+<li>on_frontcolorComboBox_activated()
198
+: <a class="el" href="class_dialog.html#a27837731f7f92dbdf183a88d69e5f058">Dialog</a>
199
+</li>
200
+<li>on_lapizButton_clicked()
201
+: <a class="el" href="class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846">Dialog</a>
202
+</li>
203
+<li>on_redoButton_clicked()
204
+: <a class="el" href="class_dialog.html#a165b1efc87f92641d05612761864509a">Dialog</a>
205
+</li>
206
+<li>on_rowmajorfillButton_clicked()
207
+: <a class="el" href="class_dialog.html#af71690dee26ef70a83799fd03aed83d9">Dialog</a>
208
+</li>
209
+<li>on_speedHorizontalSlider_valueChanged()
210
+: <a class="el" href="class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75">Dialog</a>
211
+</li>
212
+<li>on_undoButton_clicked()
213
+: <a class="el" href="class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18">Dialog</a>
214
+</li>
215
+</ul>
216
+
217
+
218
+<h3><a class="anchor" id="index_p"></a>- p -</h3><ul>
219
+<li>paintEvent()
220
+: <a class="el" href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">GridWidget</a>
221
+</li>
222
+</ul>
223
+
224
+
225
+<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
226
+<li>redo()
227
+: <a class="el" href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">GridWidget</a>
228
+</li>
229
+<li>RowMajorFill()
230
+: <a class="el" href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">GridWidget</a>
231
+</li>
232
+</ul>
233
+
234
+
235
+<h3><a class="anchor" id="index_s"></a>- s -</h3><ul>
236
+<li>setBack()
237
+: <a class="el" href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">GridWidget</a>
238
+</li>
239
+<li>setCellSize()
240
+: <a class="el" href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">GridWidget</a>
241
+</li>
242
+<li>setFront()
243
+: <a class="el" href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">GridWidget</a>
244
+</li>
245
+<li>setGridSize()
246
+: <a class="el" href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">GridWidget</a>
247
+</li>
248
+<li>setRedo()
249
+: <a class="el" href="class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f">Dialog</a>
250
+</li>
251
+<li>setTool()
252
+: <a class="el" href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">GridWidget</a>
253
+</li>
254
+<li>setToolSize()
255
+: <a class="el" href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">GridWidget</a>
256
+</li>
257
+<li>setUndo()
258
+: <a class="el" href="class_dialog.html#abab21e66c8b496296fccb401d20c229d">Dialog</a>
259
+</li>
260
+<li>square()
261
+: <a class="el" href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">GridWidget</a>
262
+</li>
263
+<li>switchOff()
264
+: <a class="el" href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">GridWidget</a>
265
+</li>
266
+<li>switchOn()
267
+: <a class="el" href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">GridWidget</a>
268
+</li>
269
+</ul>
270
+
271
+
272
+<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
273
+<li>triangle()
274
+: <a class="el" href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">GridWidget</a>
275
+</li>
276
+</ul>
277
+
278
+
279
+<h3><a class="anchor" id="index_u"></a>- u -</h3><ul>
280
+<li>undo()
281
+: <a class="el" href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">GridWidget</a>
282
+</li>
283
+</ul>
284
+
285
+
286
+<h3><a class="anchor" id="index_~"></a>- ~ -</h3><ul>
287
+<li>~Dialog()
288
+: <a class="el" href="class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb">Dialog</a>
289
+</li>
290
+</ul>
291
+</div><!-- contents -->
292
+<!-- start footer part -->
293
+<hr class="footer"/><address class="footer"><small>
294
+Generated on Thu Jun 18 2015 16:01:03 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
295
+<img class="footer" src="doxygen.png" alt="doxygen"/>
296
+</a> 1.8.9.1
297
+</small></address>
298
+</body>
299
+</html>

+ 138
- 0
doc/en/html/functions_vars.html 查看文件

@@ -0,0 +1,138 @@
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>backColor
94
+: <a class="el" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">GridWidget</a>
95
+</li>
96
+<li>background
97
+: <a class="el" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">GridWidget</a>
98
+</li>
99
+<li>frontColor
100
+: <a class="el" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">GridWidget</a>
101
+</li>
102
+<li>mCellSize
103
+: <a class="el" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">GridWidget</a>
104
+</li>
105
+<li>mColors
106
+: <a class="el" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">GridWidget</a>
107
+</li>
108
+<li>mColumnCount
109
+: <a class="el" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">GridWidget</a>
110
+</li>
111
+<li>mGridPix
112
+: <a class="el" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">GridWidget</a>
113
+</li>
114
+<li>mRowCount
115
+: <a class="el" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">GridWidget</a>
116
+</li>
117
+<li>newStates
118
+: <a class="el" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">GridWidget</a>
119
+</li>
120
+<li>oldStates
121
+: <a class="el" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">GridWidget</a>
122
+</li>
123
+<li>Tool
124
+: <a class="el" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">GridWidget</a>
125
+</li>
126
+<li>ToolSize
127
+: <a class="el" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">GridWidget</a>
128
+</li>
129
+</ul>
130
+</div><!-- contents -->
131
+<!-- start footer part -->
132
+<hr class="footer"/><address class="footer"><small>
133
+Generated on Thu Jun 18 2015 16:01:03 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
134
+<img class="footer" src="doxygen.png" alt="doxygen"/>
135
+</a> 1.8.9.1
136
+</small></address>
137
+</body>
138
+</html>

+ 259
- 0
doc/en/html/grid_8h_source.html 查看文件

@@ -0,0 +1,259 @@
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: grid.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">grid.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="comment">/***************************************************************************</span></div>
87
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">**                                                                        **</span></div>
88
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">**  GridView, a simple GridView made with Qt4                             **</span></div>
89
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">**  Copyright (C) 2013 Sacha Schutz                                       **</span></div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">**                                                                        **</span></div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">**  This program is free software: you can redistribute it and/or modify  **</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">**  it under the terms of the GNU General Public License as published by  **</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">**  the Free Software Foundation, either version 3 of the License, or     **</span></div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">**  (at your option) any later version.                                   **</span></div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">**                                                                        **</span></div>
96
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">**  This program is distributed in the hope that it will be useful,       **</span></div>
97
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">**  but WITHOUT ANY WARRANTY; without even the implied warranty of        **</span></div>
98
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         **</span></div>
99
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">**  GNU General Public License for more details.                          **</span></div>
100
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">**                                                                        **</span></div>
101
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">**  You should have received a copy of the GNU General Public License     **</span></div>
102
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">**  along with this program.  If not, see http://www.gnu.org/licenses/.   **</span></div>
103
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">**                                                                        **</span></div>
104
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">****************************************************************************</span></div>
105
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">**           Author : Sacha Schutz                                        **</span></div>
106
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">**           Website: http://www.labsquare.org                            **</span></div>
107
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">**           Email  : sacha@labsquare.org                                 **</span></div>
108
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">**           Date   : 12.03.12                                            **</span></div>
109
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">****************************************************************************/</span></div>
110
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
111
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifndef GRIDVIEW_H</span></div>
112
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define GRIDVIEW_H</span></div>
113
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
114
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;QtGui&gt;</span></div>
115
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;QWidget&gt;</span></div>
116
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;QScrollArea&gt;</span></div>
117
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;QVector&gt;</span></div>
118
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
119
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">class </span><a class="code" href="class_grid_widget.html">GridWidget</a>;</div>
120
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
121
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_grid_widget.html">   42</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_grid_widget.html">GridWidget</a> : <span class="keyword">public</span> QWidget</div>
122
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;{</div>
123
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    Q_OBJECT</div>
124
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">public</span>:</div>
125
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
126
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget</a>(<span class="keywordtype">int</span> rowCount = 100, <span class="keywordtype">int</span> columnCount =100,QWidget *parent = 0);</div>
127
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
128
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget</a>(QWidget *parent);</div>
129
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
130
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">setGridSize</a>(<span class="keywordtype">int</span> rowCount, <span class="keywordtype">int</span> columnCount);</div>
131
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
132
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">switchOn</a>(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y, <span class="keyword">const</span> QColor&amp; color);</div>
133
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
134
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    QColor <a class="code" href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">getCellColor</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) ;</div>
135
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
136
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
137
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">switchOff</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
138
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
139
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
140
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">getGridColumns</a>() ;</div>
141
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
142
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">getGridRows</a>() ;</div>
143
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
144
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">clear</a>();</div>
145
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
146
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">setCellSize</a>(<span class="keywordtype">int</span> size);</div>
147
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div>
148
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">setTool</a>(QString tool);</div>
149
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div>
150
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">setFront</a>(QString front);</div>
151
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
152
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">setBack</a>(QString back);</div>
153
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
154
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">setToolSize</a>(<span class="keywordtype">int</span> size);</div>
155
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
156
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">identifyTool</a>(QString tool, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
157
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div>
158
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">Dot</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor colorSelected);</div>
159
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div>
160
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">RowMajorFill</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor colorClicked, QColor toolColor);</div>
161
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div>
162
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">ColMajorFill</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor colorClicked, QColor toolColor);</div>
163
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div>
164
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">DiagonalLeft</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor colorClicked, QColor toolColor);</div>
165
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div>
166
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">DiagonalRight</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor colorClicked, QColor toolColor);</div>
167
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div>
168
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">square</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor toolColor, <span class="keywordtype">int</span> toolSize);</div>
169
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div>
170
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">triangle</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor toolColor, <span class="keywordtype">int</span> toolSize);</div>
171
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;</div>
172
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">circle</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QColor toolColor, <span class="keywordtype">int</span> toolSize);</div>
173
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div>
174
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">undo</a>();</div>
175
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div>
176
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div>
177
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">redo</a>();</div>
178
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;</div>
179
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="keyword">protected</span>:</div>
180
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div>
181
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">drawGrid</a>(QPaintDevice * device);</div>
182
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;</div>
183
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">paintEvent</a>(QPaintEvent *);</div>
184
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div>
185
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">mousePressEvent</a>(QMouseEvent *);</div>
186
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;</div>
187
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;signals:</div>
188
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div>
189
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keywordtype">void</span> cellClicked(QPoint pos);</div>
190
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div>
191
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    <span class="keywordtype">void</span> canUndo(<span class="keywordtype">bool</span> can);</div>
192
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div>
193
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <span class="keywordtype">void</span> canRedo(<span class="keywordtype">bool</span> can);</div>
194
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div>
195
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;<span class="keyword">private</span>:</div>
196
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div>
197
+<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">  437</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">mCellSize</a>; </div>
198
+<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">  439</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">mRowCount</a>; </div>
199
+<div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">  441</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">mColumnCount</a>; </div>
200
+<div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">  443</a></span>&#160;    QPixmap <a class="code" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">mGridPix</a>; </div>
201
+<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">  445</a></span>&#160;    QHash&lt;int, QColor &gt; <a class="code" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">mColors</a>; </div>
202
+<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">  448</a></span>&#160;    QString <a class="code" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">Tool</a>; </div>
203
+<div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">  450</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">ToolSize</a>; </div>
204
+<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">  452</a></span>&#160;    QColor <a class="code" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">frontColor</a>; </div>
205
+<div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">  454</a></span>&#160;    QColor <a class="code" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">backColor</a>; </div>
206
+<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">  456</a></span>&#160;    QColor <a class="code" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">background</a>; </div>
207
+<div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">  458</a></span>&#160;    QVector &lt; QHash&lt;int, QColor &gt; &gt; <a class="code" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">oldStates</a>; </div>
208
+<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">  460</a></span>&#160;    QVector &lt; QHash&lt;int, QColor &gt; &gt; <a class="code" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">newStates</a>; </div>
209
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;};</div>
210
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;<span class="preprocessor">#endif // GRIDVIEW_H</span></div>
211
+<div class="ttc" id="class_grid_widget_html_a857bb9b33ae7f241a568f884f4e6f5bf"><div class="ttname"><a href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">GridWidget::frontColor</a></div><div class="ttdeci">QColor frontColor</div><div class="ttdef"><b>Definition:</b> grid.h:452</div></div>
212
+<div class="ttc" id="class_grid_widget_html_a9eae49724fc8eb51dacb29cf0f1d0f7f"><div class="ttname"><a href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">GridWidget::Dot</a></div><div class="ttdeci">void Dot(int x, int y, QColor colorSelected)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints that cell with the color of th...</div><div class="ttdef"><b>Definition:</b> tools.cpp:17</div></div>
213
+<div class="ttc" id="class_grid_widget_html_a2913542510201e3e0c7fffe81abf0253"><div class="ttname"><a href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">GridWidget::mCellSize</a></div><div class="ttdeci">int mCellSize</div><div class="ttdef"><b>Definition:</b> grid.h:437</div></div>
214
+<div class="ttc" id="class_grid_widget_html_a4de59f7c6dba342ff0406137ca87bf8d"><div class="ttname"><a href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">GridWidget::circle</a></div><div class="ttdeci">void circle(int x, int y, QColor toolColor, int toolSize)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints a circle of the size and with ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:243</div></div>
215
+<div class="ttc" id="class_grid_widget_html_ab530d1fa7b44c05afe4e70c2e410e579"><div class="ttname"><a href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">GridWidget::mColumnCount</a></div><div class="ttdeci">int mColumnCount</div><div class="ttdef"><b>Definition:</b> grid.h:441</div></div>
216
+<div class="ttc" id="class_grid_widget_html_a1b92c3f484ea93338f3c0b8348a334f9"><div class="ttname"><a href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">GridWidget::getGridColumns</a></div><div class="ttdeci">int getGridColumns()</div><div class="ttdoc">Returns the number of columns in the grid. </div><div class="ttdef"><b>Definition:</b> grid.cpp:302</div></div>
217
+<div class="ttc" id="class_grid_widget_html_a65644f377d72a22e4925ad21fc9ccbf5"><div class="ttname"><a href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">GridWidget::mColors</a></div><div class="ttdeci">QHash&lt; int, QColor &gt; mColors</div><div class="ttdef"><b>Definition:</b> grid.h:445</div></div>
218
+<div class="ttc" id="class_grid_widget_html_a87a46b6a3e5522e851732093b757baae"><div class="ttname"><a href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">GridWidget::setGridSize</a></div><div class="ttdeci">void setGridSize(int rowCount, int columnCount)</div><div class="ttdoc">Sets the number of columns and rows of the grid. </div><div class="ttdef"><b>Definition:</b> grid.cpp:155</div></div>
219
+<div class="ttc" id="class_grid_widget_html_a48b162752c6e7853b2ce3c6cb8db5661"><div class="ttname"><a href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">GridWidget::ToolSize</a></div><div class="ttdeci">int ToolSize</div><div class="ttdef"><b>Definition:</b> grid.h:450</div></div>
220
+<div class="ttc" id="class_grid_widget_html_a2de94a6b9cda8d27be4598ebd2b80ef1"><div class="ttname"><a href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">GridWidget::DiagonalLeft</a></div><div class="ttdeci">void DiagonalLeft(int x, int y, QColor colorClicked, QColor toolColor)</div><div class="ttdoc">Recieves the coordinates of the grid where the user clicked and paints (from that point) the longest ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:111</div></div>
221
+<div class="ttc" id="class_grid_widget_html_abee64aeb022f670f15870500e9127cda"><div class="ttname"><a href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">GridWidget::triangle</a></div><div class="ttdeci">void triangle(int x, int y, QColor toolColor, int toolSize)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints a triangle of the size and wit...</div><div class="ttdef"><b>Definition:</b> tools.cpp:213</div></div>
222
+<div class="ttc" id="class_grid_widget_html_afa1e34f8dbae400cf200fdeb2398f138"><div class="ttname"><a href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">GridWidget::getGridRows</a></div><div class="ttdeci">int getGridRows()</div><div class="ttdoc">Returns the number of rows in the grid. </div><div class="ttdef"><b>Definition:</b> grid.cpp:313</div></div>
223
+<div class="ttc" id="class_grid_widget_html_a8ff474d6ac0e76685839e4107c85c10b"><div class="ttname"><a href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">GridWidget::DiagonalRight</a></div><div class="ttdeci">void DiagonalRight(int x, int y, QColor colorClicked, QColor toolColor)</div><div class="ttdoc">Recieves the coordinates of the grid where the user clicked and paints (from that point) the longest ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:147</div></div>
224
+<div class="ttc" id="class_grid_widget_html_aa41b383c851c5ef1c11871507aa1f28d"><div class="ttname"><a href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">GridWidget::oldStates</a></div><div class="ttdeci">QVector&lt; QHash&lt; int, QColor &gt; &gt; oldStates</div><div class="ttdef"><b>Definition:</b> grid.h:458</div></div>
225
+<div class="ttc" id="class_grid_widget_html_a3d818ef6eb5868e53e26e1fd48f19057"><div class="ttname"><a href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">GridWidget::mRowCount</a></div><div class="ttdeci">int mRowCount</div><div class="ttdef"><b>Definition:</b> grid.h:439</div></div>
226
+<div class="ttc" id="class_grid_widget_html_a1b67bb85e389d27e03ef34e4f0b90750"><div class="ttname"><a href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">GridWidget::mGridPix</a></div><div class="ttdeci">QPixmap mGridPix</div><div class="ttdef"><b>Definition:</b> grid.h:443</div></div>
227
+<div class="ttc" id="class_grid_widget_html_ace3447d5fc329c47b55395a52a9eaf13"><div class="ttname"><a href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">GridWidget::switchOn</a></div><div class="ttdeci">void switchOn(int x, int y, const QColor &amp;color)</div><div class="ttdoc">Saves the given color and position in the vector that represents the painted cells of the grid...</div><div class="ttdef"><b>Definition:</b> grid.cpp:271</div></div>
228
+<div class="ttc" id="class_grid_widget_html_a1850e0f0dde766350c7cff9668424633"><div class="ttname"><a href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">GridWidget::ColMajorFill</a></div><div class="ttdeci">void ColMajorFill(int x, int y, QColor colorClicked, QColor toolColor)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints (from that point up and down) ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:75</div></div>
229
+<div class="ttc" id="class_grid_widget_html_a2b49b1ee6683c99f4a497f7ad89e8097"><div class="ttname"><a href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">GridWidget::drawGrid</a></div><div class="ttdeci">void drawGrid(QPaintDevice *device)</div><div class="ttdoc">Function that first sets the size of the GridWidget, then paints the cells with the color selected fo...</div><div class="ttdef"><b>Definition:</b> grid.cpp:370</div></div>
230
+<div class="ttc" id="class_grid_widget_html_aa36b97142702844f4888a9bbee37b670"><div class="ttname"><a href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">GridWidget::backColor</a></div><div class="ttdeci">QColor backColor</div><div class="ttdef"><b>Definition:</b> grid.h:454</div></div>
231
+<div class="ttc" id="class_grid_widget_html_aca84a4a79a25f1adebaeb69f32022882"><div class="ttname"><a href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">GridWidget::switchOff</a></div><div class="ttdeci">void switchOff(int x, int y)</div><div class="ttdoc">Removes the given position from the vector that represents the painted cells of the grid...</div><div class="ttdef"><b>Definition:</b> grid.cpp:328</div></div>
232
+<div class="ttc" id="class_grid_widget_html_a0a8b52721ac642d4f7261896ef2fff74"><div class="ttname"><a href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">GridWidget::redo</a></div><div class="ttdeci">void redo()</div><div class="ttdoc">When the redo button is pressed the current state is pushed into the undo vector(oldStates) and the l...</div><div class="ttdef"><b>Definition:</b> grid.cpp:245</div></div>
233
+<div class="ttc" id="class_grid_widget_html_a50a2a9b2490de84dba08be23130fd9d4"><div class="ttname"><a href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">GridWidget::getCellColor</a></div><div class="ttdeci">QColor getCellColor(int x, int y)</div><div class="ttdoc">Returns the color of the cell in position (x,y) </div><div class="ttdef"><b>Definition:</b> grid.cpp:289</div></div>
234
+<div class="ttc" id="class_grid_widget_html_a53e89b667667aed308430da93a25b7a1"><div class="ttname"><a href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">GridWidget::Tool</a></div><div class="ttdeci">QString Tool</div><div class="ttdef"><b>Definition:</b> grid.h:448</div></div>
235
+<div class="ttc" id="class_grid_widget_html_a242812c406b269657eb6092af4a0ae7e"><div class="ttname"><a href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">GridWidget::setTool</a></div><div class="ttdeci">void setTool(QString tool)</div><div class="ttdoc">Sets the tool. </div><div class="ttdef"><b>Definition:</b> grid.cpp:109</div></div>
236
+<div class="ttc" id="class_grid_widget_html_a7979db95cc3533858a17946b8a70abe3"><div class="ttname"><a href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">GridWidget::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Clears the grid and sets it to its initial state. </div><div class="ttdef"><b>Definition:</b> grid.cpp:339</div></div>
237
+<div class="ttc" id="class_grid_widget_html_adbd85c9494fa35df467d912e2eb41742"><div class="ttname"><a href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">GridWidget::mousePressEvent</a></div><div class="ttdeci">virtual void mousePressEvent(QMouseEvent *)</div><div class="ttdoc">When the mouse is clicked on a cell of the grid it gets the x,y coordinates of the mouse and uses the...</div><div class="ttdef"><b>Definition:</b> grid.cpp:186</div></div>
238
+<div class="ttc" id="class_grid_widget_html_a8c84952dfa2f11876ab8f1346667c565"><div class="ttname"><a href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">GridWidget::newStates</a></div><div class="ttdeci">QVector&lt; QHash&lt; int, QColor &gt; &gt; newStates</div><div class="ttdef"><b>Definition:</b> grid.h:460</div></div>
239
+<div class="ttc" id="class_grid_widget_html_abe71249d6d54e84698dcb831c9df4c17"><div class="ttname"><a href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">GridWidget::setFront</a></div><div class="ttdeci">void setFront(QString front)</div><div class="ttdoc">Sets the color of the brush. </div><div class="ttdef"><b>Definition:</b> grid.cpp:120</div></div>
240
+<div class="ttc" id="class_grid_widget_html_a3d25401530305223417a0a0313e7105b"><div class="ttname"><a href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">GridWidget::square</a></div><div class="ttdeci">void square(int x, int y, QColor toolColor, int toolSize)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints a square of the size and with ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:181</div></div>
241
+<div class="ttc" id="class_grid_widget_html_aca5c4e4edab002da08a7d76b7acf8ce7"><div class="ttname"><a href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">GridWidget::setToolSize</a></div><div class="ttdeci">void setToolSize(int size)</div><div class="ttdoc">Sets the size of the tool. </div><div class="ttdef"><b>Definition:</b> grid.cpp:142</div></div>
242
+<div class="ttc" id="class_grid_widget_html_a64cd0418127923278bd7dd3ddd3bd459"><div class="ttname"><a href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">GridWidget::setBack</a></div><div class="ttdeci">void setBack(QString back)</div><div class="ttdoc">Sets the color of the background. </div><div class="ttdef"><b>Definition:</b> grid.cpp:131</div></div>
243
+<div class="ttc" id="class_grid_widget_html_ad3370c8905e4f03b666d1be221f4c412"><div class="ttname"><a href="class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412">GridWidget::GridWidget</a></div><div class="ttdeci">GridWidget(int rowCount=100, int columnCount=100, QWidget *parent=0)</div><div class="ttdoc">Constructor which receives the number of rows and columns in the grid. </div><div class="ttdef"><b>Definition:</b> grid.cpp:85</div></div>
244
+<div class="ttc" id="class_grid_widget_html_a8a128f08a3471f751442dfe1306250f4"><div class="ttname"><a href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">GridWidget::setCellSize</a></div><div class="ttdeci">void setCellSize(int size)</div><div class="ttdoc">Sets the size of the cells in the grid. </div><div class="ttdef"><b>Definition:</b> grid.cpp:354</div></div>
245
+<div class="ttc" id="class_grid_widget_html_a85f85cefe91f2c4e9c79566b5e65d5df"><div class="ttname"><a href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">GridWidget::RowMajorFill</a></div><div class="ttdeci">void RowMajorFill(int x, int y, QColor colorClicked, QColor toolColor)</div><div class="ttdoc">Receives the coordinates of the grid where the user clicked and paints (from that point left and righ...</div><div class="ttdef"><b>Definition:</b> tools.cpp:40</div></div>
246
+<div class="ttc" id="class_grid_widget_html"><div class="ttname"><a href="class_grid_widget.html">GridWidget</a></div><div class="ttdef"><b>Definition:</b> grid.h:42</div></div>
247
+<div class="ttc" id="class_grid_widget_html_a6afb043b34520019af1acb14fb4682d4"><div class="ttname"><a href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">GridWidget::background</a></div><div class="ttdeci">QColor background</div><div class="ttdef"><b>Definition:</b> grid.h:456</div></div>
248
+<div class="ttc" id="class_grid_widget_html_ac4b7dcf1fd4f6f3f00f6c83837af762d"><div class="ttname"><a href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">GridWidget::identifyTool</a></div><div class="ttdeci">void identifyTool(QString tool, int x, int y)</div><div class="ttdoc">This function is called on each mousePressEvent inside the grid. It identifies the way the grid will ...</div><div class="ttdef"><b>Definition:</b> grid.cpp:424</div></div>
249
+<div class="ttc" id="class_grid_widget_html_a6426b82953f555dc84ede652cd44ee13"><div class="ttname"><a href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">GridWidget::undo</a></div><div class="ttdeci">void undo()</div><div class="ttdoc">When the undo button is pressed the current state is pushed into the redo vector(newStates) and the l...</div><div class="ttdef"><b>Definition:</b> grid.cpp:214</div></div>
250
+<div class="ttc" id="class_grid_widget_html_a727fa338640fe7e856519f4ed0078b33"><div class="ttname"><a href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">GridWidget::paintEvent</a></div><div class="ttdeci">virtual void paintEvent(QPaintEvent *)</div><div class="ttdoc">This function is automatically invoked each time the widget or its parent receives a repaint signal...</div><div class="ttdef"><b>Definition:</b> grid.cpp:170</div></div>
251
+</div><!-- fragment --></div><!-- contents -->
252
+<!-- start footer part -->
253
+<hr class="footer"/><address class="footer"><small>
254
+Generated on Thu Jun 18 2015 16:01:02 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
255
+<img class="footer" src="doxygen.png" alt="doxygen"/>
256
+</a> 1.8.9.1
257
+</small></address>
258
+</body>
259
+</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>QDialog</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_dialog.html" target="_self">Dialog</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_grid_widget.html" target="_self">GridWidget</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 Thu Jun 18 2015 16:01:03 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 Thu Jun 18 2015 16:01:03 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
文件差異過大導致無法顯示
查看文件


二進制
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
+  ['backcolor',['backColor',['../class_grid_widget.html#aa36b97142702844f4888a9bbee37b670',1,'GridWidget']]],
4
+  ['background',['background',['../class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4',1,'GridWidget']]]
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>

+ 6
- 0
doc/en/html/search/all_1.js 查看文件

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['circle',['circle',['../class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d',1,'GridWidget']]],
4
+  ['clear',['clear',['../class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3',1,'GridWidget']]],
5
+  ['colmajorfill',['ColMajorFill',['../class_grid_widget.html#a1850e0f0dde766350c7cff9668424633',1,'GridWidget']]]
6
+];

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

+ 8
- 0
doc/en/html/search/all_2.js 查看文件

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['diagonalleft',['DiagonalLeft',['../class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1',1,'GridWidget']]],
4
+  ['diagonalright',['DiagonalRight',['../class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b',1,'GridWidget']]],
5
+  ['dialog',['Dialog',['../class_dialog.html',1,'Dialog'],['../class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8',1,'Dialog::Dialog()']]],
6
+  ['dot',['Dot',['../class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f',1,'GridWidget']]],
7
+  ['drawgrid',['drawGrid',['../class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097',1,'GridWidget']]]
8
+];

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

+ 4
- 0
doc/en/html/search/all_3.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['frontcolor',['frontColor',['../class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf',1,'GridWidget']]]
4
+];

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

+ 7
- 0
doc/en/html/search/all_4.js 查看文件

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getcellcolor',['getCellColor',['../class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4',1,'GridWidget']]],
4
+  ['getgridcolumns',['getGridColumns',['../class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9',1,'GridWidget']]],
5
+  ['getgridrows',['getGridRows',['../class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138',1,'GridWidget']]],
6
+  ['gridwidget',['GridWidget',['../class_grid_widget.html',1,'GridWidget'],['../class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412',1,'GridWidget::GridWidget(int rowCount=100, int columnCount=100, QWidget *parent=0)'],['../class_grid_widget.html#a8d85ee082bf0dd38eb581697844f825d',1,'GridWidget::GridWidget(QWidget *parent)']]]
7
+];

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

+ 4
- 0
doc/en/html/search/all_5.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['identifytool',['identifyTool',['../class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d',1,'GridWidget']]]
4
+];

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

+ 9
- 0
doc/en/html/search/all_6.js 查看文件

@@ -0,0 +1,9 @@
1
+var searchData=
2
+[
3
+  ['mcellsize',['mCellSize',['../class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253',1,'GridWidget']]],
4
+  ['mcolors',['mColors',['../class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5',1,'GridWidget']]],
5
+  ['mcolumncount',['mColumnCount',['../class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579',1,'GridWidget']]],
6
+  ['mgridpix',['mGridPix',['../class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750',1,'GridWidget']]],
7
+  ['mousepressevent',['mousePressEvent',['../class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742',1,'GridWidget']]],
8
+  ['mrowcount',['mRowCount',['../class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057',1,'GridWidget']]]
9
+];

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

+ 4
- 0
doc/en/html/search/all_7.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['newstates',['newStates',['../class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565',1,'GridWidget']]]
4
+];

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

+ 18
- 0
doc/en/html/search/all_8.js 查看文件

@@ -0,0 +1,18 @@
1
+var searchData=
2
+[
3
+  ['oldstates',['oldStates',['../class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d',1,'GridWidget']]],
4
+  ['on_5fbackgroundcombobox_5factivated',['on_backgroundComboBox_activated',['../class_dialog.html#aadf1421d1559f8854f4e4637952f7a22',1,'Dialog']]],
5
+  ['on_5fcleargridbutton_5fclicked',['on_cleargridButton_clicked',['../class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d',1,'Dialog']]],
6
+  ['on_5fcolmajorfillbutton_5fclicked',['on_colmajorfillButton_clicked',['../class_dialog.html#a4b856dc1212f1f93217a912918fa17c2',1,'Dialog']]],
7
+  ['on_5fdiagonalleftbutton_5fclicked',['on_diagonalleftButton_clicked',['../class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743',1,'Dialog']]],
8
+  ['on_5fdiagonalrightbutton_5fclicked',['on_diagonalrightButton_clicked',['../class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd',1,'Dialog']]],
9
+  ['on_5fdrawcirclebutton_5fclicked',['on_drawcircleButton_clicked',['../class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e',1,'Dialog']]],
10
+  ['on_5fdrawsquarebutton_5fclicked',['on_drawsquareButton_clicked',['../class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9',1,'Dialog']]],
11
+  ['on_5fdrawtrianglebutton_5fclicked',['on_drawtriangleButton_clicked',['../class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046',1,'Dialog']]],
12
+  ['on_5ffrontcolorcombobox_5factivated',['on_frontcolorComboBox_activated',['../class_dialog.html#a27837731f7f92dbdf183a88d69e5f058',1,'Dialog']]],
13
+  ['on_5flapizbutton_5fclicked',['on_lapizButton_clicked',['../class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846',1,'Dialog']]],
14
+  ['on_5fredobutton_5fclicked',['on_redoButton_clicked',['../class_dialog.html#a165b1efc87f92641d05612761864509a',1,'Dialog']]],
15
+  ['on_5frowmajorfillbutton_5fclicked',['on_rowmajorfillButton_clicked',['../class_dialog.html#af71690dee26ef70a83799fd03aed83d9',1,'Dialog']]],
16
+  ['on_5fspeedhorizontalslider_5fvaluechanged',['on_speedHorizontalSlider_valueChanged',['../class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75',1,'Dialog']]],
17
+  ['on_5fundobutton_5fclicked',['on_undoButton_clicked',['../class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18',1,'Dialog']]]
18
+];

+ 26
- 0
doc/en/html/search/all_9.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_9.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_9.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33',1,'GridWidget']]]
4
+];

+ 26
- 0
doc/en/html/search/all_a.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_a.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_a.js 查看文件

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['redo',['redo',['../class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74',1,'GridWidget']]],
4
+  ['rowmajorfill',['RowMajorFill',['../class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df',1,'GridWidget']]]
5
+];

+ 26
- 0
doc/en/html/search/all_b.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_b.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>

+ 14
- 0
doc/en/html/search/all_b.js 查看文件

@@ -0,0 +1,14 @@
1
+var searchData=
2
+[
3
+  ['setback',['setBack',['../class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459',1,'GridWidget']]],
4
+  ['setcellsize',['setCellSize',['../class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4',1,'GridWidget']]],
5
+  ['setfront',['setFront',['../class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17',1,'GridWidget']]],
6
+  ['setgridsize',['setGridSize',['../class_grid_widget.html#a87a46b6a3e5522e851732093b757baae',1,'GridWidget']]],
7
+  ['setredo',['setRedo',['../class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f',1,'Dialog']]],
8
+  ['settool',['setTool',['../class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e',1,'GridWidget']]],
9
+  ['settoolsize',['setToolSize',['../class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7',1,'GridWidget']]],
10
+  ['setundo',['setUndo',['../class_dialog.html#abab21e66c8b496296fccb401d20c229d',1,'Dialog']]],
11
+  ['square',['square',['../class_grid_widget.html#a3d25401530305223417a0a0313e7105b',1,'GridWidget']]],
12
+  ['switchoff',['switchOff',['../class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882',1,'GridWidget']]],
13
+  ['switchon',['switchOn',['../class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13',1,'GridWidget']]]
14
+];

+ 26
- 0
doc/en/html/search/all_c.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_c.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_c.js 查看文件

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['tool',['Tool',['../class_grid_widget.html#a53e89b667667aed308430da93a25b7a1',1,'GridWidget']]],
4
+  ['toolsize',['ToolSize',['../class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661',1,'GridWidget']]],
5
+  ['triangle',['triangle',['../class_grid_widget.html#abee64aeb022f670f15870500e9127cda',1,'GridWidget']]]
6
+];

+ 26
- 0
doc/en/html/search/all_d.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_d.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_d.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['undo',['undo',['../class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13',1,'GridWidget']]]
4
+];

+ 26
- 0
doc/en/html/search/all_e.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_e.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_e.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7edialog',['~Dialog',['../class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb',1,'Dialog']]]
4
+];

+ 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
+  ['dialog',['Dialog',['../class_dialog.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
+  ['gridwidget',['GridWidget',['../class_grid_widget.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>

+ 6
- 0
doc/en/html/search/functions_0.js 查看文件

@@ -0,0 +1,6 @@
1
+var searchData=
2
+[
3
+  ['circle',['circle',['../class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d',1,'GridWidget']]],
4
+  ['clear',['clear',['../class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3',1,'GridWidget']]],
5
+  ['colmajorfill',['ColMajorFill',['../class_grid_widget.html#a1850e0f0dde766350c7cff9668424633',1,'GridWidget']]]
6
+];

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

+ 8
- 0
doc/en/html/search/functions_1.js 查看文件

@@ -0,0 +1,8 @@
1
+var searchData=
2
+[
3
+  ['diagonalleft',['DiagonalLeft',['../class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1',1,'GridWidget']]],
4
+  ['diagonalright',['DiagonalRight',['../class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b',1,'GridWidget']]],
5
+  ['dialog',['Dialog',['../class_dialog.html#acfa2063f9f962d394c6a645b6e7e08d8',1,'Dialog']]],
6
+  ['dot',['Dot',['../class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f',1,'GridWidget']]],
7
+  ['drawgrid',['drawGrid',['../class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097',1,'GridWidget']]]
8
+];

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

+ 7
- 0
doc/en/html/search/functions_2.js 查看文件

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['getcellcolor',['getCellColor',['../class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4',1,'GridWidget']]],
4
+  ['getgridcolumns',['getGridColumns',['../class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9',1,'GridWidget']]],
5
+  ['getgridrows',['getGridRows',['../class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138',1,'GridWidget']]],
6
+  ['gridwidget',['GridWidget',['../class_grid_widget.html#ad3370c8905e4f03b666d1be221f4c412',1,'GridWidget::GridWidget(int rowCount=100, int columnCount=100, QWidget *parent=0)'],['../class_grid_widget.html#a8d85ee082bf0dd38eb581697844f825d',1,'GridWidget::GridWidget(QWidget *parent)']]]
7
+];

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

+ 4
- 0
doc/en/html/search/functions_3.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['identifytool',['identifyTool',['../class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d',1,'GridWidget']]]
4
+];

+ 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
+  ['mousepressevent',['mousePressEvent',['../class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742',1,'GridWidget']]]
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>

+ 17
- 0
doc/en/html/search/functions_5.js 查看文件

@@ -0,0 +1,17 @@
1
+var searchData=
2
+[
3
+  ['on_5fbackgroundcombobox_5factivated',['on_backgroundComboBox_activated',['../class_dialog.html#aadf1421d1559f8854f4e4637952f7a22',1,'Dialog']]],
4
+  ['on_5fcleargridbutton_5fclicked',['on_cleargridButton_clicked',['../class_dialog.html#ac4e4be6ea6b85a7c446cf5cbe52ff24d',1,'Dialog']]],
5
+  ['on_5fcolmajorfillbutton_5fclicked',['on_colmajorfillButton_clicked',['../class_dialog.html#a4b856dc1212f1f93217a912918fa17c2',1,'Dialog']]],
6
+  ['on_5fdiagonalleftbutton_5fclicked',['on_diagonalleftButton_clicked',['../class_dialog.html#a91fdfd22e9b620cb7053e6e6d1419743',1,'Dialog']]],
7
+  ['on_5fdiagonalrightbutton_5fclicked',['on_diagonalrightButton_clicked',['../class_dialog.html#af00e19216a6b70db95ed17ed9bcbd6bd',1,'Dialog']]],
8
+  ['on_5fdrawcirclebutton_5fclicked',['on_drawcircleButton_clicked',['../class_dialog.html#a1c4e497f4dc5bf7aabcf71a6abe6097e',1,'Dialog']]],
9
+  ['on_5fdrawsquarebutton_5fclicked',['on_drawsquareButton_clicked',['../class_dialog.html#a7c01f33bd33dc3a12bc1bcd806b10af9',1,'Dialog']]],
10
+  ['on_5fdrawtrianglebutton_5fclicked',['on_drawtriangleButton_clicked',['../class_dialog.html#ad5dee98d3cbaf5f20e7a313eeb799046',1,'Dialog']]],
11
+  ['on_5ffrontcolorcombobox_5factivated',['on_frontcolorComboBox_activated',['../class_dialog.html#a27837731f7f92dbdf183a88d69e5f058',1,'Dialog']]],
12
+  ['on_5flapizbutton_5fclicked',['on_lapizButton_clicked',['../class_dialog.html#a2c86f6c6c061a6ef60ef2e2de2073846',1,'Dialog']]],
13
+  ['on_5fredobutton_5fclicked',['on_redoButton_clicked',['../class_dialog.html#a165b1efc87f92641d05612761864509a',1,'Dialog']]],
14
+  ['on_5frowmajorfillbutton_5fclicked',['on_rowmajorfillButton_clicked',['../class_dialog.html#af71690dee26ef70a83799fd03aed83d9',1,'Dialog']]],
15
+  ['on_5fspeedhorizontalslider_5fvaluechanged',['on_speedHorizontalSlider_valueChanged',['../class_dialog.html#a1d3a61ccc093ec58c70a7e2596b06d75',1,'Dialog']]],
16
+  ['on_5fundobutton_5fclicked',['on_undoButton_clicked',['../class_dialog.html#ac1de62e0b8c7d6880b83697b148dad18',1,'Dialog']]]
17
+];

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

+ 4
- 0
doc/en/html/search/functions_6.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['paintevent',['paintEvent',['../class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33',1,'GridWidget']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_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="functions_7.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/functions_7.js 查看文件

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['redo',['redo',['../class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74',1,'GridWidget']]],
4
+  ['rowmajorfill',['RowMajorFill',['../class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df',1,'GridWidget']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_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="functions_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>

+ 14
- 0
doc/en/html/search/functions_8.js 查看文件

@@ -0,0 +1,14 @@
1
+var searchData=
2
+[
3
+  ['setback',['setBack',['../class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459',1,'GridWidget']]],
4
+  ['setcellsize',['setCellSize',['../class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4',1,'GridWidget']]],
5
+  ['setfront',['setFront',['../class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17',1,'GridWidget']]],
6
+  ['setgridsize',['setGridSize',['../class_grid_widget.html#a87a46b6a3e5522e851732093b757baae',1,'GridWidget']]],
7
+  ['setredo',['setRedo',['../class_dialog.html#a7515d0b8d86ba9a798d0aa5e1ea83a2f',1,'Dialog']]],
8
+  ['settool',['setTool',['../class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e',1,'GridWidget']]],
9
+  ['settoolsize',['setToolSize',['../class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7',1,'GridWidget']]],
10
+  ['setundo',['setUndo',['../class_dialog.html#abab21e66c8b496296fccb401d20c229d',1,'Dialog']]],
11
+  ['square',['square',['../class_grid_widget.html#a3d25401530305223417a0a0313e7105b',1,'GridWidget']]],
12
+  ['switchoff',['switchOff',['../class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882',1,'GridWidget']]],
13
+  ['switchon',['switchOn',['../class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13',1,'GridWidget']]]
14
+];

+ 26
- 0
doc/en/html/search/functions_9.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_9.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_9.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['triangle',['triangle',['../class_grid_widget.html#abee64aeb022f670f15870500e9127cda',1,'GridWidget']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_a.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_a.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_a.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['undo',['undo',['../class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13',1,'GridWidget']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_b.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_b.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_b.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7edialog',['~Dialog',['../class_dialog.html#a2a1fe6ef28513eed13bfcd3a4da83ccb',1,'Dialog']]]
4
+];

二進制
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
+

+ 0
- 0
doc/en/html/search/search.js 查看文件


部分文件因文件數量過多而無法顯示