File: Main.lfm

package info (click to toggle)
lazarus 1.6.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 172,444 kB
  • ctags: 124,173
  • sloc: pascal: 1,528,777; xml: 260,232; sh: 3,008; java: 603; makefile: 512; perl: 297; sql: 222; ansic: 137
file content (324 lines) | stat: -rw-r--r-- 7,771 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
object Form1: TForm1
  Left = 605
  Height = 494
  Top = 364
  Width = 691
  Caption = 'Form1'
  ClientHeight = 494
  ClientWidth = 691
  OnCreate = FormCreate
  Position = poScreenCenter
  LCLVersion = '1.1'
  object PageControl1: TPageControl
    Left = 0
    Height = 494
    Top = 0
    Width = 691
    ActivePage = tsFast
    Align = alClient
    TabIndex = 0
    TabOrder = 0
    OnChange = PageControl1Change
    object tsFast: TTabSheet
      Caption = 'Fast drawing'
      ClientHeight = 468
      ClientWidth = 683
      object chFast: TChart
        Left = 0
        Height = 430
        Top = 38
        Width = 683
        AxisList = <        
          item
            Minors = <>
            Title.LabelFont.Orientation = 900
          end        
          item
            Alignment = calBottom
            Minors = <>
          end>
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Toolset = ChartToolset1
        Align = alClient
        DoubleBuffered = True
        ParentColor = False
        object chFastLineSeries1: TLineSeries
          LinePen.Color = clTeal
          LinePen.Width = 3
          Source = RandomChartSource1
        end
        object chFastConstantLine1: TConstantLine
          LineStyle = lsVertical
          Pen.Color = clAqua
          Pen.Width = 2
          Position = 0
          ZPosition = 1
        end
      end
      object Panel1: TPanel
        Left = 0
        Height = 38
        Top = 0
        Width = 683
        Align = alTop
        ClientHeight = 38
        ClientWidth = 683
        TabOrder = 1
        object cbLineType: TComboBox
          Left = 8
          Height = 21
          Top = 8
          Width = 96
          ItemHeight = 13
          ItemIndex = 1
          Items.Strings = (
            'None'
            'Previous'
            'Origin'
            'StepXY'
            'StepYX'
          )
          OnChange = cbLineTypeChange
          Style = csDropDownList
          TabOrder = 0
          Text = 'Previous'
        end
        object cb3D: TCheckBox
          Left = 112
          Height = 17
          Top = 12
          Width = 33
          Caption = '3D'
          OnChange = cb3DChange
          TabOrder = 1
        end
        object cbRotated: TCheckBox
          Left = 152
          Height = 17
          Top = 12
          Width = 59
          Caption = 'Rotated'
          OnChange = cbRotatedChange
          TabOrder = 2
        end
        object btnAddSeries: TButton
          Left = 372
          Height = 25
          Top = 6
          Width = 31
          Caption = 'Add'
          OnClick = btnAddSeriesClick
          TabOrder = 3
        end
        object edTime: TEdit
          Left = 496
          Height = 21
          Top = 6
          Width = 76
          Alignment = taRightJustify
          TabOrder = 4
        end
        object btnRefresh: TButton
          Left = 404
          Height = 25
          Top = 6
          Width = 88
          Caption = 'Timed refresh:'
          OnClick = btnRefreshClick
          TabOrder = 5
        end
        object cbSorted: TCheckBox
          Left = 216
          Height = 17
          Top = 12
          Width = 52
          Caption = 'Sorted'
          OnChange = cbSortedChange
          TabOrder = 6
        end
        object lblPointsCount: TLabel
          Left = 282
          Height = 1
          Top = 14
          Width = 1
          ParentColor = False
        end
      end
    end
    object tsPointers: TTabSheet
      Caption = 'Pointers'
      ClientHeight = 468
      ClientWidth = 683
      object chPointers: TChart
        Left = 0
        Height = 468
        Top = 0
        Width = 513
        AxisList = <        
          item
            Minors = <>
            Title.LabelFont.Orientation = 900
          end        
          item
            Alignment = calBottom
            Minors = <>
          end>
        AxisVisible = False
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Margins.Left = 20
        Margins.Right = 20
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Align = alClient
        ParentColor = False
      end
      object pnlPointers: TPanel
        Left = 513
        Height = 468
        Top = 0
        Width = 170
        Align = alRight
        ClientHeight = 468
        ClientWidth = 170
        TabOrder = 1
        object sePointerSize: TSpinEdit
          Left = 49
          Height = 21
          Top = 6
          Width = 50
          OnChange = sePointerSizeChange
          TabOrder = 0
          Value = 4
        end
        object lblPointerSize: TLabel
          Left = 9
          Height = 13
          Top = 10
          Width = 19
          Caption = 'Size'
          ParentColor = False
        end
      end
    end
    object tsOscilloscope: TTabSheet
      Caption = 'Oscilloscope'
      ClientHeight = 453
      ClientWidth = 683
      object chOscillator: TChart
        Left = 0
        Height = 453
        Top = 0
        Width = 683
        AxisList = <        
          item
            Grid.Color = clMedGray
            Minors = <>
            Range.Max = 2
            Range.Min = -2
            Range.UseMax = True
            Range.UseMin = True
            Title.LabelFont.Orientation = 900
          end        
          item
            Grid.Color = clMedGray
            Alignment = calBottom
            Minors = <>
            Transformations = catOscillator
          end>
        BackColor = clBlack
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Align = alClient
        DoubleBuffered = True
        ParentColor = False
        object chOscillatorLineSeries1: TLineSeries
          AxisIndexX = 1
          LinePen.Color = clLime
          LinePen.Width = 2
          LineType = ltStepXY
          Source = lcsOscillator
        end
      end
    end
  end
  object RandomChartSource1: TRandomChartSource
    PointsNumber = 25
    RandSeed = 840176578
    XMax = 20
    XMin = -10
    YMax = 8
    YMin = 1
    left = 464
    top = 208
  end
  object ChartToolset1: TChartToolset
    left = 464
    top = 264
    object ChartToolset1DataPointDragTool1: TDataPointDragTool
      Shift = [ssLeft]
      AffectedSeries = '1'
    end
    object ChartToolset1ZoomDragTool1: TZoomDragTool
      Shift = [ssShift, ssLeft]
      RatioLimit = zrlFixedY
    end
    object ChartToolset1PanDragTool1: TPanDragTool
      Shift = [ssRight]
    end
  end
  object ccsAvg: TCalculatedChartSource
    AccumulationMethod = camAverage
    AccumulationRange = 5
    Origin = RandomChartSource1
    left = 464
    top = 108
  end
  object ccsSum: TCalculatedChartSource
    AccumulationMethod = camSum
    AccumulationRange = 0
    Origin = RandomChartSource1
    left = 464
    top = 52
  end
  object ccsDerivative: TCalculatedChartSource
    AccumulationMethod = camDerivative
    Origin = RandomChartSource1
    left = 464
    top = 160
  end
  object lcsOscillator: TListChartSource
    DataPoints.Strings = (
      '0|0|?|'
    )
    left = 464
    top = 316
  end
  object timOscilloscope: TTimer
    Enabled = False
    Interval = 150
    OnTimer = timOscilloscopeTimer
    left = 408
    top = 376
  end
  object catOscillator: TChartAxisTransformations
    left = 464
    top = 376
    object catOscillatorLinearAxisTransform1: TLinearAxisTransform
    end
  end
end