Commit 59f13fb3de6d37f5fe79fb262f0e399cdd66e47b
1 parent
e82ba1f9
Exists in
master
designer: fix question control
-fixes #3
Showing
3 changed files
with
187 additions
and
177 deletions
Show diff stats
experiment_designer/form_main.lfm
@@ -3,12 +3,12 @@ object FormDesigner: TFormDesigner | @@ -3,12 +3,12 @@ object FormDesigner: TFormDesigner | ||
3 | Height = 656 | 3 | Height = 656 |
4 | Top = 29 | 4 | Top = 29 |
5 | Width = 653 | 5 | Width = 653 |
6 | - HorzScrollBar.Page = 315 | ||
7 | - VertScrollBar.Page = 636 | 6 | + HorzScrollBar.Page = 521 |
7 | + VertScrollBar.Page = 637 | ||
8 | AutoScroll = True | 8 | AutoScroll = True |
9 | Caption = 'Planejar Experimento' | 9 | Caption = 'Planejar Experimento' |
10 | - ClientHeight = 636 | ||
11 | - ClientWidth = 636 | 10 | + ClientHeight = 637 |
11 | + ClientWidth = 643 | ||
12 | Menu = MainMenu1 | 12 | Menu = MainMenu1 |
13 | OnActivate = FormActivate | 13 | OnActivate = FormActivate |
14 | OnCreate = FormCreate | 14 | OnCreate = FormCreate |
@@ -18,12 +18,12 @@ object FormDesigner: TFormDesigner | @@ -18,12 +18,12 @@ object FormDesigner: TFormDesigner | ||
18 | LCLVersion = '1.6.2.0' | 18 | LCLVersion = '1.6.2.0' |
19 | object PageControl: TPageControl | 19 | object PageControl: TPageControl |
20 | Left = 0 | 20 | Left = 0 |
21 | - Height = 745 | 21 | + Height = 793 |
22 | Top = 0 | 22 | Top = 0 |
23 | - Width = 636 | ||
24 | - ActivePage = TabSheetExperiment | 23 | + Width = 643 |
24 | + ActivePage = TabSheetConditions | ||
25 | Align = alClient | 25 | Align = alClient |
26 | - TabIndex = 0 | 26 | + TabIndex = 1 |
27 | TabOrder = 0 | 27 | TabOrder = 0 |
28 | object TabSheetExperiment: TTabSheet | 28 | object TabSheetExperiment: TTabSheet |
29 | Caption = 'Experimento' | 29 | Caption = 'Experimento' |
@@ -32,76 +32,77 @@ object FormDesigner: TFormDesigner | @@ -32,76 +32,77 @@ object FormDesigner: TFormDesigner | ||
32 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 32 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
33 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 33 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
34 | ChildSizing.ControlsPerLine = 1 | 34 | ChildSizing.ControlsPerLine = 1 |
35 | - ClientHeight = 717 | ||
36 | - ClientWidth = 628 | 35 | + ClientHeight = 760 |
36 | + ClientWidth = 637 | ||
37 | object GBConditions: TGroupBox | 37 | object GBConditions: TGroupBox |
38 | Left = 0 | 38 | Left = 0 |
39 | - Height = 100 | 39 | + Height = 97 |
40 | Top = 10 | 40 | Top = 10 |
41 | - Width = 628 | 41 | + Width = 637 |
42 | Caption = 'Condições' | 42 | Caption = 'Condições' |
43 | ClientHeight = 80 | 43 | ClientHeight = 80 |
44 | - ClientWidth = 624 | 44 | + ClientWidth = 633 |
45 | TabOrder = 5 | 45 | TabOrder = 5 |
46 | object ListBoxConditions: TListBox | 46 | object ListBoxConditions: TListBox |
47 | Left = 0 | 47 | Left = 0 |
48 | Height = 80 | 48 | Height = 80 |
49 | Top = 0 | 49 | Top = 0 |
50 | - Width = 624 | 50 | + Width = 633 |
51 | Anchors = [akTop, akLeft, akRight] | 51 | Anchors = [akTop, akLeft, akRight] |
52 | ItemHeight = 0 | 52 | ItemHeight = 0 |
53 | ScrollWidth = 631 | 53 | ScrollWidth = 631 |
54 | TabOrder = 0 | 54 | TabOrder = 0 |
55 | + TopIndex = -1 | ||
55 | end | 56 | end |
56 | end | 57 | end |
57 | object LabelResearcherName: TLabel | 58 | object LabelResearcherName: TLabel |
58 | Left = 0 | 59 | Left = 0 |
59 | Height = 15 | 60 | Height = 15 |
60 | - Top = 115 | ||
61 | - Width = 628 | 61 | + Top = 112 |
62 | + Width = 637 | ||
62 | Caption = 'Nome do Pesquisador' | 63 | Caption = 'Nome do Pesquisador' |
63 | ParentColor = False | 64 | ParentColor = False |
64 | end | 65 | end |
65 | object EditResearcherName: TEdit | 66 | object EditResearcherName: TEdit |
66 | Left = 0 | 67 | Left = 0 |
67 | - Height = 23 | 68 | + Height = 25 |
68 | Hint = 'Uma pasta será criada com o seu nome. Os seus experimentos serão salvos dentro dela.' | 69 | Hint = 'Uma pasta será criada com o seu nome. Os seus experimentos serão salvos dentro dela.' |
69 | - Top = 135 | ||
70 | - Width = 628 | 70 | + Top = 132 |
71 | + Width = 637 | ||
71 | OnEditingDone = EditExperimentEditingDone | 72 | OnEditingDone = EditExperimentEditingDone |
72 | TabOrder = 0 | 73 | TabOrder = 0 |
73 | end | 74 | end |
74 | object LabelExperimentName: TLabel | 75 | object LabelExperimentName: TLabel |
75 | Left = 0 | 76 | Left = 0 |
76 | Height = 15 | 77 | Height = 15 |
77 | - Top = 163 | ||
78 | - Width = 628 | 78 | + Top = 162 |
79 | + Width = 637 | ||
79 | Caption = 'Nome do Experimento' | 80 | Caption = 'Nome do Experimento' |
80 | ParentColor = False | 81 | ParentColor = False |
81 | end | 82 | end |
82 | object EditExperimentName: TEdit | 83 | object EditExperimentName: TEdit |
83 | Left = 0 | 84 | Left = 0 |
84 | - Height = 23 | 85 | + Height = 25 |
85 | Hint = 'Uma pasta será criada com o nome do experimento. Os dados desse experimento serão salvos dentro dela.' | 86 | Hint = 'Uma pasta será criada com o nome do experimento. Os dados desse experimento serão salvos dentro dela.' |
86 | - Top = 183 | ||
87 | - Width = 628 | 87 | + Top = 182 |
88 | + Width = 637 | ||
88 | OnEditingDone = EditExperimentEditingDone | 89 | OnEditingDone = EditExperimentEditingDone |
89 | TabOrder = 1 | 90 | TabOrder = 1 |
90 | end | 91 | end |
91 | object GBExperimentAim: TGroupBox | 92 | object GBExperimentAim: TGroupBox |
92 | Left = 0 | 93 | Left = 0 |
93 | - Height = 162 | ||
94 | - Top = 211 | ||
95 | - Width = 628 | 94 | + Height = 159 |
95 | + Top = 212 | ||
96 | + Width = 637 | ||
96 | Caption = 'Objetivo do Experimento' | 97 | Caption = 'Objetivo do Experimento' |
97 | ClientHeight = 142 | 98 | ClientHeight = 142 |
98 | - ClientWidth = 624 | 99 | + ClientWidth = 633 |
99 | TabOrder = 2 | 100 | TabOrder = 2 |
100 | object MemoExperimentAim: TMemo | 101 | object MemoExperimentAim: TMemo |
101 | Left = 0 | 102 | Left = 0 |
102 | Height = 142 | 103 | Height = 142 |
103 | Top = 0 | 104 | Top = 0 |
104 | - Width = 624 | 105 | + Width = 633 |
105 | Align = alCustom | 106 | Align = alCustom |
106 | Anchors = [akTop, akLeft, akRight] | 107 | Anchors = [akTop, akLeft, akRight] |
107 | OnEditingDone = EditExperimentEditingDone | 108 | OnEditingDone = EditExperimentEditingDone |
@@ -110,10 +111,10 @@ object FormDesigner: TFormDesigner | @@ -110,10 +111,10 @@ object FormDesigner: TFormDesigner | ||
110 | end | 111 | end |
111 | object CGGlobal: TCheckGroup | 112 | object CGGlobal: TCheckGroup |
112 | Left = 0 | 113 | Left = 0 |
113 | - Height = 127 | 114 | + Height = 134 |
114 | Hint = 'Aplicáveis ao longo de todo o experimento' | 115 | Hint = 'Aplicáveis ao longo de todo o experimento' |
115 | - Top = 378 | ||
116 | - Width = 628 | 116 | + Top = 376 |
117 | + Width = 637 | ||
117 | AutoFill = True | 118 | AutoFill = True |
118 | Caption = 'Configurações globais' | 119 | Caption = 'Configurações globais' |
119 | ChildSizing.LeftRightSpacing = 6 | 120 | ChildSizing.LeftRightSpacing = 6 |
@@ -124,8 +125,8 @@ object FormDesigner: TFormDesigner | @@ -124,8 +125,8 @@ object FormDesigner: TFormDesigner | ||
124 | ChildSizing.ShrinkVertical = crsScaleChilds | 125 | ChildSizing.ShrinkVertical = crsScaleChilds |
125 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 126 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
126 | ChildSizing.ControlsPerLine = 1 | 127 | ChildSizing.ControlsPerLine = 1 |
127 | - ClientHeight = 107 | ||
128 | - ClientWidth = 624 | 128 | + ClientHeight = 117 |
129 | + ClientWidth = 633 | ||
129 | Items.Strings = ( | 130 | Items.Strings = ( |
130 | 'Enviar histórico do bate-papo a novos participantes' | 131 | 'Enviar histórico do bate-papo a novos participantes' |
131 | 'Gerar participantes automaticamente' | 132 | 'Gerar participantes automaticamente' |
@@ -142,9 +143,9 @@ object FormDesigner: TFormDesigner | @@ -142,9 +143,9 @@ object FormDesigner: TFormDesigner | ||
142 | end | 143 | end |
143 | object RGPoints: TRadioGroup | 144 | object RGPoints: TRadioGroup |
144 | Left = 0 | 145 | Left = 0 |
145 | - Height = 58 | ||
146 | - Top = 510 | ||
147 | - Width = 628 | 146 | + Height = 59 |
147 | + Top = 515 | ||
148 | + Width = 637 | ||
148 | AutoFill = True | 149 | AutoFill = True |
149 | Caption = 'Tipo de pontuação Individual' | 150 | Caption = 'Tipo de pontuação Individual' |
150 | ChildSizing.LeftRightSpacing = 6 | 151 | ChildSizing.LeftRightSpacing = 6 |
@@ -154,8 +155,8 @@ object FormDesigner: TFormDesigner | @@ -154,8 +155,8 @@ object FormDesigner: TFormDesigner | ||
154 | ChildSizing.ShrinkVertical = crsScaleChilds | 155 | ChildSizing.ShrinkVertical = crsScaleChilds |
155 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 156 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
156 | ChildSizing.ControlsPerLine = 1 | 157 | ChildSizing.ControlsPerLine = 1 |
157 | - ClientHeight = 38 | ||
158 | - ClientWidth = 624 | 158 | + ClientHeight = 42 |
159 | + ClientWidth = 633 | ||
159 | ItemIndex = 0 | 160 | ItemIndex = 0 |
160 | Items.Strings = ( | 161 | Items.Strings = ( |
161 | 'A e B' | 162 | 'A e B' |
@@ -166,21 +167,21 @@ object FormDesigner: TFormDesigner | @@ -166,21 +167,21 @@ object FormDesigner: TFormDesigner | ||
166 | end | 167 | end |
167 | object GBMatrix: TGroupBox | 168 | object GBMatrix: TGroupBox |
168 | Left = 0 | 169 | Left = 0 |
169 | - Height = 134 | ||
170 | - Top = 573 | ||
171 | - Width = 628 | 170 | + Height = 143 |
171 | + Top = 579 | ||
172 | + Width = 637 | ||
172 | Caption = 'Tipo da Matrix' | 173 | Caption = 'Tipo da Matrix' |
173 | ChildSizing.LeftRightSpacing = 5 | 174 | ChildSizing.LeftRightSpacing = 5 |
174 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 175 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
175 | ChildSizing.ControlsPerLine = 1 | 176 | ChildSizing.ControlsPerLine = 1 |
176 | - ClientHeight = 114 | ||
177 | - ClientWidth = 624 | 177 | + ClientHeight = 126 |
178 | + ClientWidth = 633 | ||
178 | TabOrder = 6 | 179 | TabOrder = 6 |
179 | object ChkColors: TCheckBox | 180 | object ChkColors: TCheckBox |
180 | Left = 5 | 181 | Left = 5 |
181 | - Height = 19 | 182 | + Height = 21 |
182 | Top = 0 | 183 | Top = 0 |
183 | - Width = 215 | 184 | + Width = 239 |
184 | Caption = '5 cores' | 185 | Caption = '5 cores' |
185 | Checked = True | 186 | Checked = True |
186 | Enabled = False | 187 | Enabled = False |
@@ -190,9 +191,9 @@ object FormDesigner: TFormDesigner | @@ -190,9 +191,9 @@ object FormDesigner: TFormDesigner | ||
190 | end | 191 | end |
191 | object ChkRows: TCheckBox | 192 | object ChkRows: TCheckBox |
192 | Left = 5 | 193 | Left = 5 |
193 | - Height = 19 | ||
194 | - Top = 19 | ||
195 | - Width = 215 | 194 | + Height = 21 |
195 | + Top = 21 | ||
196 | + Width = 239 | ||
196 | Caption = '10 linhas' | 197 | Caption = '10 linhas' |
197 | Checked = True | 198 | Checked = True |
198 | Enabled = False | 199 | Enabled = False |
@@ -202,18 +203,18 @@ object FormDesigner: TFormDesigner | @@ -202,18 +203,18 @@ object FormDesigner: TFormDesigner | ||
202 | end | 203 | end |
203 | object ChkCols: TCheckBox | 204 | object ChkCols: TCheckBox |
204 | Left = 5 | 205 | Left = 5 |
205 | - Height = 19 | ||
206 | - Top = 38 | ||
207 | - Width = 215 | 206 | + Height = 21 |
207 | + Top = 42 | ||
208 | + Width = 239 | ||
208 | Caption = '10 colunas' | 209 | Caption = '10 colunas' |
209 | OnClick = ChkMatrixTypeClick | 210 | OnClick = ChkMatrixTypeClick |
210 | TabOrder = 2 | 211 | TabOrder = 2 |
211 | end | 212 | end |
212 | object ChkDots: TCheckBox | 213 | object ChkDots: TCheckBox |
213 | Left = 5 | 214 | Left = 5 |
214 | - Height = 19 | ||
215 | - Top = 57 | ||
216 | - Width = 215 | 215 | + Height = 21 |
216 | + Top = 63 | ||
217 | + Width = 239 | ||
217 | Caption = 'Com Círculos Preechidos' | 218 | Caption = 'Com Círculos Preechidos' |
218 | OnChange = ChkDotsChange | 219 | OnChange = ChkDotsChange |
219 | OnClick = ChkMatrixTypeClick | 220 | OnClick = ChkMatrixTypeClick |
@@ -221,9 +222,9 @@ object FormDesigner: TFormDesigner | @@ -221,9 +222,9 @@ object FormDesigner: TFormDesigner | ||
221 | end | 222 | end |
222 | object ChkCleanDots: TCheckBox | 223 | object ChkCleanDots: TCheckBox |
223 | Left = 5 | 224 | Left = 5 |
224 | - Height = 19 | ||
225 | - Top = 76 | ||
226 | - Width = 215 | 225 | + Height = 21 |
226 | + Top = 84 | ||
227 | + Width = 239 | ||
227 | Caption = 'Com Círculos Vazados' | 228 | Caption = 'Com Círculos Vazados' |
228 | OnChange = ChkCleanDotsChange | 229 | OnChange = ChkCleanDotsChange |
229 | OnClick = ChkMatrixTypeClick | 230 | OnClick = ChkMatrixTypeClick |
@@ -231,9 +232,9 @@ object FormDesigner: TFormDesigner | @@ -231,9 +232,9 @@ object FormDesigner: TFormDesigner | ||
231 | end | 232 | end |
232 | object ChkDotsCleanDots: TCheckBox | 233 | object ChkDotsCleanDots: TCheckBox |
233 | Left = 5 | 234 | Left = 5 |
234 | - Height = 19 | ||
235 | - Top = 95 | ||
236 | - Width = 215 | 235 | + Height = 21 |
236 | + Top = 105 | ||
237 | + Width = 239 | ||
237 | Caption = 'Com Círculos Vazados e Preenchidos' | 238 | Caption = 'Com Círculos Vazados e Preenchidos' |
238 | OnChange = ChkDotsCleanDotsChange | 239 | OnChange = ChkDotsCleanDotsChange |
239 | OnClick = ChkMatrixTypeClick | 240 | OnClick = ChkMatrixTypeClick |
@@ -248,14 +249,14 @@ object FormDesigner: TFormDesigner | @@ -248,14 +249,14 @@ object FormDesigner: TFormDesigner | ||
248 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 249 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
249 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 250 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
250 | ChildSizing.ControlsPerLine = 1 | 251 | ChildSizing.ControlsPerLine = 1 |
251 | - ClientHeight = 751 | ||
252 | - ClientWidth = 628 | 252 | + ClientHeight = 760 |
253 | + ClientWidth = 637 | ||
253 | object ComboCurrentCondition: TComboBox | 254 | object ComboCurrentCondition: TComboBox |
254 | Left = 0 | 255 | Left = 0 |
255 | - Height = 23 | 256 | + Height = 27 |
256 | Top = 10 | 257 | Top = 10 |
257 | - Width = 628 | ||
258 | - ItemHeight = 15 | 258 | + Width = 637 |
259 | + ItemHeight = 0 | ||
259 | OnChange = ComboCurrentConditionChange | 260 | OnChange = ComboCurrentConditionChange |
260 | Style = csDropDownList | 261 | Style = csDropDownList |
261 | TabOrder = 0 | 262 | TabOrder = 0 |
@@ -263,40 +264,40 @@ object FormDesigner: TFormDesigner | @@ -263,40 +264,40 @@ object FormDesigner: TFormDesigner | ||
263 | object PanelConditionButtons: TPanel | 264 | object PanelConditionButtons: TPanel |
264 | Left = 0 | 265 | Left = 0 |
265 | Height = 26 | 266 | Height = 26 |
266 | - Top = 38 | ||
267 | - Width = 628 | 267 | + Top = 42 |
268 | + Width = 637 | ||
268 | ChildSizing.LeftRightSpacing = 25 | 269 | ChildSizing.LeftRightSpacing = 25 |
269 | ChildSizing.HorizontalSpacing = 50 | 270 | ChildSizing.HorizontalSpacing = 50 |
270 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 271 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
271 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 272 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
272 | ChildSizing.ControlsPerLine = 3 | 273 | ChildSizing.ControlsPerLine = 3 |
273 | ClientHeight = 26 | 274 | ClientHeight = 26 |
274 | - ClientWidth = 628 | 275 | + ClientWidth = 637 |
275 | TabOrder = 1 | 276 | TabOrder = 1 |
276 | object BtnAppendCond: TButton | 277 | object BtnAppendCond: TButton |
277 | Left = 25 | 278 | Left = 25 |
278 | Height = 25 | 279 | Height = 25 |
279 | Hint = 'Selecione contingências na lista abaixo se deseja inclui-las na condição a ser adicionada.' | 280 | Hint = 'Selecione contingências na lista abaixo se deseja inclui-las na condição a ser adicionada.' |
280 | Top = 0 | 281 | Top = 0 |
281 | - Width = 160 | 282 | + Width = 161 |
282 | Caption = 'Adicionar' | 283 | Caption = 'Adicionar' |
283 | OnClick = BtnAppendCondClick | 284 | OnClick = BtnAppendCondClick |
284 | TabOrder = 0 | 285 | TabOrder = 0 |
285 | end | 286 | end |
286 | object BtnRemoveCond: TButton | 287 | object BtnRemoveCond: TButton |
287 | - Left = 235 | 288 | + Left = 236 |
288 | Height = 25 | 289 | Height = 25 |
289 | Top = 0 | 290 | Top = 0 |
290 | - Width = 156 | 291 | + Width = 158 |
291 | Caption = 'Remover' | 292 | Caption = 'Remover' |
292 | OnClick = BtnRemoveCondClick | 293 | OnClick = BtnRemoveCondClick |
293 | TabOrder = 1 | 294 | TabOrder = 1 |
294 | end | 295 | end |
295 | object BtnReorderCond: TButton | 296 | object BtnReorderCond: TButton |
296 | - Left = 441 | 297 | + Left = 444 |
297 | Height = 25 | 298 | Height = 25 |
298 | Top = 0 | 299 | Top = 0 |
299 | - Width = 162 | 300 | + Width = 168 |
300 | Caption = 'Reordenar' | 301 | Caption = 'Reordenar' |
301 | OnClick = BtnReorderCondClick | 302 | OnClick = BtnReorderCondClick |
302 | TabOrder = 2 | 303 | TabOrder = 2 |
@@ -305,56 +306,57 @@ object FormDesigner: TFormDesigner | @@ -305,56 +306,57 @@ object FormDesigner: TFormDesigner | ||
305 | end | 306 | end |
306 | object GBContingencies: TGroupBox | 307 | object GBContingencies: TGroupBox |
307 | Left = 0 | 308 | Left = 0 |
308 | - Height = 100 | ||
309 | - Top = 69 | ||
310 | - Width = 628 | 309 | + Height = 97 |
310 | + Top = 73 | ||
311 | + Width = 637 | ||
311 | Caption = 'Contingências e Metacontingências da Condição Selecionada' | 312 | Caption = 'Contingências e Metacontingências da Condição Selecionada' |
312 | ClientHeight = 80 | 313 | ClientHeight = 80 |
313 | - ClientWidth = 624 | 314 | + ClientWidth = 633 |
314 | TabOrder = 8 | 315 | TabOrder = 8 |
315 | object ListBoxContingencies: TListBox | 316 | object ListBoxContingencies: TListBox |
316 | Left = 0 | 317 | Left = 0 |
317 | Height = 80 | 318 | Height = 80 |
318 | Hint = 'CTRL+Clique para selecionar múltiplas contingências.' | 319 | Hint = 'CTRL+Clique para selecionar múltiplas contingências.' |
319 | Top = 0 | 320 | Top = 0 |
320 | - Width = 624 | 321 | + Width = 633 |
321 | Anchors = [akTop, akLeft, akRight] | 322 | Anchors = [akTop, akLeft, akRight] |
322 | ItemHeight = 0 | 323 | ItemHeight = 0 |
323 | MultiSelect = True | 324 | MultiSelect = True |
324 | - ScrollWidth = 643 | 325 | + ScrollWidth = 631 |
325 | TabOrder = 0 | 326 | TabOrder = 0 |
327 | + TopIndex = -1 | ||
326 | end | 328 | end |
327 | end | 329 | end |
328 | object LabelConditionName: TLabel | 330 | object LabelConditionName: TLabel |
329 | Left = 0 | 331 | Left = 0 |
330 | Height = 15 | 332 | Height = 15 |
331 | Hint = 'Nome da condição no relatório.' | 333 | Hint = 'Nome da condição no relatório.' |
332 | - Top = 174 | ||
333 | - Width = 628 | 334 | + Top = 175 |
335 | + Width = 637 | ||
334 | Caption = 'Nome da Condição' | 336 | Caption = 'Nome da Condição' |
335 | ParentColor = False | 337 | ParentColor = False |
336 | end | 338 | end |
337 | object EditConditionName: TEdit | 339 | object EditConditionName: TEdit |
338 | Left = 0 | 340 | Left = 0 |
339 | - Height = 23 | ||
340 | - Top = 194 | ||
341 | - Width = 628 | 341 | + Height = 25 |
342 | + Top = 195 | ||
343 | + Width = 637 | ||
342 | OnEditingDone = EditConditionNameEditingDone | 344 | OnEditingDone = EditConditionNameEditingDone |
343 | TabOrder = 2 | 345 | TabOrder = 2 |
344 | end | 346 | end |
345 | object LabelTurnValue: TLabel | 347 | object LabelTurnValue: TLabel |
346 | Left = 0 | 348 | Left = 0 |
347 | Height = 15 | 349 | Height = 15 |
348 | - Top = 222 | ||
349 | - Width = 628 | 350 | + Top = 225 |
351 | + Width = 637 | ||
350 | Caption = 'Número de Jogadores / Turnos' | 352 | Caption = 'Número de Jogadores / Turnos' |
351 | ParentColor = False | 353 | ParentColor = False |
352 | end | 354 | end |
353 | object SpinEditTurnValue: TSpinEdit | 355 | object SpinEditTurnValue: TSpinEdit |
354 | Left = 0 | 356 | Left = 0 |
355 | - Height = 23 | ||
356 | - Top = 242 | ||
357 | - Width = 628 | 357 | + Height = 25 |
358 | + Top = 245 | ||
359 | + Width = 637 | ||
358 | MaxValue = 5 | 360 | MaxValue = 5 |
359 | MinValue = 2 | 361 | MinValue = 2 |
360 | OnEditingDone = SpinEditTurnValueEditingDone | 362 | OnEditingDone = SpinEditTurnValueEditingDone |
@@ -363,70 +365,70 @@ object FormDesigner: TFormDesigner | @@ -363,70 +365,70 @@ object FormDesigner: TFormDesigner | ||
363 | end | 365 | end |
364 | object GroupBox1: TGroupBox | 366 | object GroupBox1: TGroupBox |
365 | Left = 0 | 367 | Left = 0 |
366 | - Height = 58 | ||
367 | - Top = 270 | ||
368 | - Width = 628 | 368 | + Height = 57 |
369 | + Top = 275 | ||
370 | + Width = 637 | ||
369 | Caption = 'Somar pontos ao iniciar condição' | 371 | Caption = 'Somar pontos ao iniciar condição' |
370 | ChildSizing.LeftRightSpacing = 50 | 372 | ChildSizing.LeftRightSpacing = 50 |
371 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 373 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
372 | ChildSizing.Layout = cclTopToBottomThenLeftToRight | 374 | ChildSizing.Layout = cclTopToBottomThenLeftToRight |
373 | ChildSizing.ControlsPerLine = 2 | 375 | ChildSizing.ControlsPerLine = 2 |
374 | - ClientHeight = 38 | ||
375 | - ClientWidth = 624 | 376 | + ClientHeight = 40 |
377 | + ClientWidth = 633 | ||
376 | TabOrder = 9 | 378 | TabOrder = 9 |
377 | object LabelPA: TLabel | 379 | object LabelPA: TLabel |
378 | Left = 50 | 380 | Left = 50 |
379 | Height = 15 | 381 | Height = 15 |
380 | Top = 0 | 382 | Top = 0 |
381 | - Width = 131 | 383 | + Width = 132 |
382 | Caption = 'A' | 384 | Caption = 'A' |
383 | ParentColor = False | 385 | ParentColor = False |
384 | end | 386 | end |
385 | object SpinEditOnConditionBeginA: TSpinEdit | 387 | object SpinEditOnConditionBeginA: TSpinEdit |
386 | Left = 50 | 388 | Left = 50 |
387 | - Height = 23 | 389 | + Height = 25 |
388 | Top = 15 | 390 | Top = 15 |
389 | - Width = 131 | 391 | + Width = 132 |
390 | MaxValue = 0 | 392 | MaxValue = 0 |
391 | OnEditingDone = SpinEditOnConditionBeginAEditingDone | 393 | OnEditingDone = SpinEditOnConditionBeginAEditingDone |
392 | TabOrder = 0 | 394 | TabOrder = 0 |
393 | end | 395 | end |
394 | object LabelPB: TLabel | 396 | object LabelPB: TLabel |
395 | - Left = 181 | 397 | + Left = 182 |
396 | Height = 15 | 398 | Height = 15 |
397 | Top = 0 | 399 | Top = 0 |
398 | - Width = 131 | 400 | + Width = 132 |
399 | Caption = 'B' | 401 | Caption = 'B' |
400 | ParentColor = False | 402 | ParentColor = False |
401 | end | 403 | end |
402 | object SpinEditOnConditionBeginB: TSpinEdit | 404 | object SpinEditOnConditionBeginB: TSpinEdit |
403 | - Left = 181 | ||
404 | - Height = 23 | 405 | + Left = 182 |
406 | + Height = 25 | ||
405 | Top = 15 | 407 | Top = 15 |
406 | - Width = 131 | 408 | + Width = 132 |
407 | MaxValue = 0 | 409 | MaxValue = 0 |
408 | OnEditingDone = SpinEditOnConditionBeginAEditingDone | 410 | OnEditingDone = SpinEditOnConditionBeginAEditingDone |
409 | TabOrder = 1 | 411 | TabOrder = 1 |
410 | end | 412 | end |
411 | object LabelPI: TLabel | 413 | object LabelPI: TLabel |
412 | - Left = 312 | 414 | + Left = 314 |
413 | Height = 15 | 415 | Height = 15 |
414 | Top = 0 | 416 | Top = 0 |
415 | - Width = 133 | 417 | + Width = 140 |
416 | Caption = 'Individual' | 418 | Caption = 'Individual' |
417 | ParentColor = False | 419 | ParentColor = False |
418 | end | 420 | end |
419 | object SpinEditOnConditionBeginI: TSpinEdit | 421 | object SpinEditOnConditionBeginI: TSpinEdit |
420 | - Left = 312 | ||
421 | - Height = 23 | 422 | + Left = 314 |
423 | + Height = 25 | ||
422 | Top = 15 | 424 | Top = 15 |
423 | - Width = 133 | 425 | + Width = 140 |
424 | MaxValue = 0 | 426 | MaxValue = 0 |
425 | OnEditingDone = SpinEditOnConditionBeginAEditingDone | 427 | OnEditingDone = SpinEditOnConditionBeginAEditingDone |
426 | TabOrder = 2 | 428 | TabOrder = 2 |
427 | end | 429 | end |
428 | object LabelPG: TLabel | 430 | object LabelPG: TLabel |
429 | - Left = 445 | 431 | + Left = 454 |
430 | Height = 15 | 432 | Height = 15 |
431 | Top = 0 | 433 | Top = 0 |
432 | Width = 129 | 434 | Width = 129 |
@@ -434,8 +436,8 @@ object FormDesigner: TFormDesigner | @@ -434,8 +436,8 @@ object FormDesigner: TFormDesigner | ||
434 | ParentColor = False | 436 | ParentColor = False |
435 | end | 437 | end |
436 | object SpinEditOnConditionBeginG: TSpinEdit | 438 | object SpinEditOnConditionBeginG: TSpinEdit |
437 | - Left = 445 | ||
438 | - Height = 23 | 439 | + Left = 454 |
440 | + Height = 25 | ||
439 | Top = 15 | 441 | Top = 15 |
440 | Width = 129 | 442 | Width = 129 |
441 | MaxValue = 0 | 443 | MaxValue = 0 |
@@ -446,16 +448,16 @@ object FormDesigner: TFormDesigner | @@ -446,16 +448,16 @@ object FormDesigner: TFormDesigner | ||
446 | object LabelCyclesValue: TLabel | 448 | object LabelCyclesValue: TLabel |
447 | Left = 0 | 449 | Left = 0 |
448 | Height = 15 | 450 | Height = 15 |
449 | - Top = 333 | ||
450 | - Width = 628 | 451 | + Top = 337 |
452 | + Width = 637 | ||
451 | Caption = 'Ciclos para mudança de geração / linhagem' | 453 | Caption = 'Ciclos para mudança de geração / linhagem' |
452 | ParentColor = False | 454 | ParentColor = False |
453 | end | 455 | end |
454 | object SpinEditCyclesValue: TSpinEdit | 456 | object SpinEditCyclesValue: TSpinEdit |
455 | Left = 0 | 457 | Left = 0 |
456 | - Height = 23 | ||
457 | - Top = 353 | ||
458 | - Width = 628 | 458 | + Height = 25 |
459 | + Top = 357 | ||
460 | + Width = 637 | ||
459 | MaxValue = 1000 | 461 | MaxValue = 1000 |
460 | MinValue = 1 | 462 | MinValue = 1 |
461 | OnEditingDone = SpinEditCyclesValueEditingDone | 463 | OnEditingDone = SpinEditCyclesValueEditingDone |
@@ -464,23 +466,23 @@ object FormDesigner: TFormDesigner | @@ -464,23 +466,23 @@ object FormDesigner: TFormDesigner | ||
464 | end | 466 | end |
465 | object GBQuestion: TGroupBox | 467 | object GBQuestion: TGroupBox |
466 | Left = 0 | 468 | Left = 0 |
467 | - Height = 162 | ||
468 | - Top = 381 | ||
469 | - Width = 628 | 469 | + Height = 164 |
470 | + Top = 387 | ||
471 | + Width = 637 | ||
470 | Caption = 'Apresentar pergunta ao final do ciclo' | 472 | Caption = 'Apresentar pergunta ao final do ciclo' |
471 | ChildSizing.LeftRightSpacing = 50 | 473 | ChildSizing.LeftRightSpacing = 50 |
472 | ChildSizing.VerticalSpacing = 5 | 474 | ChildSizing.VerticalSpacing = 5 |
473 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 475 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
474 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 476 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
475 | ChildSizing.ControlsPerLine = 1 | 477 | ChildSizing.ControlsPerLine = 1 |
476 | - ClientHeight = 142 | ||
477 | - ClientWidth = 624 | 478 | + ClientHeight = 147 |
479 | + ClientWidth = 633 | ||
478 | TabOrder = 5 | 480 | TabOrder = 5 |
479 | object CheckBoxShouldAskQuestion: TCheckBox | 481 | object CheckBoxShouldAskQuestion: TCheckBox |
480 | Left = 50 | 482 | Left = 50 |
481 | - Height = 19 | 483 | + Height = 21 |
482 | Top = 0 | 484 | Top = 0 |
483 | - Width = 524 | 485 | + Width = 533 |
484 | Caption = 'Não' | 486 | Caption = 'Não' |
485 | OnChange = CheckBoxShouldAskQuestionChange | 487 | OnChange = CheckBoxShouldAskQuestionChange |
486 | TabOrder = 0 | 488 | TabOrder = 0 |
@@ -488,17 +490,18 @@ object FormDesigner: TFormDesigner | @@ -488,17 +490,18 @@ object FormDesigner: TFormDesigner | ||
488 | object LabelQuestion: TLabel | 490 | object LabelQuestion: TLabel |
489 | Left = 50 | 491 | Left = 50 |
490 | Height = 15 | 492 | Height = 15 |
491 | - Top = 24 | ||
492 | - Width = 524 | 493 | + Top = 26 |
494 | + Width = 533 | ||
493 | Caption = 'Texto da Pergunta' | 495 | Caption = 'Texto da Pergunta' |
494 | ParentColor = False | 496 | ParentColor = False |
495 | Visible = False | 497 | Visible = False |
496 | end | 498 | end |
497 | object EditQuestion: TEdit | 499 | object EditQuestion: TEdit |
498 | Left = 50 | 500 | Left = 50 |
499 | - Height = 23 | ||
500 | - Top = 44 | ||
501 | - Width = 524 | 501 | + Height = 25 |
502 | + Hint = 'Clique duas vezes para gerar uma pergunta padrão.' | ||
503 | + Top = 46 | ||
504 | + Width = 533 | ||
502 | OnDblClick = EditQuestionDblClick | 505 | OnDblClick = EditQuestionDblClick |
503 | OnEditingDone = EditQuestionEditingDone | 506 | OnEditingDone = EditQuestionEditingDone |
504 | TabOrder = 1 | 507 | TabOrder = 1 |
@@ -506,9 +509,9 @@ object FormDesigner: TFormDesigner | @@ -506,9 +509,9 @@ object FormDesigner: TFormDesigner | ||
506 | end | 509 | end |
507 | object CGQuestion: TCheckGroup | 510 | object CGQuestion: TCheckGroup |
508 | Left = 50 | 511 | Left = 50 |
509 | - Height = 70 | ||
510 | - Top = 72 | ||
511 | - Width = 524 | 512 | + Height = 71 |
513 | + Top = 76 | ||
514 | + Width = 533 | ||
512 | AutoFill = True | 515 | AutoFill = True |
513 | Caption = 'O que deve acontecer quando todos responderem sim?' | 516 | Caption = 'O que deve acontecer quando todos responderem sim?' |
514 | ChildSizing.LeftRightSpacing = 6 | 517 | ChildSizing.LeftRightSpacing = 6 |
@@ -519,8 +522,8 @@ object FormDesigner: TFormDesigner | @@ -519,8 +522,8 @@ object FormDesigner: TFormDesigner | ||
519 | ChildSizing.ShrinkVertical = crsScaleChilds | 522 | ChildSizing.ShrinkVertical = crsScaleChilds |
520 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 523 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
521 | ChildSizing.ControlsPerLine = 1 | 524 | ChildSizing.ControlsPerLine = 1 |
522 | - ClientHeight = 50 | ||
523 | - ClientWidth = 520 | 525 | + ClientHeight = 54 |
526 | + ClientWidth = 529 | ||
524 | Items.Strings = ( | 527 | Items.Strings = ( |
525 | 'Reverter consequências das metacontingências e contingências' | 528 | 'Reverter consequências das metacontingências e contingências' |
526 | 'Inverter pontos A e B quando pontos B forem consequências' | 529 | 'Inverter pontos A e B quando pontos B forem consequências' |
@@ -535,9 +538,9 @@ object FormDesigner: TFormDesigner | @@ -535,9 +538,9 @@ object FormDesigner: TFormDesigner | ||
535 | end | 538 | end |
536 | object RGEndCriteriaStyle: TRadioGroup | 539 | object RGEndCriteriaStyle: TRadioGroup |
537 | Left = 0 | 540 | Left = 0 |
538 | - Height = 77 | ||
539 | - Top = 548 | ||
540 | - Width = 628 | 541 | + Height = 80 |
542 | + Top = 556 | ||
543 | + Width = 637 | ||
541 | AutoFill = True | 544 | AutoFill = True |
542 | Caption = 'Critério de finalização da condição' | 545 | Caption = 'Critério de finalização da condição' |
543 | ChildSizing.LeftRightSpacing = 6 | 546 | ChildSizing.LeftRightSpacing = 6 |
@@ -547,8 +550,8 @@ object FormDesigner: TFormDesigner | @@ -547,8 +550,8 @@ object FormDesigner: TFormDesigner | ||
547 | ChildSizing.ShrinkVertical = crsScaleChilds | 550 | ChildSizing.ShrinkVertical = crsScaleChilds |
548 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 551 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
549 | ChildSizing.ControlsPerLine = 1 | 552 | ChildSizing.ControlsPerLine = 1 |
550 | - ClientHeight = 57 | ||
551 | - ClientWidth = 624 | 553 | + ClientHeight = 63 |
554 | + ClientWidth = 633 | ||
552 | ItemIndex = 2 | 555 | ItemIndex = 2 |
553 | Items.Strings = ( | 556 | Items.Strings = ( |
554 | 'Finalizar após um número de ciclos' | 557 | 'Finalizar após um número de ciclos' |
@@ -560,31 +563,31 @@ object FormDesigner: TFormDesigner | @@ -560,31 +563,31 @@ object FormDesigner: TFormDesigner | ||
560 | end | 563 | end |
561 | object GBEndCriteria: TGroupBox | 564 | object GBEndCriteria: TGroupBox |
562 | Left = 0 | 565 | Left = 0 |
563 | - Height = 111 | ||
564 | - Top = 630 | ||
565 | - Width = 628 | 566 | + Height = 109 |
567 | + Top = 641 | ||
568 | + Width = 637 | ||
566 | Caption = 'Valores do critério de finalização da condição' | 569 | Caption = 'Valores do critério de finalização da condição' |
567 | ChildSizing.LeftRightSpacing = 50 | 570 | ChildSizing.LeftRightSpacing = 50 |
568 | ChildSizing.VerticalSpacing = 5 | 571 | ChildSizing.VerticalSpacing = 5 |
569 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 572 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
570 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 573 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
571 | ChildSizing.ControlsPerLine = 1 | 574 | ChildSizing.ControlsPerLine = 1 |
572 | - ClientHeight = 91 | ||
573 | - ClientWidth = 624 | 575 | + ClientHeight = 92 |
576 | + ClientWidth = 633 | ||
574 | TabOrder = 7 | 577 | TabOrder = 7 |
575 | object LabelEndCriteriaAbsCycles: TLabel | 578 | object LabelEndCriteriaAbsCycles: TLabel |
576 | Left = 50 | 579 | Left = 50 |
577 | Height = 15 | 580 | Height = 15 |
578 | Top = 0 | 581 | Top = 0 |
579 | - Width = 524 | 582 | + Width = 533 |
580 | Caption = 'Número de ciclos' | 583 | Caption = 'Número de ciclos' |
581 | ParentColor = False | 584 | ParentColor = False |
582 | end | 585 | end |
583 | object SpinEditEndCriteriaAbsCycles: TSpinEdit | 586 | object SpinEditEndCriteriaAbsCycles: TSpinEdit |
584 | Left = 50 | 587 | Left = 50 |
585 | - Height = 23 | 588 | + Height = 25 |
586 | Top = 20 | 589 | Top = 20 |
587 | - Width = 524 | 590 | + Width = 533 |
588 | MaxValue = 1000 | 591 | MaxValue = 1000 |
589 | OnEditingDone = SpinEditEndCriteriaAbsCyclesEditingDone | 592 | OnEditingDone = SpinEditEndCriteriaAbsCyclesEditingDone |
590 | TabOrder = 0 | 593 | TabOrder = 0 |
@@ -592,19 +595,19 @@ object FormDesigner: TFormDesigner | @@ -592,19 +595,19 @@ object FormDesigner: TFormDesigner | ||
592 | end | 595 | end |
593 | object GBEndCriteriaLastCycles: TGroupBox | 596 | object GBEndCriteriaLastCycles: TGroupBox |
594 | Left = 50 | 597 | Left = 50 |
595 | - Height = 43 | ||
596 | - Top = 48 | ||
597 | - Width = 524 | 598 | + Height = 42 |
599 | + Top = 50 | ||
600 | + Width = 533 | ||
598 | Caption = 'Porcentagem de entrelaçamentos' | 601 | Caption = 'Porcentagem de entrelaçamentos' |
599 | ChildSizing.HorizontalSpacing = 5 | 602 | ChildSizing.HorizontalSpacing = 5 |
600 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 603 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
601 | ChildSizing.ControlsPerLine = 4 | 604 | ChildSizing.ControlsPerLine = 4 |
602 | - ClientHeight = 23 | ||
603 | - ClientWidth = 520 | 605 | + ClientHeight = 25 |
606 | + ClientWidth = 529 | ||
604 | TabOrder = 1 | 607 | TabOrder = 1 |
605 | object SpinEditEndCriteriaInterlockingPorcentage: TSpinEdit | 608 | object SpinEditEndCriteriaInterlockingPorcentage: TSpinEdit |
606 | Left = 0 | 609 | Left = 0 |
607 | - Height = 23 | 610 | + Height = 25 |
608 | Top = 0 | 611 | Top = 0 |
609 | Width = 50 | 612 | Width = 50 |
610 | OnEditingDone = SpinEditEndCriteriaInterlockingEditingDone | 613 | OnEditingDone = SpinEditEndCriteriaInterlockingEditingDone |
@@ -613,17 +616,17 @@ object FormDesigner: TFormDesigner | @@ -613,17 +616,17 @@ object FormDesigner: TFormDesigner | ||
613 | end | 616 | end |
614 | object LabelEndCriteriaInt: TLabel | 617 | object LabelEndCriteriaInt: TLabel |
615 | Left = 55 | 618 | Left = 55 |
616 | - Height = 23 | 619 | + Height = 25 |
617 | Top = 0 | 620 | Top = 0 |
618 | - Width = 185 | 621 | + Width = 206 |
619 | Alignment = taCenter | 622 | Alignment = taCenter |
620 | Caption = '% de entrelaçamentos nos últimos ' | 623 | Caption = '% de entrelaçamentos nos últimos ' |
621 | Layout = tlCenter | 624 | Layout = tlCenter |
622 | ParentColor = False | 625 | ParentColor = False |
623 | end | 626 | end |
624 | object SpinEditEndCriteriaLastCycles: TSpinEdit | 627 | object SpinEditEndCriteriaLastCycles: TSpinEdit |
625 | - Left = 245 | ||
626 | - Height = 23 | 628 | + Left = 266 |
629 | + Height = 25 | ||
627 | Top = 0 | 630 | Top = 0 |
628 | Width = 50 | 631 | Width = 50 |
629 | MaxValue = 1000 | 632 | MaxValue = 1000 |
@@ -633,10 +636,10 @@ object FormDesigner: TFormDesigner | @@ -633,10 +636,10 @@ object FormDesigner: TFormDesigner | ||
633 | Value = 10 | 636 | Value = 10 |
634 | end | 637 | end |
635 | object LabelEndCriteriaLastCycles: TLabel | 638 | object LabelEndCriteriaLastCycles: TLabel |
636 | - Left = 300 | ||
637 | - Height = 23 | 639 | + Left = 321 |
640 | + Height = 25 | ||
638 | Top = 0 | 641 | Top = 0 |
639 | - Width = 33 | 642 | + Width = 35 |
640 | Alignment = taCenter | 643 | Alignment = taCenter |
641 | Caption = 'ciclos.' | 644 | Caption = 'ciclos.' |
642 | Layout = tlCenter | 645 | Layout = tlCenter |
@@ -652,8 +655,8 @@ object FormDesigner: TFormDesigner | @@ -652,8 +655,8 @@ object FormDesigner: TFormDesigner | ||
652 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 655 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
653 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 656 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
654 | ChildSizing.ControlsPerLine = 1 | 657 | ChildSizing.ControlsPerLine = 1 |
655 | - ClientHeight = 762 | ||
656 | - ClientWidth = 628 | 658 | + ClientHeight = 760 |
659 | + ClientWidth = 637 | ||
657 | Enabled = False | 660 | Enabled = False |
658 | object RGContingencyType: TRadioGroup | 661 | object RGContingencyType: TRadioGroup |
659 | Left = 0 | 662 | Left = 0 |
@@ -669,7 +672,7 @@ object FormDesigner: TFormDesigner | @@ -669,7 +672,7 @@ object FormDesigner: TFormDesigner | ||
669 | ChildSizing.ShrinkVertical = crsScaleChilds | 672 | ChildSizing.ShrinkVertical = crsScaleChilds |
670 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 673 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
671 | ChildSizing.ControlsPerLine = 1 | 674 | ChildSizing.ControlsPerLine = 1 |
672 | - ClientHeight = 38 | 675 | + ClientHeight = 41 |
673 | ClientWidth = 624 | 676 | ClientWidth = 624 |
674 | Items.Strings = ( | 677 | Items.Strings = ( |
675 | 'Contingências Operantes' | 678 | 'Contingências Operantes' |
@@ -683,7 +686,7 @@ object FormDesigner: TFormDesigner | @@ -683,7 +686,7 @@ object FormDesigner: TFormDesigner | ||
683 | Height = 23 | 686 | Height = 23 |
684 | Top = 73 | 687 | Top = 73 |
685 | Width = 628 | 688 | Width = 628 |
686 | - ItemHeight = 15 | 689 | + ItemHeight = 0 |
687 | OnChange = ComboCurrentContingencyChange | 690 | OnChange = ComboCurrentContingencyChange |
688 | Style = csDropDownList | 691 | Style = csDropDownList |
689 | TabOrder = 0 | 692 | TabOrder = 0 |
@@ -760,7 +763,7 @@ object FormDesigner: TFormDesigner | @@ -760,7 +763,7 @@ object FormDesigner: TFormDesigner | ||
760 | ChildSizing.ShrinkVertical = crsScaleChilds | 763 | ChildSizing.ShrinkVertical = crsScaleChilds |
761 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 764 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
762 | ChildSizing.ControlsPerLine = 1 | 765 | ChildSizing.ControlsPerLine = 1 |
763 | - ClientHeight = 95 | 766 | + ClientHeight = 98 |
764 | ClientWidth = 624 | 767 | ClientWidth = 624 |
765 | ItemIndex = 0 | 768 | ItemIndex = 0 |
766 | Items.Strings = ( | 769 | Items.Strings = ( |
@@ -839,7 +842,7 @@ object FormDesigner: TFormDesigner | @@ -839,7 +842,7 @@ object FormDesigner: TFormDesigner | ||
839 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize | 842 | ChildSizing.EnlargeHorizontal = crsHomogenousChildResize |
840 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 843 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
841 | ChildSizing.ControlsPerLine = 2 | 844 | ChildSizing.ControlsPerLine = 2 |
842 | - ClientHeight = 324 | 845 | + ClientHeight = 327 |
843 | ClientWidth = 624 | 846 | ClientWidth = 624 |
844 | TabOrder = 6 | 847 | TabOrder = 6 |
845 | Visible = False | 848 | Visible = False |
@@ -873,7 +876,7 @@ object FormDesigner: TFormDesigner | @@ -873,7 +876,7 @@ object FormDesigner: TFormDesigner | ||
873 | Height = 23 | 876 | Height = 23 |
874 | Top = 15 | 877 | Top = 15 |
875 | Width = 230 | 878 | Width = 230 |
876 | - ItemHeight = 15 | 879 | + ItemHeight = 0 |
877 | OnChange = ConsequenceStyleChange | 880 | OnChange = ConsequenceStyleChange |
878 | Style = csDropDownList | 881 | Style = csDropDownList |
879 | TabOrder = 1 | 882 | TabOrder = 1 |
@@ -892,7 +895,7 @@ object FormDesigner: TFormDesigner | @@ -892,7 +895,7 @@ object FormDesigner: TFormDesigner | ||
892 | ChildSizing.ShrinkVertical = crsScaleChilds | 895 | ChildSizing.ShrinkVertical = crsScaleChilds |
893 | ChildSizing.Layout = cclLeftToRightThenTopToBottom | 896 | ChildSizing.Layout = cclLeftToRightThenTopToBottom |
894 | ChildSizing.ControlsPerLine = 1 | 897 | ChildSizing.ControlsPerLine = 1 |
895 | - ClientHeight = 57 | 898 | + ClientHeight = 60 |
896 | ClientWidth = 390 | 899 | ClientWidth = 390 |
897 | ItemIndex = 0 | 900 | ItemIndex = 0 |
898 | Items.Strings = ( | 901 | Items.Strings = ( |
experiment_designer/form_main.pas
@@ -1333,14 +1333,14 @@ begin | @@ -1333,14 +1333,14 @@ begin | ||
1333 | SpinEditTurnValue.Value := ReadInteger(ASection, KEY_TURN_VALUE, 2); | 1333 | SpinEditTurnValue.Value := ReadInteger(ASection, KEY_TURN_VALUE, 2); |
1334 | SpinEditCyclesValue.Value := ReadInteger(ASection, KEY_CYCLES_VALUE, 2); | 1334 | SpinEditCyclesValue.Value := ReadInteger(ASection, KEY_CYCLES_VALUE, 2); |
1335 | 1335 | ||
1336 | - CheckBoxShouldAskQuestion.Checked := False; | ||
1337 | if ValueExists(ASection, KEY_PROMPT_STYLE) and ValueExists(ASection, KEY_PROMPT_MESSAGE) then | 1336 | if ValueExists(ASection, KEY_PROMPT_STYLE) and ValueExists(ASection, KEY_PROMPT_MESSAGE) then |
1338 | - begin | ||
1339 | - EditQuestion.Text := ReadString(ASection, KEY_PROMPT_MESSAGE, ''); | ||
1340 | - SetCGQuestion(ReadString(ASection, KEY_PROMPT_STYLE, '')); | ||
1341 | - if (EditQuestion.Text <> '') or (ReadString(ASection, KEY_PROMPT_STYLE, '') <> '') then | ||
1342 | - CheckBoxShouldAskQuestion.Checked := True; | ||
1343 | - end; | 1337 | + begin |
1338 | + EditQuestion.Text := ReadString(ASection, KEY_PROMPT_MESSAGE, ''); | ||
1339 | + SetCGQuestion(ReadString(ASection, KEY_PROMPT_STYLE, '')); | ||
1340 | + if (EditQuestion.Text <> '') or (ReadString(ASection, KEY_PROMPT_STYLE, '') <> '') then | ||
1341 | + CheckBoxShouldAskQuestion.Checked := True; | ||
1342 | + end | ||
1343 | + else CheckBoxShouldAskQuestion.Checked := False; | ||
1344 | LabelQuestion.Visible:= CheckBoxShouldAskQuestion.Checked; | 1344 | LabelQuestion.Visible:= CheckBoxShouldAskQuestion.Checked; |
1345 | SpinEditOnConditionBeginA.Value := ReadInteger(ASection, KEY_POINTS_ONSTART_A, 0); | 1345 | SpinEditOnConditionBeginA.Value := ReadInteger(ASection, KEY_POINTS_ONSTART_A, 0); |
1346 | SpinEditOnConditionBeginB.Value := ReadInteger(ASection, KEY_POINTS_ONSTART_B, 0); | 1346 | SpinEditOnConditionBeginB.Value := ReadInteger(ASection, KEY_POINTS_ONSTART_B, 0); |
@@ -1459,6 +1459,13 @@ begin | @@ -1459,6 +1459,13 @@ begin | ||
1459 | TCheckBox(Sender).Caption := 'Sim'; | 1459 | TCheckBox(Sender).Caption := 'Sim'; |
1460 | CGQuestion.Checked[0] := True; | 1460 | CGQuestion.Checked[0] := True; |
1461 | CGQuestion.Checked[1] := True; | 1461 | CGQuestion.Checked[1] := True; |
1462 | + with FExperiment do | ||
1463 | + if ComboCurrentCondition.ItemIndex <> -1 then | ||
1464 | + begin | ||
1465 | + LS := SEC_CONDITION+IntToStr(ComboCurrentCondition.ItemIndex+1); | ||
1466 | + WriteString(LS, KEY_PROMPT_MESSAGE, EditQuestion.Text); | ||
1467 | + WriteString(LS, KEY_PROMPT_STYLE, GetPromptQuestionStringFromCGQuestion); | ||
1468 | + end; | ||
1462 | end | 1469 | end |
1463 | else | 1470 | else |
1464 | begin | 1471 | begin |
@@ -1468,8 +1475,8 @@ begin | @@ -1468,8 +1475,8 @@ begin | ||
1468 | begin | 1475 | begin |
1469 | LS := SEC_CONDITION+IntToStr(ComboCurrentCondition.ItemIndex+1); | 1476 | LS := SEC_CONDITION+IntToStr(ComboCurrentCondition.ItemIndex+1); |
1470 | EditQuestion.Text:=''; | 1477 | EditQuestion.Text:=''; |
1471 | - WriteString(LS, KEY_PROMPT_MESSAGE, ''); | ||
1472 | - WriteString(LS, KEY_PROMPT_STYLE, ''); | 1478 | + DeleteKey(LS, KEY_PROMPT_MESSAGE); |
1479 | + DeleteKey(LS, KEY_PROMPT_STYLE); | ||
1473 | end; | 1480 | end; |
1474 | CGQuestion.Checked[0] := False; | 1481 | CGQuestion.Checked[0] := False; |
1475 | CGQuestion.Checked[1] := False; | 1482 | CGQuestion.Checked[1] := False; |
experiment_designer/lib/x86_64-linux/experiment_designer.compiled
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <CONFIG> | 2 | <CONFIG> |
3 | <Compiler Value="/usr/bin/fpc" Date="1449313866"/> | 3 | <Compiler Value="/usr/bin/fpc" Date="1449313866"/> |
4 | - <Params Value=" -MObjFPC -Scghi -Cg -O1 -Xs -l -vewnhibq -Fi/home/rafael/git/sc_split/experiment_designer/lib/x86_64-linux -Fl/opt/gnome/lib -Fu/home/rafael/git/sc_split/experiment_runner/units -Fu/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux/gtk2 -Fu/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux -Fu/usr/share/lazarus/1.6.2/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/1.6.2/packager/units/x86_64-linux -Fu/home/rafael/git/sc_split/experiment_designer/ -FU/home/rafael/git/sc_split/experiment_designer/lib/x86_64-linux/ -dLCL -dLCLgtk2 experiment_designer.lpr"/> | 4 | + <Params Value=" -MObjFPC -Scghi -Cg -O1 -Xs -l -vewnhibq -Fi/home/rafael/git/free-mtrix/experiment_designer/lib/x86_64-linux -Fl/opt/gnome/lib -Fu/home/rafael/git/free-mtrix/experiment_runner/units -Fu/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux/gtk2 -Fu/usr/share/lazarus/1.6.2/lcl/units/x86_64-linux -Fu/usr/share/lazarus/1.6.2/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/1.6.2/packager/units/x86_64-linux -Fu/home/rafael/git/free-mtrix/experiment_designer/ -FU/home/rafael/git/free-mtrix/experiment_designer/lib/x86_64-linux/ -dLCL -dLCLgtk2 experiment_designer.lpr"/> |
5 | </CONFIG> | 5 | </CONFIG> |