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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
|
// TTQStyle.cs - A Qt to C# binding.
//
// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// Generated File. Do Not Modify.
namespace Qt {
using Qt;
using System;
using System.Runtime.InteropServices;
public class TTQStyle : TTQObject, IDisposable {
public enum PrimitiveElement: long {
PE_ButtonCommand = 0,
PE_ButtonDefault = 1,
PE_ButtonBevel = 2,
PE_ButtonTool = 3,
PE_ButtonDropDown = 4,
PE_FocusRect = 5,
PE_ArrowUp = 6,
PE_ArrowDown = 7,
PE_ArrowRight = 8,
PE_ArrowLeft = 9,
PE_SpinWidgetUp = 10,
PE_SpinWidgetDown = 11,
PE_SpinWidgetPlus = 12,
PE_SpinWidgetMinus = 13,
PE_Indicator = 14,
PE_IndicatorMask = 15,
PE_ExclusiveIndicator = 16,
PE_ExclusiveIndicatorMask = 17,
PE_DockWindowHandle = 18,
PE_DockWindowSeparator = 19,
PE_DockWindowResizeHandle = 20,
PE_Splitter = 21,
PE_Panel = 22,
PE_PanelPopup = 23,
PE_PanelMenuBar = 24,
PE_PanelDockWindow = 25,
PE_TabBarBase = 26,
PE_HeaderSection = 27,
PE_HeaderArrow = 28,
PE_StatusBarSection = 29,
PE_GroupBoxFrame = 30,
PE_Separator = 31,
PE_SizeGrip = 32,
PE_CheckMark = 33,
PE_ScrollBarAddLine = 34,
PE_ScrollBarSubLine = 35,
PE_ScrollBarAddPage = 36,
PE_ScrollBarSubPage = 37,
PE_ScrollBarSlider = 38,
PE_ScrollBarFirst = 39,
PE_ScrollBarLast = 40,
PE_ProgressBarChunk = 41,
PE_PanelLineEdit = 42,
PE_PanelTabWidget = 43,
PE_WindowFrame = 44,
PE_CustomBase = 251658240
}
public enum StyleFlags {
Style_Default = 0,
Style_Enabled = 1,
Style_Raised = 2,
Style_Sunken = 4,
Style_Off = 8,
Style_NoChange = 16,
Style_On = 32,
Style_Down = 64,
Style_Horizontal = 128,
Style_HasFocus = 256,
Style_Top = 512,
Style_Bottom = 1024,
Style_FocusAtBorder = 2048,
Style_AutoRaise = 4096,
Style_MouseOver = 8192,
Style_Up = 16384,
Style_Selected = 32768,
Style_Active = 65536,
Style_ButtonDefault = 131072
}
public enum ControlElement: long {
CE_PushButton = 0,
CE_PushButtonLabel = 1,
CE_CheckBox = 2,
CE_CheckBoxLabel = 3,
CE_RadioButton = 4,
CE_RadioButtonLabel = 5,
CE_TabBarTab = 6,
CE_TabBarLabel = 7,
CE_ProgressBarGroove = 8,
CE_ProgressBarContents = 9,
CE_ProgressBarLabel = 10,
CE_PopupMenuItem = 11,
CE_MenuBarItem = 12,
CE_ToolButtonLabel = 13,
CE_CustomBase = 4026531840
}
public enum SubRect: long {
SR_PushButtonContents = 0,
SR_PushButtonFocusRect = 1,
SR_CheckBoxIndicator = 2,
SR_CheckBoxContents = 3,
SR_CheckBoxFocusRect = 4,
SR_RadioButtonIndicator = 5,
SR_RadioButtonContents = 6,
SR_RadioButtonFocusRect = 7,
SR_ComboBoxFocusRect = 8,
SR_SliderFocusRect = 9,
SR_DockWindowHandleRect = 10,
SR_ProgressBarGroove = 11,
SR_ProgressBarContents = 12,
SR_ProgressBarLabel = 13,
SR_ToolButtonContents = 14,
SR_CustomBase = 4026531840
}
public enum ComplexControl: long {
CC_SpinWidget = 0,
CC_ComboBox = 1,
CC_ScrollBar = 2,
CC_Slider = 3,
CC_ToolButton = 4,
CC_TitleBar = 5,
CC_ListView = 6,
CC_CustomBase = 4026531840
}
public enum SubControl: long {
SC_None = 0,
SC_ScrollBarAddLine = 1,
SC_ScrollBarSubLine = 2,
SC_ScrollBarAddPage = 4,
SC_ScrollBarSubPage = 8,
SC_ScrollBarFirst = 16,
SC_ScrollBarLast = 32,
SC_ScrollBarSlider = 64,
SC_ScrollBarGroove = 128,
SC_SpinWidgetUp = 1,
SC_SpinWidgetDown = 2,
SC_SpinWidgetFrame = 4,
SC_SpinWidgetEditField = 8,
SC_SpinWidgetButtonField = 16,
SC_ComboBoxFrame = 1,
SC_ComboBoxEditField = 2,
SC_ComboBoxArrow = 4,
SC_SliderGroove = 1,
SC_SliderHandle = 2,
SC_SliderTickmarks = 4,
SC_ToolButton = 1,
SC_ToolButtonMenu = 2,
SC_TitleBarLabel = 1,
SC_TitleBarSysMenu = 2,
SC_TitleBarMinButton = 4,
SC_TitleBarMaxButton = 8,
SC_TitleBarCloseButton = 16,
SC_TitleBarNormalButton = 32,
SC_TitleBarShadeButton = 64,
SC_TitleBarUnshadeButton = 128,
SC_ListView = 1,
SC_ListViewBranch = 2,
SC_ListViewExpand = 4,
SC_All = 4294967295
}
public enum PixelMetric: long {
PM_ButtonMargin = 0,
PM_ButtonDefaultIndicator = 1,
PM_MenuButtonIndicator = 2,
PM_ButtonShiftHorizontal = 3,
PM_ButtonShiftVertical = 4,
PM_DefaultFrameWidth = 5,
PM_SpinBoxFrameWidth = 6,
PM_MaximumDragDistance = 7,
PM_ScrollBarExtent = 8,
PM_ScrollBarSliderMin = 9,
PM_SliderThickness = 10,
PM_SliderControlThickness = 11,
PM_SliderLength = 12,
PM_SliderTickmarkOffset = 13,
PM_SliderSpaceAvailable = 14,
PM_DockWindowSeparatorExtent = 15,
PM_DockWindowHandleExtent = 16,
PM_DockWindowFrameWidth = 17,
PM_MenuBarFrameWidth = 18,
PM_TabBarTabOverlap = 19,
PM_TabBarTabHSpace = 20,
PM_TabBarTabVSpace = 21,
PM_TabBarBaseHeight = 22,
PM_TabBarBaseOverlap = 23,
PM_ProgressBarChunkWidth = 24,
PM_SplitterWidth = 25,
PM_TitleBarHeight = 26,
PM_IndicatorWidth = 27,
PM_IndicatorHeight = 28,
PM_ExclusiveIndicatorWidth = 29,
PM_ExclusiveIndicatorHeight = 30,
PM_CustomBase = 4026531840
}
public enum ContentsType: long {
CT_PushButton = 0,
CT_CheckBox = 1,
CT_RadioButton = 2,
CT_ToolButton = 3,
CT_ComboBox = 4,
CT_Splitter = 5,
CT_DockWindow = 6,
CT_ProgressBar = 7,
CT_PopupMenuItem = 8,
CT_CustomBase = 4026531840
}
public enum StyleHint: long {
SH_EtchDisabledText = 0,
SH_GUIStyle = 1,
SH_ScrollBar_BackgroundMode = 2,
SH_ScrollBar_MiddleClickAbsolutePosition = 3,
SH_ScrollBar_ScrollWhenPointerLeavesControl = 4,
SH_TabBar_SelectMouseType = 5,
SH_TabBar_Alignment = 6,
SH_Header_ArrowAlignment = 7,
SH_Slider_SnapToValue = 8,
SH_Slider_SloppyKeyEvents = 9,
SH_ProgressDialog_CenterCancelButton = 10,
SH_ProgressDialog_TextLabelAlignment = 11,
SH_PrintDialog_RightAlignButtons = 12,
SH_MainWindow_SpaceBelowMenuBar = 13,
SH_FontDialog_SelectAssociatedText = 14,
SH_PopupMenu_AllowActiveAndDisabled = 15,
SH_PopupMenu_SpaceActivatesItem = 16,
SH_PopupMenu_SubMenuPopupDelay = 17,
SH_ScrollView_FrameOnlyAroundContents = 18,
SH_MenuBar_AltKeyNavigation = 19,
SH_ComboBox_ListMouseTracking = 20,
SH_PopupMenu_MouseTracking = 21,
SH_MenuBar_MouseTracking = 22,
SH_ItemView_ChangeHighlightOnFocus = 23,
SH_Widget_ShareActivation = 24,
SH_Workspace_FillSpaceOnMaximize = 25,
SH_ComboBox_Popup = 26,
SH_TitleBar_NoBorder = 27,
SH_ScrollBar_StopMouseOverSlider = 28,
SH_BlinkCursorWhenTextSelected = 29,
SH_RichText_FullWidthSelection = 30,
SH_CustomBase = 4026531840
}
public enum StylePixmap: long {
SP_TitleBarMinButton = 0,
SP_TitleBarMaxButton = 1,
SP_TitleBarCloseButton = 2,
SP_TitleBarNormalButton = 3,
SP_TitleBarShadeButton = 4,
SP_TitleBarUnshadeButton = 5,
SP_DockWindowCloseButton = 6,
SP_MessageBoxInformation = 7,
SP_MessageBoxWarning = 8,
SP_MessageBoxCritical = 9,
SP_CustomBase = 4026531840
}
internal TTQStyle () : this (TQNull.Instance) {}
internal TTQStyle (IntPtr ptr) : this (TQNull.Instance)
{
rawObject = ptr;
RegisterObject(this);
}
internal TTQStyle (TQNull dummy) : base (TQNull.Instance) {}
~TTQStyle ()
{
Dispose(false);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_del_QStyle (IntPtr obj);
internal override void Delete ()
{
if (deleted) return;
qt_del_QStyle (rawObject);
deleted = true;
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_polish (IntPtr raw, IntPtr arg1);
public void polish (TTQWidget arg1)
{
qt_QStyle_polish (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_unPolish (IntPtr raw, IntPtr arg1);
public void unPolish (TTQWidget arg1)
{
qt_QStyle_unPolish (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_polish1 (IntPtr raw, IntPtr arg1);
public void polish (TTQApplication arg1)
{
qt_QStyle_polish1 (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_unPolish1 (IntPtr raw, IntPtr arg1);
public void unPolish (TTQApplication arg1)
{
qt_QStyle_unPolish1 (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_polish2 (IntPtr raw, IntPtr arg1);
public void polish (TTQPalette arg1)
{
qt_QStyle_polish2 (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_polishPopupMenu (IntPtr raw, IntPtr arg1);
public void polishPopupMenu (TTQPopupMenu arg1)
{
qt_QStyle_polishPopupMenu (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_itemRect (IntPtr raw, IntPtr p, IntPtr r, int flags, bool enabled, IntPtr pixmap, IntPtr text, int len);
public TTQRect itemRect (TTQPainter p, TTQRect r, int flags, bool enabled, TTQPixmap pixmap, string text, int len)
{
return (TTQRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new TTQString (text).RawObject, len), typeof(TTQRect));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawItem (IntPtr raw, IntPtr p, IntPtr r, int flags, IntPtr g, bool enabled, IntPtr pixmap, IntPtr text, int len, IntPtr penColor);
public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text, int len, TTQColor penColor)
{
qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new TTQString (text).RawObject, len, penColor.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawPrimitive (IntPtr raw, TTQStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, TTQStyle.StyleFlags flags, IntPtr arg1);
public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags flags, TTQStyleOption arg1)
{
qt_QStyle_drawPrimitive (rawObject, pe, p.RawObject, r.RawObject, cg.RawObject, flags, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawControl (IntPtr raw, TTQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TTQStyle.StyleFlags how, IntPtr arg1);
public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyleOption arg1)
{
qt_QStyle_drawControl (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawControlMask (IntPtr raw, TTQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1);
public void drawControlMask (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQStyleOption arg1)
{
qt_QStyle_drawControlMask (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_subRect (IntPtr raw, TTQStyle.SubRect r, IntPtr widget);
public TTQRect subRect (TTQStyle.SubRect r, TTQWidget widget)
{
return (TTQRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(TTQRect));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawComplexControl (IntPtr raw, TTQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive, IntPtr arg1);
public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive, TTQStyleOption arg1)
{
qt_QStyle_drawComplexControl (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, sub, subActive, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, TTQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1);
public void drawComplexControlMask (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQStyleOption arg1)
{
qt_QStyle_drawComplexControlMask (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, TTQStyle.ComplexControl control, IntPtr widget, TTQStyle.SubControl sc, IntPtr arg1);
public TTQRect querySubControlMetrics (TTQStyle.ComplexControl control, TTQWidget widget, TTQStyle.SubControl sc, TTQStyleOption arg1)
{
return (TTQRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(TTQRect));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern TTQStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, TTQStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1);
public TTQStyle.SubControl querySubControl (TTQStyle.ComplexControl control, TTQWidget widget, TTQPoint pos, TTQStyleOption arg1)
{
return qt_QStyle_querySubControl (rawObject, control, widget.RawObject, pos.RawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QStyle_pixelMetric (IntPtr raw, TTQStyle.PixelMetric metric, IntPtr widget);
public int pixelMetric (TTQStyle.PixelMetric metric, TTQWidget widget)
{
return qt_QStyle_pixelMetric (rawObject, metric, widget.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, TTQStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1);
public TTQSize sizeFromContents (TTQStyle.ContentsType contents, TTQWidget widget, TTQSize contentsSize, TTQStyleOption arg1)
{
return (TTQSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(TTQSize));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QStyle_styleHint (IntPtr raw, StyleHint stylehint, IntPtr widget, IntPtr arg1, IntPtr returnData);
public int styleHint (StyleHint stylehint, TTQWidget widget, TTQStyleOption arg1, IntPtr returnData)
{
return qt_QStyle_styleHint (rawObject, stylehint, widget.RawObject, arg1.RawObject, returnData);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, TTQStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1);
public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap, TTQWidget widget, TTQStyleOption arg1)
{
return (TTQPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(TTQPixmap));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QStyle_defaultFrameWidth (IntPtr raw);
public int defaultFrameWidth ()
{
return qt_QStyle_defaultFrameWidth (rawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QStyle_tabbarMetrics (IntPtr raw, IntPtr t, int hf, int vf, int ov);
public void tabbarMetrics (TTQWidget t, int hf, int vf, int ov)
{
qt_QStyle_tabbarMetrics (rawObject, t.RawObject, hf, vf, ov);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_scrollBarExtent (IntPtr raw);
public TTQSize scrollBarExtent ()
{
return (TTQSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(TTQSize));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_visualRect (IntPtr logical, IntPtr w);
public static TTQRect visualRect (TTQRect logical, TTQWidget w)
{
return (TTQRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(TTQRect));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QStyle_visualRect1 (IntPtr logical, IntPtr bounding);
public static TTQRect visualRect (TTQRect logical, TTQRect bounding)
{
return (TTQRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(TTQRect));
}
public TTQRect itemRect (TTQPainter p, TTQRect r, int flags, bool enabled, TTQPixmap pixmap, string text)
{
return itemRect(p, r, flags, enabled, pixmap, text, (int) -1);
}
public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text)
{
drawItem(p, r, flags, g, enabled, pixmap, text, (int) -1);
}
public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text, int len)
{
drawItem(p, r, flags, g, enabled, pixmap, text, len, new TTQColor ());
}
public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg)
{
drawPrimitive(pe, p, r, cg, TTQStyle.StyleFlags.Style_Default);
}
public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags flags)
{
drawPrimitive(pe, p, r, cg, flags, new TTQStyleOption ());
}
public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg)
{
drawControl(element, p, widget, r, cg, TTQStyle.StyleFlags.Style_Default);
}
public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how)
{
drawControl(element, p, widget, r, cg, how, new TTQStyleOption ());
}
public void drawControlMask (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r)
{
drawControlMask(element, p, widget, r, new TTQStyleOption ());
}
public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg)
{
drawComplexControl(control, p, widget, r, cg, TTQStyle.StyleFlags.Style_Default);
}
public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how)
{
drawComplexControl(control, p, widget, r, cg, how, TTQStyle.SubControl.SC_All);
}
public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub)
{
drawComplexControl(control, p, widget, r, cg, how, sub, TTQStyle.SubControl.SC_None);
}
public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive)
{
drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new TTQStyleOption ());
}
public void drawComplexControlMask (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r)
{
drawComplexControlMask(control, p, widget, r, new TTQStyleOption ());
}
public TTQRect querySubControlMetrics (TTQStyle.ComplexControl control, TTQWidget widget, TTQStyle.SubControl sc)
{
return querySubControlMetrics(control, widget, sc, new TTQStyleOption ());
}
public TTQStyle.SubControl querySubControl (TTQStyle.ComplexControl control, TTQWidget widget, TTQPoint pos)
{
return querySubControl(control, widget, pos, new TTQStyleOption ());
}
public int pixelMetric (TTQStyle.PixelMetric metric)
{
return pixelMetric(metric, new TTQWidget ());
}
public TTQSize sizeFromContents (TTQStyle.ContentsType contents, TTQWidget widget, TTQSize contentsSize)
{
return sizeFromContents(contents, widget, contentsSize, new TTQStyleOption ());
}
public int styleHint (StyleHint stylehint)
{
return styleHint(stylehint, new TTQWidget ());
}
public int styleHint (StyleHint stylehint, TTQWidget widget)
{
return styleHint(stylehint, widget, new TTQStyleOption ());
}
public int styleHint (StyleHint stylehint, TTQWidget widget, TTQStyleOption arg1)
{
return styleHint(stylehint, widget, arg1, (IntPtr) 0);
}
public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap)
{
return stylePixmap(stylepixmap, new TTQWidget ());
}
public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap, TTQWidget widget)
{
return stylePixmap(stylepixmap, widget, new TTQStyleOption ());
}
// Begin interface methods.
}
}
|