File: main.lfm

package info (click to toggle)
lazarus 1.2.4%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 170,220 kB
  • ctags: 115,165
  • sloc: pascal: 1,386,898; xml: 257,878; sh: 2,935; java: 603; makefile: 549; perl: 297; sql: 174; ansic: 137
file content (352 lines) | stat: -rw-r--r-- 9,003 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
object Form1: TForm1
  Left = 529
  Height = 511
  Top = 174
  Width = 590
  Caption = 'Form1'
  ClientHeight = 511
  ClientWidth = 590
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  Position = poScreenCenter
  LCLVersion = '1.3'
  object PageControl1: TPageControl
    Left = 0
    Height = 511
    Top = 0
    Width = 590
    ActivePage = TabSheet1
    Align = alClient
    TabIndex = 0
    TabOrder = 0
    object TabSheet1: TTabSheet
      Caption = 'Basic'
      ClientHeight = 483
      ClientWidth = 582
      object pnControls: TPanel
        Left = 0
        Height = 134
        Top = 349
        Width = 582
        Align = alBottom
        ClientHeight = 134
        ClientWidth = 582
        TabOrder = 0
        object lblMarginY: TLabel
          Left = 8
          Height = 15
          Top = 33
          Width = 48
          Caption = 'Y margin'
          ParentColor = False
        end
        object seMarginY: TSpinEdit
          Left = 68
          Height = 23
          Top = 33
          Width = 54
          MaxValue = 20
          OnChange = seMarginYChange
          TabOrder = 0
          Value = 4
        end
        object seSymbolWidth: TSpinEdit
          Left = 212
          Height = 23
          Top = 8
          Width = 54
          MaxValue = 50
          OnChange = seSymbolWidthChange
          TabOrder = 1
          Value = 20
        end
        object lblSymbolWidth: TLabel
          Left = 128
          Height = 15
          Top = 8
          Width = 73
          Caption = 'Symbol width'
          ParentColor = False
        end
        object rgAlignment: TRadioGroup
          Left = 283
          Height = 132
          Top = 1
          Width = 298
          Align = alRight
          AutoFill = True
          Caption = ' Alignment '
          ChildSizing.LeftRightSpacing = 6
          ChildSizing.TopBottomSpacing = 6
          ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
          ChildSizing.EnlargeVertical = crsHomogenousChildResize
          ChildSizing.ShrinkHorizontal = crsScaleChilds
          ChildSizing.ShrinkVertical = crsScaleChilds
          ChildSizing.Layout = cclTopToBottomThenLeftToRight
          ChildSizing.ControlsPerLine = 3
          ClientHeight = 114
          ClientWidth = 294
          Columns = 3
          ItemIndex = 6
          Items.Strings = (
            'TopLeft'
            'CenterLeft'
            'BottomLeft'
            'TopCenter'
            ''
            'BottomCenter'
            'TopRight'
            'CenterRight'
            'BottomRight'
          )
          OnClick = rgAlignmentClick
          TabOrder = 2
        end
        object cbUseSidebar: TCheckBox
          Left = 8
          Height = 19
          Top = 60
          Width = 59
          Caption = 'Sidebar'
          Checked = True
          OnChange = cbUseSidebarChange
          State = cbChecked
          TabOrder = 3
        end
        object lblSpacing: TLabel
          Left = 128
          Height = 15
          Top = 33
          Width = 42
          Caption = 'Spacing'
          ParentColor = False
        end
        object seSpacing: TSpinEdit
          Left = 212
          Height = 23
          Top = 33
          Width = 54
          MaxValue = 20
          OnChange = seSpacingChange
          TabOrder = 4
          Value = 4
        end
        object lblMarginX: TLabel
          Left = 8
          Height = 15
          Top = 8
          Width = 48
          Caption = 'X margin'
          ParentColor = False
        end
        object seMarginX: TSpinEdit
          Left = 68
          Height = 23
          Top = 8
          Width = 54
          MaxValue = 20
          OnChange = seMarginXChange
          TabOrder = 5
          Value = 4
        end
        object cbSeries: TComboBox
          Left = 102
          Height = 22
          Top = 91
          Width = 164
          ItemHeight = 16
          OnDrawItem = cbSeriesDrawItem
          ReadOnly = True
          Style = csOwnerDrawFixed
          TabOrder = 6
        end
        object lblColumnCount: TLabel
          Left = 128
          Height = 15
          Top = 60
          Width = 48
          Caption = 'Columns'
          ParentColor = False
        end
        object seColumnCount: TSpinEdit
          Left = 212
          Height = 23
          Top = 60
          Width = 54
          MinValue = 1
          OnChange = seColumnCountChange
          TabOrder = 7
          Value = 1
        end
        object cbByRows: TCheckBox
          Left = 8
          Height = 19
          Top = 84
          Width = 61
          Caption = 'By rows'
          OnChange = cbByRowsChange
          TabOrder = 8
        end
        object cbGrid: TCheckBox
          Left = 8
          Height = 19
          Top = 108
          Width = 42
          Caption = 'Grid'
          OnChange = cbGridChange
          TabOrder = 9
        end
      end
      object Chart1: TChart
        Left = 0
        Height = 349
        Top = 0
        Width = 582
        AxisList = <        
          item
            Visible = False
            Minors = <>
            Title.LabelFont.Orientation = 900
          end        
          item
            Visible = False
            Alignment = calBottom
            Minors = <>
          end>
        BackColor = clSkyBlue
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Legend.BackgroundBrush.Color = clMoneyGreen
        Legend.GridHorizontal.Style = psDot
        Legend.GridVertical.Style = psDot
        Legend.GroupFont.Style = [fsBold]
        Legend.GroupTitles.Strings = (
          'Pie'
        )
        Legend.Visible = True
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Align = alClient
        Color = clOlive
        ParentColor = False
        object Chart1LineSeries1: TLineSeries
          Title = 'Line'
          LinePen.Color = clRed
          Pointer.Brush.Color = clRed
          ShowPoints = True
        end
        object Chart1AreaSeries1: TAreaSeries
          Title = 'Area'
          AreaBrush.Color = clGreen
          AreaBrush.Style = bsCross
          Source = RandomChartSource1
        end
        object Chart1PieSeries1: TPieSeries
          Legend.Format = '%2:s %1:.2f%%'
          Legend.GroupIndex = 0
          Legend.Multiplicity = lmPoint
          Marks.Format = '%2:s'
          Marks.Style = smsLabel
          Title = 'Pie'
          Exploded = True
          Source = ListChartSource2
        end
        object Chart1FuncSeries1: TFuncSeries
          Legend.Order = 1
          Legend.UserItemsCount = 2
          Legend.OnDraw = Chart1FuncSeries1DrawLegend
          Extent.UseXMax = True
          Extent.UseXMin = True
          Extent.XMax = 5
          Title = 'Function'
          OnCalculate = Chart1FuncSeries1Calculate
          Pen.Color = clPurple
          Pen.Width = 2
        end
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'OwnerDraw'
      ClientHeight = 483
      ClientWidth = 582
      object Chart2: TChart
        Left = 0
        Height = 483
        Top = 0
        Width = 582
        AxisList = <        
          item
            Grid.Color = clSilver
            Minors = <>
            Title.LabelFont.Height = -16
            Title.LabelFont.Orientation = 900
            Title.LabelFont.Style = [fsBold]
            Title.Visible = True
            Title.Caption = 'y axis'
          end        
          item
            Grid.Visible = False
            Alignment = calBottom
            Minors = <>
            Title.LabelFont.Height = -16
            Title.LabelFont.Style = [fsBold]
            Title.Visible = True
            Title.Caption = 'x axis'
          end>
        BackColor = clWhite
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Legend.Visible = True
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        OnDrawLegend = Chart2DrawLegend
        Align = alClient
        ParentColor = False
        object GradientLineSeries: TLineSeries
          Title = '1.0'
          LineType = ltNone
          Pointer.Style = psCircle
          ShowPoints = True
        end
      end
    end
  end
  object RandomChartSource1: TRandomChartSource
    PointsNumber = 7
    RandSeed = 104675296
    XMax = 10
    XMin = 1
    YMax = 10
    YMin = 1
    left = 380
    top = 112
  end
  object ListChartSource1: TListChartSource
    DataPoints.Strings = (
      '0|0|?|'
      '1|2|$00FF00|'
      '2|5|?|'
      '3|1|?|'
      '4|6|?|'
    )
    left = 380
    top = 168
  end
  object ListChartSource2: TListChartSource
    DataPoints.Strings = (
      '0|5|?|abcc'
      '0|6|?|def'
      '0.20000000000000001|4|?|пример'
      '0|7|?|ещё'
      '0|2|?|два слова'
    )
    left = 380
    top = 228
  end
end