WebGUIAPI 1.2607.201__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- WebGUIAPI/WebGUIbanner.cp310-win_amd64.pyd +0 -0
- WebGUIAPI/WebGUIbanner.pyi +29 -0
- WebGUIAPI/WebGUItchart.cp310-win_amd64.pyd +0 -0
- WebGUIAPI/WebGUItchart.pyi +146 -0
- WebGUIAPI/WebGUIvcl.cp310-win_amd64.pyd +0 -0
- WebGUIAPI/WebGUIvcl.pyi +553 -0
- WebGUIAPI/__init__.py +35 -0
- WebGUIAPI/_binary_gate.cp310-win_amd64.pyd +0 -0
- WebGUIAPI/out/WebGUIAPI/WebGUIbanner.pyi +29 -0
- WebGUIAPI/out/WebGUIAPI/WebGUItchart.pyi +146 -0
- WebGUIAPI/out/WebGUIAPI/WebGUIvcl.pyi +553 -0
- webguiapi-1.2607.201.dist-info/METADATA +114 -0
- webguiapi-1.2607.201.dist-info/RECORD +16 -0
- webguiapi-1.2607.201.dist-info/WHEEL +5 -0
- webguiapi-1.2607.201.dist-info/licenses/LICENSE +20 -0
- webguiapi-1.2607.201.dist-info/top_level.txt +1 -0
WebGUIAPI/WebGUIvcl.pyi
ADDED
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
import types
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from enum import Enum
|
|
4
|
+
|
|
5
|
+
class TMouseButton(Enum):
|
|
6
|
+
mbLeft = 0
|
|
7
|
+
mbMiddle = 1
|
|
8
|
+
mbRight = 2
|
|
9
|
+
|
|
10
|
+
class TShiftState(Enum):
|
|
11
|
+
ssShift = 'Shift'
|
|
12
|
+
ssAlt = 'Alt'
|
|
13
|
+
ssCtrl = 'Control'
|
|
14
|
+
ssMeta = 'Meta'
|
|
15
|
+
|
|
16
|
+
class TMouseEventArgs:
|
|
17
|
+
raw: Incomplete
|
|
18
|
+
X: Incomplete
|
|
19
|
+
Y: Incomplete
|
|
20
|
+
Button: Incomplete
|
|
21
|
+
Shift: Incomplete
|
|
22
|
+
def __init__(self, e) -> None: ...
|
|
23
|
+
|
|
24
|
+
class TKeyEventArgs:
|
|
25
|
+
raw: Incomplete
|
|
26
|
+
Key: Incomplete
|
|
27
|
+
Code: Incomplete
|
|
28
|
+
Shift: Incomplete
|
|
29
|
+
def __init__(self, e) -> None: ...
|
|
30
|
+
|
|
31
|
+
class TImageDisplayStyle(Enum):
|
|
32
|
+
Normal = ''
|
|
33
|
+
FadeIn = 'fade-in'
|
|
34
|
+
ZoomIn = 'zoom-in'
|
|
35
|
+
SlideUp = 'slide-up'
|
|
36
|
+
Bounce = 'bounce-in'
|
|
37
|
+
|
|
38
|
+
class TComponent:
|
|
39
|
+
parent: Incomplete
|
|
40
|
+
children: Incomplete
|
|
41
|
+
Tag: int
|
|
42
|
+
onClick: Incomplete
|
|
43
|
+
onMouseMove: Incomplete
|
|
44
|
+
onMouseKeyDown: Incomplete
|
|
45
|
+
onMouseKeyUp: Incomplete
|
|
46
|
+
onKeyDown: Incomplete
|
|
47
|
+
onKeyUp: Incomplete
|
|
48
|
+
def __init__(self, parent=None) -> None: ...
|
|
49
|
+
def __enter__(self): ...
|
|
50
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None) -> None: ...
|
|
51
|
+
@property
|
|
52
|
+
def ClassName(self): ...
|
|
53
|
+
@property
|
|
54
|
+
def Enabled(self): ...
|
|
55
|
+
@Enabled.setter
|
|
56
|
+
def Enabled(self, v: bool): ...
|
|
57
|
+
@property
|
|
58
|
+
def Visible(self): ...
|
|
59
|
+
@Visible.setter
|
|
60
|
+
def Visible(self, v: bool): ...
|
|
61
|
+
@property
|
|
62
|
+
def Align(self): ...
|
|
63
|
+
@Align.setter
|
|
64
|
+
def Align(self, v) -> None: ...
|
|
65
|
+
@property
|
|
66
|
+
def Left(self): ...
|
|
67
|
+
@Left.setter
|
|
68
|
+
def Left(self, v) -> None: ...
|
|
69
|
+
@property
|
|
70
|
+
def Top(self): ...
|
|
71
|
+
@Top.setter
|
|
72
|
+
def Top(self, v) -> None: ...
|
|
73
|
+
@property
|
|
74
|
+
def FontName(self): ...
|
|
75
|
+
@FontName.setter
|
|
76
|
+
def FontName(self, v) -> None: ...
|
|
77
|
+
@property
|
|
78
|
+
def FontSize(self): ...
|
|
79
|
+
@FontSize.setter
|
|
80
|
+
def FontSize(self, v) -> None: ...
|
|
81
|
+
@property
|
|
82
|
+
def FontColor(self): ...
|
|
83
|
+
@FontColor.setter
|
|
84
|
+
def FontColor(self, v) -> None: ...
|
|
85
|
+
@property
|
|
86
|
+
def Color(self): ...
|
|
87
|
+
@Color.setter
|
|
88
|
+
def Color(self, v) -> None: ...
|
|
89
|
+
@property
|
|
90
|
+
def Width(self): ...
|
|
91
|
+
@Width.setter
|
|
92
|
+
def Width(self, v) -> None: ...
|
|
93
|
+
@property
|
|
94
|
+
def Height(self): ...
|
|
95
|
+
@Height.setter
|
|
96
|
+
def Height(self, v) -> None: ...
|
|
97
|
+
@property
|
|
98
|
+
def WidthR(self): ...
|
|
99
|
+
@WidthR.setter
|
|
100
|
+
def WidthR(self, v) -> None: ...
|
|
101
|
+
@property
|
|
102
|
+
def HeightR(self): ...
|
|
103
|
+
@HeightR.setter
|
|
104
|
+
def HeightR(self, v) -> None: ...
|
|
105
|
+
@property
|
|
106
|
+
def Width(self): ...
|
|
107
|
+
@Width.setter
|
|
108
|
+
def Width(self, v) -> None: ...
|
|
109
|
+
@property
|
|
110
|
+
def Height(self): ...
|
|
111
|
+
@Height.setter
|
|
112
|
+
def Height(self, v) -> None: ...
|
|
113
|
+
|
|
114
|
+
class TForm:
|
|
115
|
+
url: Incomplete
|
|
116
|
+
is_kiosk: Incomplete
|
|
117
|
+
children: Incomplete
|
|
118
|
+
ui: Incomplete
|
|
119
|
+
def __init__(self, url: str = '/', title: str = 'VCL Form', kiosk: bool = False, favicon=None) -> None: ...
|
|
120
|
+
def Kiosk_Mode(self) -> None: ...
|
|
121
|
+
def Show(self, new_tab: bool = False) -> None: ...
|
|
122
|
+
def Close(self) -> None: ...
|
|
123
|
+
@property
|
|
124
|
+
def FormGUID(self): ...
|
|
125
|
+
@property
|
|
126
|
+
def Caption(self): ...
|
|
127
|
+
@Caption.setter
|
|
128
|
+
def Caption(self, value) -> None: ...
|
|
129
|
+
def onCreate(self) -> None: ...
|
|
130
|
+
@property
|
|
131
|
+
def icon(self): ...
|
|
132
|
+
@icon.setter
|
|
133
|
+
def icon(self, url) -> None: ...
|
|
134
|
+
|
|
135
|
+
class TLabel(TComponent):
|
|
136
|
+
onClick: Incomplete
|
|
137
|
+
ui: Incomplete
|
|
138
|
+
def __init__(self, parent=None, caption: str = '', onClick=None) -> None: ...
|
|
139
|
+
@property
|
|
140
|
+
def Caption(self): ...
|
|
141
|
+
@Caption.setter
|
|
142
|
+
def Caption(self, value) -> None: ...
|
|
143
|
+
|
|
144
|
+
class TEdit(TComponent):
|
|
145
|
+
onChange: Incomplete
|
|
146
|
+
ui: Incomplete
|
|
147
|
+
def __init__(self, parent=None, text: str = '') -> None: ...
|
|
148
|
+
@property
|
|
149
|
+
def text(self): ...
|
|
150
|
+
@text.setter
|
|
151
|
+
def text(self, value) -> None: ...
|
|
152
|
+
|
|
153
|
+
class TMemo(TComponent):
|
|
154
|
+
onChange: Incomplete
|
|
155
|
+
ui: Incomplete
|
|
156
|
+
Lines: Incomplete
|
|
157
|
+
def __init__(self, parent=None) -> None: ...
|
|
158
|
+
@property
|
|
159
|
+
def Text(self): ...
|
|
160
|
+
@Text.setter
|
|
161
|
+
def Text(self, value) -> None: ...
|
|
162
|
+
|
|
163
|
+
class TButtonShape(Enum):
|
|
164
|
+
Rectangle = 'Rectangle'
|
|
165
|
+
RoundRect = 'RoundRect'
|
|
166
|
+
Circle = 'Circle'
|
|
167
|
+
|
|
168
|
+
class TButton(TComponent):
|
|
169
|
+
onClick: Incomplete
|
|
170
|
+
ui: Incomplete
|
|
171
|
+
def __init__(self, parent=None, caption: str = 'Button', onClick=None) -> None: ...
|
|
172
|
+
@property
|
|
173
|
+
def Shape(self) -> TButtonShape: ...
|
|
174
|
+
@Shape.setter
|
|
175
|
+
def Shape(self, v: TButtonShape): ...
|
|
176
|
+
@property
|
|
177
|
+
def Caption(self): ...
|
|
178
|
+
@Caption.setter
|
|
179
|
+
def Caption(self, value) -> None: ...
|
|
180
|
+
|
|
181
|
+
class TCheckBox(TComponent):
|
|
182
|
+
onClick: Incomplete
|
|
183
|
+
onChange: Incomplete
|
|
184
|
+
ui: Incomplete
|
|
185
|
+
def __init__(self, parent=None, caption: str = 'CheckBox', onClick=None, onChange=None) -> None: ...
|
|
186
|
+
@property
|
|
187
|
+
def Checked(self) -> bool: ...
|
|
188
|
+
@Checked.setter
|
|
189
|
+
def Checked(self, v: bool): ...
|
|
190
|
+
@property
|
|
191
|
+
def Caption(self): ...
|
|
192
|
+
@Caption.setter
|
|
193
|
+
def Caption(self, value) -> None: ...
|
|
194
|
+
|
|
195
|
+
class TRadioButton(TComponent):
|
|
196
|
+
onClick: Incomplete
|
|
197
|
+
Tag: int
|
|
198
|
+
ui: Incomplete
|
|
199
|
+
def __init__(self, parent=None, caption: str = 'RadioButton') -> None: ...
|
|
200
|
+
@property
|
|
201
|
+
def ButtonColor(self): ...
|
|
202
|
+
@ButtonColor.setter
|
|
203
|
+
def ButtonColor(self, value) -> None: ...
|
|
204
|
+
@property
|
|
205
|
+
def Checked(self) -> bool: ...
|
|
206
|
+
@Checked.setter
|
|
207
|
+
def Checked(self, v: bool): ...
|
|
208
|
+
@property
|
|
209
|
+
def Caption(self): ...
|
|
210
|
+
@Caption.setter
|
|
211
|
+
def Caption(self, value) -> None: ...
|
|
212
|
+
|
|
213
|
+
class TComboBox(TComponent):
|
|
214
|
+
onChange: Incomplete
|
|
215
|
+
ui: Incomplete
|
|
216
|
+
def __init__(self, parent=None, items=None) -> None: ...
|
|
217
|
+
@property
|
|
218
|
+
def ItemIndex(self): ...
|
|
219
|
+
@ItemIndex.setter
|
|
220
|
+
def ItemIndex(self, index) -> None: ...
|
|
221
|
+
|
|
222
|
+
class TStringGrid(TComponent):
|
|
223
|
+
ui: Incomplete
|
|
224
|
+
def __init__(self, parent=None, columns=None) -> None: ...
|
|
225
|
+
def set_data(self, rows) -> None: ...
|
|
226
|
+
|
|
227
|
+
class TPanel(TComponent):
|
|
228
|
+
panel_ui: Incomplete
|
|
229
|
+
ui: Incomplete
|
|
230
|
+
def __init__(self, parent=None, width: int = 300, height: int = 200) -> None: ...
|
|
231
|
+
@property
|
|
232
|
+
def Visible(self): ...
|
|
233
|
+
@Visible.setter
|
|
234
|
+
def Visible(self, v: bool): ...
|
|
235
|
+
@property
|
|
236
|
+
def Sizeable(self): ...
|
|
237
|
+
@Sizeable.setter
|
|
238
|
+
def Sizeable(self, v: bool): ...
|
|
239
|
+
@property
|
|
240
|
+
def DragDrop(self): ...
|
|
241
|
+
@DragDrop.setter
|
|
242
|
+
def DragDrop(self, value: bool): ...
|
|
243
|
+
def handle_sync_all(self, l, t, w, h) -> None: ...
|
|
244
|
+
@property
|
|
245
|
+
def Opacity(self): ...
|
|
246
|
+
@Opacity.setter
|
|
247
|
+
def Opacity(self, value: int): ...
|
|
248
|
+
@property
|
|
249
|
+
def ZOrder(self): ...
|
|
250
|
+
@ZOrder.setter
|
|
251
|
+
def ZOrder(self, value: int): ...
|
|
252
|
+
@property
|
|
253
|
+
def BorderRadius(self): ...
|
|
254
|
+
@BorderRadius.setter
|
|
255
|
+
def BorderRadius(self, value: int): ...
|
|
256
|
+
|
|
257
|
+
class TImage(TComponent):
|
|
258
|
+
onLoadImage: Incomplete
|
|
259
|
+
onLoadImageFinish: Incomplete
|
|
260
|
+
onClick: Incomplete
|
|
261
|
+
Align: Incomplete
|
|
262
|
+
Stretch: bool
|
|
263
|
+
DisplayStyle: Incomplete
|
|
264
|
+
wrapper: Incomplete
|
|
265
|
+
ui: Incomplete
|
|
266
|
+
spinner: Incomplete
|
|
267
|
+
img_obj: Incomplete
|
|
268
|
+
child_layer: Incomplete
|
|
269
|
+
def __init__(self, parent=None, src: str = '', width=None, height=None) -> None: ...
|
|
270
|
+
def add_child_style(self, child) -> None: ...
|
|
271
|
+
def Clear(self) -> None: ...
|
|
272
|
+
def LoadImage(self, src) -> None: ...
|
|
273
|
+
@property
|
|
274
|
+
def Width(self): ...
|
|
275
|
+
@Width.setter
|
|
276
|
+
def Width(self, value) -> None: ...
|
|
277
|
+
@property
|
|
278
|
+
def Height(self): ...
|
|
279
|
+
@Height.setter
|
|
280
|
+
def Height(self, value) -> None: ...
|
|
281
|
+
|
|
282
|
+
class TTimer:
|
|
283
|
+
onTimer: Incomplete
|
|
284
|
+
def __init__(self, interval: float = 1.0) -> None: ...
|
|
285
|
+
@property
|
|
286
|
+
def Enabled(self): ...
|
|
287
|
+
@Enabled.setter
|
|
288
|
+
def Enabled(self, value: bool): ...
|
|
289
|
+
@property
|
|
290
|
+
def Interval(self): ...
|
|
291
|
+
@Interval.setter
|
|
292
|
+
def Interval(self, value) -> None: ...
|
|
293
|
+
def start(self) -> None: ...
|
|
294
|
+
def stop(self) -> None: ...
|
|
295
|
+
|
|
296
|
+
class TVCLLayoutBase(TComponent):
|
|
297
|
+
def __init__(self, parent=None) -> None: ...
|
|
298
|
+
@property
|
|
299
|
+
def Width(self): ...
|
|
300
|
+
@Width.setter
|
|
301
|
+
def Width(self, value) -> None: ...
|
|
302
|
+
@property
|
|
303
|
+
def Height(self): ...
|
|
304
|
+
@Height.setter
|
|
305
|
+
def Height(self, value) -> None: ...
|
|
306
|
+
@property
|
|
307
|
+
def Color(self): ...
|
|
308
|
+
@Color.setter
|
|
309
|
+
def Color(self, value) -> None: ...
|
|
310
|
+
@property
|
|
311
|
+
def Gap_Top(self): ...
|
|
312
|
+
@Gap_Top.setter
|
|
313
|
+
def Gap_Top(self, v) -> None: ...
|
|
314
|
+
@property
|
|
315
|
+
def Gap_Bottom(self): ...
|
|
316
|
+
@Gap_Bottom.setter
|
|
317
|
+
def Gap_Bottom(self, v) -> None: ...
|
|
318
|
+
@property
|
|
319
|
+
def Gap_Left(self): ...
|
|
320
|
+
@Gap_Left.setter
|
|
321
|
+
def Gap_Left(self, v) -> None: ...
|
|
322
|
+
@property
|
|
323
|
+
def Gap_Right(self): ...
|
|
324
|
+
@Gap_Right.setter
|
|
325
|
+
def Gap_Right(self, v) -> None: ...
|
|
326
|
+
|
|
327
|
+
class THLayout(TVCLLayoutBase):
|
|
328
|
+
ui: Incomplete
|
|
329
|
+
def __init__(self, parent=None) -> None: ...
|
|
330
|
+
def add_child_style(self, child) -> None: ...
|
|
331
|
+
|
|
332
|
+
class TVLayout(TVCLLayoutBase):
|
|
333
|
+
ui: Incomplete
|
|
334
|
+
def __init__(self, parent=None) -> None: ...
|
|
335
|
+
def add_child_style(self, child) -> None: ...
|
|
336
|
+
|
|
337
|
+
class TGridLayout(TVCLLayoutBase):
|
|
338
|
+
ui: Incomplete
|
|
339
|
+
def __init__(self, parent=None) -> None: ...
|
|
340
|
+
@property
|
|
341
|
+
def Cols(self): ...
|
|
342
|
+
@Cols.setter
|
|
343
|
+
def Cols(self, v) -> None: ...
|
|
344
|
+
@property
|
|
345
|
+
def Rows(self): ...
|
|
346
|
+
@Rows.setter
|
|
347
|
+
def Rows(self, v) -> None: ...
|
|
348
|
+
def Grid(self, row, col): ...
|
|
349
|
+
def add_child_style(self, child) -> None: ...
|
|
350
|
+
|
|
351
|
+
class TFrame(TComponent):
|
|
352
|
+
ui: Incomplete
|
|
353
|
+
def __init__(self, parent=None) -> None: ...
|
|
354
|
+
def onCreate(self) -> None: ...
|
|
355
|
+
|
|
356
|
+
class TStrings:
|
|
357
|
+
def __init__(self, owner, on_change_callback) -> None: ...
|
|
358
|
+
def __getitem__(self, index): ...
|
|
359
|
+
def __len__(self) -> int: ...
|
|
360
|
+
def Add(self, text): ...
|
|
361
|
+
def Delete(self, index) -> None: ...
|
|
362
|
+
def Clear(self) -> None: ...
|
|
363
|
+
@property
|
|
364
|
+
def Strings(self): ...
|
|
365
|
+
|
|
366
|
+
class TListBox(TComponent):
|
|
367
|
+
onClick: Incomplete
|
|
368
|
+
onMouseDown: Incomplete
|
|
369
|
+
onMouseUp: Incomplete
|
|
370
|
+
ui: Incomplete
|
|
371
|
+
list_container: Incomplete
|
|
372
|
+
Items: Incomplete
|
|
373
|
+
def __init__(self, parent=None) -> None: ...
|
|
374
|
+
@property
|
|
375
|
+
def ItemIndex(self): ...
|
|
376
|
+
@ItemIndex.setter
|
|
377
|
+
def ItemIndex(self, index) -> None: ...
|
|
378
|
+
@property
|
|
379
|
+
def ItemHeight(self): ...
|
|
380
|
+
@ItemHeight.setter
|
|
381
|
+
def ItemHeight(self, v) -> None: ...
|
|
382
|
+
@property
|
|
383
|
+
def SelectColor(self): ...
|
|
384
|
+
@SelectColor.setter
|
|
385
|
+
def SelectColor(self, v) -> None: ...
|
|
386
|
+
@property
|
|
387
|
+
def SelectTextColor(self): ...
|
|
388
|
+
@SelectTextColor.setter
|
|
389
|
+
def SelectTextColor(self, v) -> None: ...
|
|
390
|
+
@property
|
|
391
|
+
def Count(self): ...
|
|
392
|
+
|
|
393
|
+
class TCheckBox(TComponent):
|
|
394
|
+
onChange: Incomplete
|
|
395
|
+
onClick: Incomplete
|
|
396
|
+
ui: Incomplete
|
|
397
|
+
def __init__(self, parent=None, caption: str = 'CheckBox') -> None: ...
|
|
398
|
+
@property
|
|
399
|
+
def Checked(self) -> bool: ...
|
|
400
|
+
@Checked.setter
|
|
401
|
+
def Checked(self, v: bool): ...
|
|
402
|
+
@property
|
|
403
|
+
def Caption(self): ...
|
|
404
|
+
@Caption.setter
|
|
405
|
+
def caption(self, value) -> None: ...
|
|
406
|
+
|
|
407
|
+
class TMediaPlayer(TComponent):
|
|
408
|
+
ui_container: Incomplete
|
|
409
|
+
ui: Incomplete
|
|
410
|
+
def __init__(self, parent=None) -> None: ...
|
|
411
|
+
player: Incomplete
|
|
412
|
+
def LoadMedia(self, url: str): ...
|
|
413
|
+
def Play(self) -> None: ...
|
|
414
|
+
def Pause(self) -> None: ...
|
|
415
|
+
@property
|
|
416
|
+
def Autoplay(self): ...
|
|
417
|
+
@Autoplay.setter
|
|
418
|
+
def Autoplay(self, v) -> None: ...
|
|
419
|
+
@property
|
|
420
|
+
def Muted(self): ...
|
|
421
|
+
@Muted.setter
|
|
422
|
+
def Muted(self, v) -> None: ...
|
|
423
|
+
@property
|
|
424
|
+
def Visible(self): ...
|
|
425
|
+
@Visible.setter
|
|
426
|
+
def Visible(self, v: bool): ...
|
|
427
|
+
@property
|
|
428
|
+
def Volume(self): ...
|
|
429
|
+
@Volume.setter
|
|
430
|
+
def Volume(self, value) -> None: ...
|
|
431
|
+
|
|
432
|
+
class TSlideBar(TComponent):
|
|
433
|
+
onChange: Incomplete
|
|
434
|
+
ui: Incomplete
|
|
435
|
+
def __init__(self, parent=None) -> None: ...
|
|
436
|
+
@property
|
|
437
|
+
def Position(self): ...
|
|
438
|
+
@Position.setter
|
|
439
|
+
def Position(self, v) -> None: ...
|
|
440
|
+
@property
|
|
441
|
+
def Min(self): ...
|
|
442
|
+
@Min.setter
|
|
443
|
+
def Min(self, v) -> None: ...
|
|
444
|
+
@property
|
|
445
|
+
def Max(self): ...
|
|
446
|
+
@Max.setter
|
|
447
|
+
def Max(self, v) -> None: ...
|
|
448
|
+
|
|
449
|
+
class TProgressBar(TComponent):
|
|
450
|
+
ui: Incomplete
|
|
451
|
+
def __init__(self, parent=None) -> None: ...
|
|
452
|
+
@property
|
|
453
|
+
def Position(self): ...
|
|
454
|
+
@Position.setter
|
|
455
|
+
def Position(self, v) -> None: ...
|
|
456
|
+
@property
|
|
457
|
+
def Min(self): ...
|
|
458
|
+
@Min.setter
|
|
459
|
+
def Min(self, v) -> None: ...
|
|
460
|
+
@property
|
|
461
|
+
def Max(self): ...
|
|
462
|
+
@Max.setter
|
|
463
|
+
def Max(self, v) -> None: ...
|
|
464
|
+
@property
|
|
465
|
+
def BarColor(self): ...
|
|
466
|
+
@BarColor.setter
|
|
467
|
+
def BarColor(self, v) -> None: ...
|
|
468
|
+
|
|
469
|
+
class TDateComboBox(TComponent):
|
|
470
|
+
onChange: Incomplete
|
|
471
|
+
Tag: int
|
|
472
|
+
PopupWidth: str
|
|
473
|
+
PopupHeight: str
|
|
474
|
+
PopupCentered: bool
|
|
475
|
+
ui: Incomplete
|
|
476
|
+
icon: Incomplete
|
|
477
|
+
picker_container: Incomplete
|
|
478
|
+
date_picker: Incomplete
|
|
479
|
+
def __init__(self, parent=None, date_str: str = '', caption: str = '') -> None: ...
|
|
480
|
+
@property
|
|
481
|
+
def Caption(self): ...
|
|
482
|
+
@Caption.setter
|
|
483
|
+
def Caption(self, value) -> None: ...
|
|
484
|
+
@property
|
|
485
|
+
def Date(self): ...
|
|
486
|
+
@Date.setter
|
|
487
|
+
def Date(self, value) -> None: ...
|
|
488
|
+
|
|
489
|
+
class TTimeComboBox(TComponent):
|
|
490
|
+
onChange: Incomplete
|
|
491
|
+
Tag: int
|
|
492
|
+
PopupWidth: str
|
|
493
|
+
PopupHeight: str
|
|
494
|
+
PopupCentered: bool
|
|
495
|
+
ui: Incomplete
|
|
496
|
+
icon: Incomplete
|
|
497
|
+
picker_container: Incomplete
|
|
498
|
+
time_picker: Incomplete
|
|
499
|
+
def __init__(self, parent=None, time_str: str = '', caption: str = '') -> None: ...
|
|
500
|
+
@property
|
|
501
|
+
def Caption(self): ...
|
|
502
|
+
@Caption.setter
|
|
503
|
+
def Caption(self, value) -> None: ...
|
|
504
|
+
@property
|
|
505
|
+
def Time(self): ...
|
|
506
|
+
@Time.setter
|
|
507
|
+
def Time(self, value) -> None: ...
|
|
508
|
+
|
|
509
|
+
class TTabSheet(TComponent):
|
|
510
|
+
TabSheet: Incomplete
|
|
511
|
+
ui: Incomplete
|
|
512
|
+
def __init__(self, parent=None, caption: str = 'TabSheet') -> None: ...
|
|
513
|
+
def SetIcon(self, icon_url, icon_size: int = 24) -> None: ...
|
|
514
|
+
def SetFont(self, name=None, size=None, color=None) -> None: ...
|
|
515
|
+
@property
|
|
516
|
+
def Caption(self): ...
|
|
517
|
+
@Caption.setter
|
|
518
|
+
def Caption(self, value) -> None: ...
|
|
519
|
+
@property
|
|
520
|
+
def Visible(self): ...
|
|
521
|
+
@Visible.setter
|
|
522
|
+
def Visible(self, value) -> None: ...
|
|
523
|
+
|
|
524
|
+
class TPageControl(TComponent):
|
|
525
|
+
class TabsProxy:
|
|
526
|
+
owner: Incomplete
|
|
527
|
+
def __init__(self, owner) -> None: ...
|
|
528
|
+
@property
|
|
529
|
+
def Count(self): ...
|
|
530
|
+
def Sheet(self, index): ...
|
|
531
|
+
def __getitem__(self, index): ...
|
|
532
|
+
ui: Incomplete
|
|
533
|
+
tabs_ui: Incomplete
|
|
534
|
+
panels_ui: Incomplete
|
|
535
|
+
main_container: Incomplete
|
|
536
|
+
onChange: Incomplete
|
|
537
|
+
Tabs: Incomplete
|
|
538
|
+
FocusColor: Incomplete
|
|
539
|
+
def __init__(self, parent=None) -> None: ...
|
|
540
|
+
ActivePageIndex: int
|
|
541
|
+
def NewTabSheet(self, caption: str = 'New Page'): ...
|
|
542
|
+
@property
|
|
543
|
+
def Enabled(self): ...
|
|
544
|
+
@Enabled.setter
|
|
545
|
+
def Enabled(self, v: bool): ...
|
|
546
|
+
@property
|
|
547
|
+
def FocusColor(self): ...
|
|
548
|
+
@FocusColor.setter
|
|
549
|
+
def FocusColor(self, value) -> None: ...
|
|
550
|
+
@property
|
|
551
|
+
def ActivePageIndex(self): ...
|
|
552
|
+
@ActivePageIndex.setter
|
|
553
|
+
def ActivePageIndex(self, index) -> None: ...
|
WebGUIAPI/__init__.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from .WebGUIbanner import TBanner
|
|
2
|
+
from .WebGUItchart import *
|
|
3
|
+
from .WebGUIvcl import *
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
# --- 外部擴充模組 ---
|
|
7
|
+
"TBanner", "TChart", "TChartSeries",
|
|
8
|
+
|
|
9
|
+
# --- VCL 基礎核心與事件類型 ---
|
|
10
|
+
"TComponent", "TStrings", "TForm", "TFrame", "TTimer",
|
|
11
|
+
|
|
12
|
+
# --- VCL 基礎控制項與其列舉 ---
|
|
13
|
+
"TLabel",
|
|
14
|
+
"TEdit",
|
|
15
|
+
"TMemo",
|
|
16
|
+
"TButton", "TButtonShape",
|
|
17
|
+
"TCheckBox",
|
|
18
|
+
"TRadioButton",
|
|
19
|
+
"TComboBox",
|
|
20
|
+
"TListBox",
|
|
21
|
+
|
|
22
|
+
# --- 容器與佈局管理器 ---
|
|
23
|
+
"TPanel", "TVCLLayoutBase", "THLayout", "TVLayout", "TGridLayout",
|
|
24
|
+
|
|
25
|
+
# --- 進階與多媒體控制項 ---
|
|
26
|
+
"TImage", "TImageDisplayStyle", # ⭐ 補上漏掉的圖片特效列舉
|
|
27
|
+
"TMediaPlayer",
|
|
28
|
+
"TSlideBar",
|
|
29
|
+
"TProgressBar",
|
|
30
|
+
"TDateComboBox",
|
|
31
|
+
"TTimeComboBox",
|
|
32
|
+
|
|
33
|
+
# --- 進階容器分頁控制項 ---
|
|
34
|
+
"TTabSheet", "TPageControl"
|
|
35
|
+
]
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .WebGUIvcl import TComponent as TComponent, TMouseEventArgs as TMouseEventArgs
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
|
|
4
|
+
class TBanner(TComponent):
|
|
5
|
+
class TMediaManager:
|
|
6
|
+
owner: Incomplete
|
|
7
|
+
def __init__(self, owner) -> None: ...
|
|
8
|
+
def Add(self, url: str): ...
|
|
9
|
+
def Delete(self, index: int): ...
|
|
10
|
+
@property
|
|
11
|
+
def Count(self): ...
|
|
12
|
+
Medias: Incomplete
|
|
13
|
+
onMediaChange: Incomplete
|
|
14
|
+
ui: Incomplete
|
|
15
|
+
def __init__(self, parent=None) -> None: ...
|
|
16
|
+
def Play(self) -> None: ...
|
|
17
|
+
def Stop(self) -> None: ...
|
|
18
|
+
def Next(self) -> None: ...
|
|
19
|
+
def Prior(self) -> None: ...
|
|
20
|
+
def Home(self) -> None: ...
|
|
21
|
+
def Goto(self, index: int): ...
|
|
22
|
+
@property
|
|
23
|
+
def Interval(self): ...
|
|
24
|
+
@Interval.setter
|
|
25
|
+
def Interval(self, v) -> None: ...
|
|
26
|
+
@property
|
|
27
|
+
def Visible(self): ...
|
|
28
|
+
@Visible.setter
|
|
29
|
+
def Visible(self, v) -> None: ...
|