ruby-qt6-qtwidgets 2.1.1 → 6.0.0
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.
- checksums.yaml +4 -4
- data/ext/qt6/qtwidgets/qabstractbutton-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qabstractitemdelegate-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qabstractitemview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qabstractscrollarea-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qabstractslider-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qabstractspinbox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qapplication-rb.cpp +15 -3
- data/ext/qt6/qtwidgets/qboxlayout-rb.cpp +6 -3
- data/ext/qt6/qtwidgets/qcalendarwidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qcheckbox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qcolordialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qcolumnview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qcombobox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qcommandlinkbutton-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qdatetimeedit-rb.cpp +6 -3
- data/ext/qt6/qtwidgets/qdial-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qdialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qdialogbuttonbox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qdockwidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qerrormessage-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qfiledialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qfileiconprovider-rb.cpp +1 -1
- data/ext/qt6/qtwidgets/qfocusframe-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qfontcombobox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qfontdialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qformlayout-rb.cpp +3 -2
- data/ext/qt6/qtwidgets/qframe-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgraphicsitem-rb.cpp +11 -11
- data/ext/qt6/qtwidgets/qgraphicsobject-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgraphicsscene-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgraphicstextitem-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgraphicsview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgraphicswidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgridlayout-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qgroupbox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qheaderview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qinputdialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qitemdelegate-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qkeysequenceedit-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlabel-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlayout-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlayoutitem-rb.cpp +3 -3
- data/ext/qt6/qtwidgets/qlcdnumber-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlineedit-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlistview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qlistwidget-rb.cpp +3 -2
- data/ext/qt6/qtwidgets/qmainwindow-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qmdiarea-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qmdisubwindow-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qmenu-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qmenubar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qmessagebox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qplaintextedit-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qprogressbar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qprogressdialog-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qpushbutton-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qradiobutton-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qrubberband-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qscrollarea-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qscrollbar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qsizegrip-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qsizepolicy-rb.cpp +1 -1
- data/ext/qt6/qtwidgets/qslider-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qspinbox-rb.cpp +4 -2
- data/ext/qt6/qtwidgets/qsplashscreen-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qsplitter-rb.cpp +4 -2
- data/ext/qt6/qtwidgets/qstackedlayout-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qstackedwidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qstatusbar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qstyle-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qstyleditemdelegate-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qstylefactory-rb.cpp +1 -1
- data/ext/qt6/qtwidgets/qstyleoption-rb.cpp +25 -25
- data/ext/qt6/qtwidgets/qsystemtrayicon-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtabbar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtableview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtablewidget-rb.cpp +4 -3
- data/ext/qt6/qtwidgets/qtabwidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtextbrowser-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtextedit-rb.cpp +3 -2
- data/ext/qt6/qtwidgets/qtoolbar-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtoolbox-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtoolbutton-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtooltip-rb.cpp +1 -1
- data/ext/qt6/qtwidgets/qtreeview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qtreewidget-rb.cpp +3 -2
- data/ext/qt6/qtwidgets/qtwidgets-rb.cpp +2 -0
- data/ext/qt6/qtwidgets/qtwidgetspreludes-rb.cpp +11 -0
- data/ext/qt6/qtwidgets/qtwidgetspreludes-rb.hpp +5 -0
- data/ext/qt6/qtwidgets/qundoview-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qwidget-rb.cpp +2 -1
- data/ext/qt6/qtwidgets/qwizard-rb.cpp +4 -2
- data/ext/qt6/qtwidgets/t-qtwidgets-rb.cpp +0 -3
- data/lib/qt6/qtwidgets/qapplication.rb +4 -8
- data/lib/qt6/qtwidgets/qcombobox.rb +2 -1
- data/lib/qt6/qtwidgets/qlcdnumber.rb +3 -2
- data/lib/qt6/qtwidgets/qsplashscreen.rb +1 -0
- data/lib/qt6/qtwidgets/qwidget.rb +2 -1
- data/lib/qt6/qtwidgets/version.rb +1 -1
- metadata +9 -7
|
@@ -34,7 +34,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
34
34
|
{
|
|
35
35
|
rb_cQStyleOption =
|
|
36
36
|
// RubyQt6::QtWidgets::QStyleOption
|
|
37
|
-
|
|
37
|
+
define_qlass_under<QStyleOption>(rb_mQt6QtWidgets, "QStyleOption")
|
|
38
38
|
.define_attr("direction", &QStyleOption::direction, AttrAccess::Read)
|
|
39
39
|
.define_attr("font_metrics", &QStyleOption::fontMetrics)
|
|
40
40
|
.define_attr("palette", &QStyleOption::palette)
|
|
@@ -86,7 +86,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
86
86
|
|
|
87
87
|
rb_cQStyleOptionButton =
|
|
88
88
|
// RubyQt6::QtWidgets::QStyleOptionButton
|
|
89
|
-
|
|
89
|
+
define_qlass_under<QStyleOptionButton, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionButton")
|
|
90
90
|
.define_attr("features", &QStyleOptionButton::features)
|
|
91
91
|
.define_attr("icon", &QStyleOptionButton::icon)
|
|
92
92
|
.define_attr("icon_size", &QStyleOptionButton::iconSize)
|
|
@@ -114,7 +114,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
114
114
|
|
|
115
115
|
rb_cQStyleOptionComplex =
|
|
116
116
|
// RubyQt6::QtWidgets::QStyleOptionComplex
|
|
117
|
-
|
|
117
|
+
define_qlass_under<QStyleOptionComplex, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionComplex")
|
|
118
118
|
.define_attr("active_sub_controls", &QStyleOptionComplex::activeSubControls)
|
|
119
119
|
.define_attr("sub_controls", &QStyleOptionComplex::subControls);
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
130
130
|
|
|
131
131
|
rb_cQStyleOptionComboBox =
|
|
132
132
|
// RubyQt6::QtWidgets::QStyleOptionComboBox
|
|
133
|
-
|
|
133
|
+
define_qlass_under<QStyleOptionComboBox, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionComboBox")
|
|
134
134
|
.define_attr("current_icon", &QStyleOptionComboBox::currentIcon)
|
|
135
135
|
.define_attr("current_text", &QStyleOptionComboBox::currentText)
|
|
136
136
|
.define_attr("editable", &QStyleOptionComboBox::editable)
|
|
@@ -151,7 +151,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
151
151
|
|
|
152
152
|
rb_cQStyleOptionGroupBox =
|
|
153
153
|
// RubyQt6::QtWidgets::QStyleOptionGroupBox
|
|
154
|
-
|
|
154
|
+
define_qlass_under<QStyleOptionGroupBox, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionGroupBox")
|
|
155
155
|
.define_attr("features", &QStyleOptionGroupBox::features)
|
|
156
156
|
.define_attr("line_width", &QStyleOptionGroupBox::lineWidth)
|
|
157
157
|
.define_attr("mid_line_width", &QStyleOptionGroupBox::midLineWidth)
|
|
@@ -171,7 +171,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
171
171
|
|
|
172
172
|
rb_cQStyleOptionSizeGrip =
|
|
173
173
|
// RubyQt6::QtWidgets::QStyleOptionSizeGrip
|
|
174
|
-
|
|
174
|
+
define_qlass_under<QStyleOptionSizeGrip, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionSizeGrip")
|
|
175
175
|
.define_attr("corner", &QStyleOptionSizeGrip::corner, AttrAccess::Read);
|
|
176
176
|
|
|
177
177
|
Data_Type<QStyleOptionSizeGrip::StyleOptionType> rb_cQStyleOptionSizeGripStyleOptionType =
|
|
@@ -186,7 +186,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
186
186
|
|
|
187
187
|
rb_cQStyleOptionSlider =
|
|
188
188
|
// RubyQt6::QtWidgets::QStyleOptionSlider
|
|
189
|
-
|
|
189
|
+
define_qlass_under<QStyleOptionSlider, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionSlider")
|
|
190
190
|
.define_attr("dial_wrapping", &QStyleOptionSlider::dialWrapping)
|
|
191
191
|
.define_attr("keyboard_modifiers", &QStyleOptionSlider::keyboardModifiers)
|
|
192
192
|
.define_attr("maximum", &QStyleOptionSlider::maximum)
|
|
@@ -213,7 +213,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
213
213
|
|
|
214
214
|
rb_cQStyleOptionSpinBox =
|
|
215
215
|
// RubyQt6::QtWidgets::QStyleOptionSpinBox
|
|
216
|
-
|
|
216
|
+
define_qlass_under<QStyleOptionSpinBox, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionSpinBox")
|
|
217
217
|
.define_attr("button_symbols", &QStyleOptionSpinBox::buttonSymbols, AttrAccess::Read)
|
|
218
218
|
.define_attr("frame", &QStyleOptionSpinBox::frame)
|
|
219
219
|
.define_attr("step_enabled", &QStyleOptionSpinBox::stepEnabled);
|
|
@@ -230,7 +230,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
230
230
|
|
|
231
231
|
rb_cQStyleOptionTitleBar =
|
|
232
232
|
// RubyQt6::QtWidgets::QStyleOptionTitleBar
|
|
233
|
-
|
|
233
|
+
define_qlass_under<QStyleOptionTitleBar, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionTitleBar")
|
|
234
234
|
.define_attr("icon", &QStyleOptionTitleBar::icon)
|
|
235
235
|
.define_attr("text", &QStyleOptionTitleBar::text)
|
|
236
236
|
.define_attr("title_bar_flags", &QStyleOptionTitleBar::titleBarFlags)
|
|
@@ -248,7 +248,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
248
248
|
|
|
249
249
|
rb_cQStyleOptionToolButton =
|
|
250
250
|
// RubyQt6::QtWidgets::QStyleOptionToolButton
|
|
251
|
-
|
|
251
|
+
define_qlass_under<QStyleOptionToolButton, QStyleOptionComplex>(rb_mQt6QtWidgets, "QStyleOptionToolButton")
|
|
252
252
|
.define_attr("arrow_type", &QStyleOptionToolButton::arrowType, AttrAccess::Read)
|
|
253
253
|
.define_attr("features", &QStyleOptionToolButton::features)
|
|
254
254
|
.define_attr("font", &QStyleOptionToolButton::font)
|
|
@@ -280,7 +280,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
280
280
|
|
|
281
281
|
rb_cQStyleOptionDockWidget =
|
|
282
282
|
// RubyQt6::QtWidgets::QStyleOptionDockWidget
|
|
283
|
-
|
|
283
|
+
define_qlass_under<QStyleOptionDockWidget, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionDockWidget")
|
|
284
284
|
.define_attr("closable", &QStyleOptionDockWidget::closable)
|
|
285
285
|
.define_attr("floatable", &QStyleOptionDockWidget::floatable)
|
|
286
286
|
.define_attr("movable", &QStyleOptionDockWidget::movable)
|
|
@@ -299,7 +299,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
299
299
|
|
|
300
300
|
rb_cQStyleOptionFocusRect =
|
|
301
301
|
// RubyQt6::QtWidgets::QStyleOptionFocusRect
|
|
302
|
-
|
|
302
|
+
define_qlass_under<QStyleOptionFocusRect, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionFocusRect")
|
|
303
303
|
.define_attr("background_color", &QStyleOptionFocusRect::backgroundColor);
|
|
304
304
|
|
|
305
305
|
Data_Type<QStyleOptionFocusRect::StyleOptionType> rb_cQStyleOptionFocusRectStyleOptionType =
|
|
@@ -314,7 +314,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
314
314
|
|
|
315
315
|
rb_cQStyleOptionFrame =
|
|
316
316
|
// RubyQt6::QtWidgets::QStyleOptionFrame
|
|
317
|
-
|
|
317
|
+
define_qlass_under<QStyleOptionFrame, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionFrame")
|
|
318
318
|
.define_attr("features", &QStyleOptionFrame::features)
|
|
319
319
|
.define_attr("frame_shape", &QStyleOptionFrame::frameShape, AttrAccess::Read)
|
|
320
320
|
.define_attr("line_width", &QStyleOptionFrame::lineWidth)
|
|
@@ -339,7 +339,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
339
339
|
|
|
340
340
|
rb_cQStyleOptionGraphicsItem =
|
|
341
341
|
// RubyQt6::QtWidgets::QStyleOptionGraphicsItem
|
|
342
|
-
|
|
342
|
+
define_qlass_under<QStyleOptionGraphicsItem, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionGraphicsItem")
|
|
343
343
|
.define_attr("exposed_rect", &QStyleOptionGraphicsItem::exposedRect);
|
|
344
344
|
|
|
345
345
|
Data_Type<QStyleOptionGraphicsItem::StyleOptionType> rb_cQStyleOptionGraphicsItemStyleOptionType =
|
|
@@ -354,7 +354,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
354
354
|
|
|
355
355
|
rb_cQStyleOptionHeader =
|
|
356
356
|
// RubyQt6::QtWidgets::QStyleOptionHeader
|
|
357
|
-
|
|
357
|
+
define_qlass_under<QStyleOptionHeader, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionHeader")
|
|
358
358
|
.define_attr("icon", &QStyleOptionHeader::icon)
|
|
359
359
|
.define_attr("icon_alignment", &QStyleOptionHeader::iconAlignment)
|
|
360
360
|
.define_attr("orientation", &QStyleOptionHeader::orientation, AttrAccess::Read)
|
|
@@ -400,7 +400,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
400
400
|
|
|
401
401
|
rb_cQStyleOptionHeaderV2 =
|
|
402
402
|
// RubyQt6::QtWidgets::QStyleOptionHeaderV2
|
|
403
|
-
|
|
403
|
+
define_qlass_under<QStyleOptionHeaderV2, QStyleOptionHeader>(rb_mQt6QtWidgets, "QStyleOptionHeaderV2");
|
|
404
404
|
|
|
405
405
|
Data_Type<QStyleOptionHeaderV2::StyleOptionType> rb_cQStyleOptionHeaderV2StyleOptionType =
|
|
406
406
|
// RubyQt6::QtWidgets::QStyleOptionHeaderV2::StyleOptionType
|
|
@@ -414,7 +414,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
414
414
|
|
|
415
415
|
rb_cQStyleOptionMenuItem =
|
|
416
416
|
// RubyQt6::QtWidgets::QStyleOptionMenuItem
|
|
417
|
-
|
|
417
|
+
define_qlass_under<QStyleOptionMenuItem, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionMenuItem")
|
|
418
418
|
.define_attr("check_type", &QStyleOptionMenuItem::checkType, AttrAccess::Read)
|
|
419
419
|
.define_attr("checked", &QStyleOptionMenuItem::checked)
|
|
420
420
|
.define_attr("font", &QStyleOptionMenuItem::font)
|
|
@@ -457,7 +457,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
457
457
|
|
|
458
458
|
rb_cQStyleOptionProgressBar =
|
|
459
459
|
// RubyQt6::QtWidgets::QStyleOptionProgressBar
|
|
460
|
-
|
|
460
|
+
define_qlass_under<QStyleOptionProgressBar, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionProgressBar")
|
|
461
461
|
.define_attr("bottom_to_top", &QStyleOptionProgressBar::bottomToTop)
|
|
462
462
|
.define_attr("inverted_appearance", &QStyleOptionProgressBar::invertedAppearance)
|
|
463
463
|
.define_attr("maximum", &QStyleOptionProgressBar::maximum)
|
|
@@ -479,7 +479,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
479
479
|
|
|
480
480
|
rb_cQStyleOptionRubberBand =
|
|
481
481
|
// RubyQt6::QtWidgets::QStyleOptionRubberBand
|
|
482
|
-
|
|
482
|
+
define_qlass_under<QStyleOptionRubberBand, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionRubberBand")
|
|
483
483
|
.define_attr("opaque", &QStyleOptionRubberBand::opaque)
|
|
484
484
|
.define_attr("shape", &QStyleOptionRubberBand::shape, AttrAccess::Read);
|
|
485
485
|
|
|
@@ -495,7 +495,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
495
495
|
|
|
496
496
|
rb_cQStyleOptionTab =
|
|
497
497
|
// RubyQt6::QtWidgets::QStyleOptionTab
|
|
498
|
-
|
|
498
|
+
define_qlass_under<QStyleOptionTab, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionTab")
|
|
499
499
|
.define_attr("corner_widgets", &QStyleOptionTab::cornerWidgets)
|
|
500
500
|
.define_attr("document_mode", &QStyleOptionTab::documentMode)
|
|
501
501
|
.define_attr("features", &QStyleOptionTab::features)
|
|
@@ -552,7 +552,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
552
552
|
|
|
553
553
|
rb_cQStyleOptionTabBarBase =
|
|
554
554
|
// RubyQt6::QtWidgets::QStyleOptionTabBarBase
|
|
555
|
-
|
|
555
|
+
define_qlass_under<QStyleOptionTabBarBase, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionTabBarBase")
|
|
556
556
|
.define_attr("document_mode", &QStyleOptionTabBarBase::documentMode)
|
|
557
557
|
.define_attr("selected_tab_rect", &QStyleOptionTabBarBase::selectedTabRect)
|
|
558
558
|
.define_attr("shape", &QStyleOptionTabBarBase::shape, AttrAccess::Read)
|
|
@@ -570,7 +570,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
570
570
|
|
|
571
571
|
rb_cQStyleOptionTabWidgetFrame =
|
|
572
572
|
// RubyQt6::QtWidgets::QStyleOptionTabWidgetFrame
|
|
573
|
-
|
|
573
|
+
define_qlass_under<QStyleOptionTabWidgetFrame, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionTabWidgetFrame")
|
|
574
574
|
.define_attr("left_corner_widget_size", &QStyleOptionTabWidgetFrame::leftCornerWidgetSize)
|
|
575
575
|
.define_attr("line_width", &QStyleOptionTabWidgetFrame::lineWidth)
|
|
576
576
|
.define_attr("mid_line_width", &QStyleOptionTabWidgetFrame::midLineWidth)
|
|
@@ -592,7 +592,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
592
592
|
|
|
593
593
|
rb_cQStyleOptionToolBar =
|
|
594
594
|
// RubyQt6::QtWidgets::QStyleOptionToolBar
|
|
595
|
-
|
|
595
|
+
define_qlass_under<QStyleOptionToolBar, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionToolBar")
|
|
596
596
|
.define_attr("features", &QStyleOptionToolBar::features)
|
|
597
597
|
.define_attr("line_width", &QStyleOptionToolBar::lineWidth)
|
|
598
598
|
.define_attr("mid_line_width", &QStyleOptionToolBar::midLineWidth)
|
|
@@ -626,7 +626,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
626
626
|
|
|
627
627
|
rb_cQStyleOptionToolBox =
|
|
628
628
|
// RubyQt6::QtWidgets::QStyleOptionToolBox
|
|
629
|
-
|
|
629
|
+
define_qlass_under<QStyleOptionToolBox, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionToolBox")
|
|
630
630
|
.define_attr("icon", &QStyleOptionToolBox::icon)
|
|
631
631
|
.define_attr("position", &QStyleOptionToolBox::position, AttrAccess::Read)
|
|
632
632
|
.define_attr("text", &QStyleOptionToolBox::text);
|
|
@@ -658,7 +658,7 @@ void Init_qstyleoption(Module rb_mQt6QtWidgets)
|
|
|
658
658
|
|
|
659
659
|
rb_cQStyleOptionViewItem =
|
|
660
660
|
// RubyQt6::QtWidgets::QStyleOptionViewItem
|
|
661
|
-
|
|
661
|
+
define_qlass_under<QStyleOptionViewItem, QStyleOption>(rb_mQt6QtWidgets, "QStyleOptionViewItem")
|
|
662
662
|
.define_attr("background_brush", &QStyleOptionViewItem::backgroundBrush)
|
|
663
663
|
.define_attr("check_state", &QStyleOptionViewItem::checkState, AttrAccess::Read)
|
|
664
664
|
.define_attr("decoration_alignment", &QStyleOptionViewItem::decorationAlignment)
|
|
@@ -12,8 +12,9 @@ void Init_qsystemtrayicon(Module rb_mQt6QtWidgets)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQSystemTrayIcon =
|
|
14
14
|
// RubyQt6::QtWidgets::QSystemTrayIcon
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QSystemTrayIcon, QObject>(rb_mQt6QtWidgets, "QSystemTrayIcon")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QSystemTrayIcon * { return qobject_cast<QSystemTrayIcon *>(object); })
|
|
17
18
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QSystemTrayIcon::staticMetaObject; })
|
|
18
19
|
// Constructor
|
|
19
20
|
.define_constructor(Constructor<QSystemTrayIcon, const QIcon &, QObject *>(), Arg("icon"), Arg("parent"))
|
|
@@ -10,8 +10,9 @@ void Init_qtabbar(Module rb_mQt6QtWidgets)
|
|
|
10
10
|
{
|
|
11
11
|
rb_cQTabBar =
|
|
12
12
|
// RubyQt6::QtWidgets::QTabBar
|
|
13
|
-
|
|
13
|
+
define_qlass_under<QTabBar, QWidget>(rb_mQt6QtWidgets, "QTabBar")
|
|
14
14
|
// RubyQt6-Defined Functions
|
|
15
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTabBar * { return qobject_cast<QTabBar *>(object); })
|
|
15
16
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTabBar::staticMetaObject; })
|
|
16
17
|
// Constructor
|
|
17
18
|
.define_constructor(Constructor<QTabBar, QWidget *>(), Arg("parent"))
|
|
@@ -11,8 +11,9 @@ void Init_qtableview(Module rb_mQt6QtWidgets)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQTableView =
|
|
13
13
|
// RubyQt6::QtWidgets::QTableView
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QTableView, QAbstractItemView>(rb_mQt6QtWidgets, "QTableView")
|
|
15
15
|
// RubyQt6-Defined Functions
|
|
16
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTableView * { return qobject_cast<QTableView *>(object); })
|
|
16
17
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTableView::staticMetaObject; })
|
|
17
18
|
// Constructor
|
|
18
19
|
.define_constructor(Constructor<QTableView, QWidget *>(), Arg("parent"))
|
|
@@ -14,8 +14,9 @@ void Init_qtablewidget(Module rb_mQt6QtWidgets)
|
|
|
14
14
|
{
|
|
15
15
|
rb_cQTableWidget =
|
|
16
16
|
// RubyQt6::QtWidgets::QTableWidget
|
|
17
|
-
|
|
17
|
+
define_qlass_under<QTableWidget, QTableView>(rb_mQt6QtWidgets, "QTableWidget")
|
|
18
18
|
// RubyQt6-Defined Functions
|
|
19
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTableWidget * { return qobject_cast<QTableWidget *>(object); })
|
|
19
20
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTableWidget::staticMetaObject; })
|
|
20
21
|
// Constructor
|
|
21
22
|
.define_constructor(Constructor<QTableWidget, int, int, QWidget *>(), Arg("rows"), Arg("columns"), Arg("parent"))
|
|
@@ -95,7 +96,7 @@ void Init_qtablewidget(Module rb_mQt6QtWidgets)
|
|
|
95
96
|
|
|
96
97
|
rb_cQTableWidgetItem =
|
|
97
98
|
// RubyQt6::QtWidgets::QTableWidgetItem
|
|
98
|
-
|
|
99
|
+
define_qlass_under<QTableWidgetItem>(rb_mQt6QtWidgets, "QTableWidgetItem")
|
|
99
100
|
// RubyQt6-Defined Functions
|
|
100
101
|
.define_singleton_function("_delete_now", [](QTableWidgetItem *item) -> void { delete item; }, Arg("item").takeOwnership())
|
|
101
102
|
.define_singleton_function("_take_ownership_from_ruby", [](QTableWidgetItem *) -> void {}, Arg("item").takeOwnership())
|
|
@@ -147,7 +148,7 @@ void Init_qtablewidget(Module rb_mQt6QtWidgets)
|
|
|
147
148
|
|
|
148
149
|
rb_cQTableWidgetSelectionRange =
|
|
149
150
|
// RubyQt6::QtWidgets::QTableWidgetSelectionRange
|
|
150
|
-
|
|
151
|
+
define_qlass_under<QTableWidgetSelectionRange>(rb_mQt6QtWidgets, "QTableWidgetSelectionRange")
|
|
151
152
|
// Public Functions
|
|
152
153
|
.define_method("bottom_row", &QTableWidgetSelectionRange::bottomRow)
|
|
153
154
|
.define_method("column_count", &QTableWidgetSelectionRange::columnCount)
|
|
@@ -12,8 +12,9 @@ void Init_qtabwidget(Module rb_mQt6QtWidgets)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQTabWidget =
|
|
14
14
|
// RubyQt6::QtWidgets::QTabWidget
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QTabWidget, QWidget>(rb_mQt6QtWidgets, "QTabWidget")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTabWidget * { return qobject_cast<QTabWidget *>(object); })
|
|
17
18
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTabWidget::staticMetaObject; })
|
|
18
19
|
// Constructor
|
|
19
20
|
.define_constructor(Constructor<QTabWidget, QWidget *>(), Arg("parent"))
|
|
@@ -9,8 +9,9 @@ void Init_qtextbrowser(Module rb_mQt6QtWidgets)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQTextBrowser =
|
|
11
11
|
// RubyQt6::QtWidgets::QTextBrowser
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QTextBrowser, QTextEdit>(rb_mQt6QtWidgets, "QTextBrowser")
|
|
13
13
|
// RubyQt6-Defined Functions
|
|
14
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTextBrowser * { return qobject_cast<QTextBrowser *>(object); })
|
|
14
15
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTextBrowser::staticMetaObject; })
|
|
15
16
|
// Constructor
|
|
16
17
|
.define_constructor(Constructor<QTextBrowser, QWidget *>(), Arg("parent"))
|
|
@@ -16,8 +16,9 @@ void Init_qtextedit(Module rb_mQt6QtWidgets)
|
|
|
16
16
|
{
|
|
17
17
|
rb_cQTextEdit =
|
|
18
18
|
// RubyQt6::QtWidgets::QTextEdit
|
|
19
|
-
|
|
19
|
+
define_qlass_under<QTextEdit, QAbstractScrollArea>(rb_mQt6QtWidgets, "QTextEdit")
|
|
20
20
|
// RubyQt6-Defined Functions
|
|
21
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTextEdit * { return qobject_cast<QTextEdit *>(object); })
|
|
21
22
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTextEdit::staticMetaObject; })
|
|
22
23
|
// Constructor
|
|
23
24
|
.define_constructor(Constructor<QTextEdit, const QString &, QWidget *>(), Arg("text"), Arg("parent"))
|
|
@@ -141,7 +142,7 @@ void Init_qtextedit(Module rb_mQt6QtWidgets)
|
|
|
141
142
|
|
|
142
143
|
rb_cQTextEditExtraSelection =
|
|
143
144
|
// RubyQt6::QtWidgets::QTextEdit::ExtraSelection
|
|
144
|
-
|
|
145
|
+
define_qlass_under<QTextEdit::ExtraSelection>(rb_cQTextEdit, "ExtraSelection")
|
|
145
146
|
.define_attr("cursor", &QTextEdit::ExtraSelection::cursor)
|
|
146
147
|
.define_attr("format", &QTextEdit::ExtraSelection::format);
|
|
147
148
|
}
|
|
@@ -9,8 +9,9 @@ void Init_qtoolbar(Module rb_mQt6QtWidgets)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQToolBar =
|
|
11
11
|
// RubyQt6::QtWidgets::QToolBar
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QToolBar, QWidget>(rb_mQt6QtWidgets, "QToolBar")
|
|
13
13
|
// RubyQt6-Defined Functions
|
|
14
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QToolBar * { return qobject_cast<QToolBar *>(object); })
|
|
14
15
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QToolBar::staticMetaObject; })
|
|
15
16
|
// Constructor
|
|
16
17
|
.define_constructor(Constructor<QToolBar, QWidget *>(), Arg("parent"))
|
|
@@ -9,8 +9,9 @@ void Init_qtoolbox(Module rb_mQt6QtWidgets)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQToolBox =
|
|
11
11
|
// RubyQt6::QtWidgets::QToolBox
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QToolBox, QFrame>(rb_mQt6QtWidgets, "QToolBox")
|
|
13
13
|
// RubyQt6-Defined Functions
|
|
14
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QToolBox * { return qobject_cast<QToolBox *>(object); })
|
|
14
15
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QToolBox::staticMetaObject; })
|
|
15
16
|
// Constructor
|
|
16
17
|
.define_constructor(Constructor<QToolBox, QWidget *>(), Arg("parent"))
|
|
@@ -12,8 +12,9 @@ void Init_qtoolbutton(Module rb_mQt6QtWidgets)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQToolButton =
|
|
14
14
|
// RubyQt6::QtWidgets::QToolButton
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QToolButton, QAbstractButton>(rb_mQt6QtWidgets, "QToolButton")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QToolButton * { return qobject_cast<QToolButton *>(object); })
|
|
17
18
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QToolButton::staticMetaObject; })
|
|
18
19
|
// Constructor
|
|
19
20
|
.define_constructor(Constructor<QToolButton, QWidget *>(), Arg("parent"))
|
|
@@ -9,7 +9,7 @@ void Init_qtooltip(Module rb_mQt6QtWidgets)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQToolTip =
|
|
11
11
|
// RubyQt6::QtWidgets::QToolTip
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QToolTip>(rb_mQt6QtWidgets, "QToolTip")
|
|
13
13
|
// RubyQt6-Defined Functions
|
|
14
14
|
.define_singleton_function("show_text", [](const QPoint &pos, const char *text, QWidget *w, const QRect &rect, int msecDisplayTime) -> void { return QToolTip::showText(pos, text, w, rect, msecDisplayTime); }, Arg("pos"), Arg("text"), Arg("w") = static_cast<QWidget *>(nullptr), Arg("rect") = static_cast<const QRect &>(QRect {}), Arg("msec_show_time") = static_cast<int>(-1))
|
|
15
15
|
// Static Public Members
|
|
@@ -11,8 +11,9 @@ void Init_qtreeview(Module rb_mQt6QtWidgets)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQTreeView =
|
|
13
13
|
// RubyQt6::QtWidgets::QTreeView
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QTreeView, QAbstractItemView>(rb_mQt6QtWidgets, "QTreeView")
|
|
15
15
|
// RubyQt6-Defined Functions
|
|
16
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTreeView * { return qobject_cast<QTreeView *>(object); })
|
|
16
17
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTreeView::staticMetaObject; })
|
|
17
18
|
// Constructor
|
|
18
19
|
.define_constructor(Constructor<QTreeView, QWidget *>(), Arg("parent"))
|
|
@@ -11,8 +11,9 @@ void Init_qtreewidget(Module rb_mQt6QtWidgets)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQTreeWidget =
|
|
13
13
|
// RubyQt6::QtWidgets::QTreeWidget
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QTreeWidget, QTreeView>(rb_mQt6QtWidgets, "QTreeWidget")
|
|
15
15
|
// RubyQt6-Defined Functions
|
|
16
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QTreeWidget * { return qobject_cast<QTreeWidget *>(object); })
|
|
16
17
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QTreeWidget::staticMetaObject; })
|
|
17
18
|
// Constructor
|
|
18
19
|
.define_constructor(Constructor<QTreeWidget, QWidget *>(), Arg("parent"))
|
|
@@ -75,7 +76,7 @@ void Init_qtreewidget(Module rb_mQt6QtWidgets)
|
|
|
75
76
|
|
|
76
77
|
rb_cQTreeWidgetItem =
|
|
77
78
|
// RubyQt6::QtWidgets::QTreeWidgetItem
|
|
78
|
-
|
|
79
|
+
define_qlass_under<QTreeWidgetItem>(rb_mQt6QtWidgets, "QTreeWidgetItem")
|
|
79
80
|
// RubyQt6-Defined Functions
|
|
80
81
|
.define_singleton_function("_qvariant_register_metatype", []() -> int { return qRegisterMetaType<QTreeWidgetItem *>(); })
|
|
81
82
|
.define_singleton_function("_qvariant_from_value", [](QTreeWidgetItem *value) -> QVariant { return QVariant::fromValue(value); })
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#include "qtwidgets-rb.hpp"
|
|
2
|
+
#include "qtwidgetspreludes-rb.hpp"
|
|
2
3
|
#include "qtwidgetsversion-rb.hpp"
|
|
3
4
|
|
|
4
5
|
#include "qfileiconprovider-rb.hpp"
|
|
@@ -169,6 +170,7 @@ extern "C" void Init_qtwidgets()
|
|
|
169
170
|
Module rb_mQt6 = define_module("RubyQt6");
|
|
170
171
|
Module rb_mQt6QtWidgets = define_module_under(rb_mQt6, "QtWidgets");
|
|
171
172
|
|
|
173
|
+
Init_qtwidgetspreludes(rb_mQt6);
|
|
172
174
|
Init_qtwidgetsversion(rb_mQt6QtWidgets);
|
|
173
175
|
|
|
174
176
|
Init_qfileiconprovider(rb_mQt6QtWidgets);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#include "qtwidgetspreludes-rb.hpp"
|
|
2
|
+
#include <rice/qt6/preludes/libqt6core.hpp>
|
|
3
|
+
#include <rice/qt6/preludes/libqt6gui.hpp>
|
|
4
|
+
|
|
5
|
+
RICE4RUBYQT6_USE_NAMESPACE
|
|
6
|
+
|
|
7
|
+
void Init_qtwidgetspreludes(Module rb_mQt6)
|
|
8
|
+
{
|
|
9
|
+
declare_qlass_under_libqt6core(rb_mQt6);
|
|
10
|
+
declare_qlass_under_libqt6gui(rb_mQt6);
|
|
11
|
+
}
|
|
@@ -12,8 +12,9 @@ void Init_qundoview(Module rb_mQt6QtWidgets)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQUndoView =
|
|
14
14
|
// RubyQt6::QtWidgets::QUndoView
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QUndoView, QListView>(rb_mQt6QtWidgets, "QUndoView")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QUndoView * { return qobject_cast<QUndoView *>(object); })
|
|
17
18
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QUndoView::staticMetaObject; })
|
|
18
19
|
// Constructor
|
|
19
20
|
.define_constructor(Constructor<QUndoView, QWidget *>(), Arg("parent"))
|
|
@@ -21,13 +21,14 @@ void Init_qwidget(Module rb_mQt6QtWidgets)
|
|
|
21
21
|
{
|
|
22
22
|
rb_cQWidget =
|
|
23
23
|
// RubyQt6::QtWidgets::QWidget
|
|
24
|
-
|
|
24
|
+
define_qlass_under<QWidget, QObject>(rb_mQt6QtWidgets, "QWidget")
|
|
25
25
|
// RubyQt6-Defined Functions
|
|
26
26
|
.define_method("_ioc_qpainter_new", [](QWidget *self) -> QPainter * { return new QPainter(self); }, Return().takeOwnership())
|
|
27
27
|
.define_method("_ioc_qpainter_begin", [](QWidget *self, QPainter *painter) -> bool { return painter->begin(self); })
|
|
28
28
|
.define_singleton_function("_qvariant_register_metatype", []() -> int { return qRegisterMetaType<QWidget *>(); })
|
|
29
29
|
.define_singleton_function("_qvariant_from_value", [](QWidget *value) -> QVariant { return QVariant::fromValue(value); })
|
|
30
30
|
.define_singleton_function("_qvariant_to_value", [](const QVariant &qvariant) -> QWidget * { return qvariant.value<QWidget *>(); })
|
|
31
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QWidget * { return qobject_cast<QWidget *>(object); })
|
|
31
32
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QWidget::staticMetaObject; })
|
|
32
33
|
// Constructor
|
|
33
34
|
.define_constructor(Constructor<QWidget, QWidget *>(), Arg("parent"))
|
|
@@ -14,8 +14,9 @@ void Init_qwizard(Module rb_mQt6QtWidgets)
|
|
|
14
14
|
{
|
|
15
15
|
rb_cQWizard =
|
|
16
16
|
// RubyQt6::QtWidgets::QWizard
|
|
17
|
-
|
|
17
|
+
define_qlass_under<QWizard, QDialog>(rb_mQt6QtWidgets, "QWizard")
|
|
18
18
|
// RubyQt6-Defined Functions
|
|
19
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QWizard * { return qobject_cast<QWizard *>(object); })
|
|
19
20
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QWizard::staticMetaObject; })
|
|
20
21
|
// Constructor
|
|
21
22
|
.define_constructor(Constructor<QWizard, QWidget *>(), Arg("parent"))
|
|
@@ -130,8 +131,9 @@ void Init_qwizard(Module rb_mQt6QtWidgets)
|
|
|
130
131
|
|
|
131
132
|
rb_cQWizardPage =
|
|
132
133
|
// RubyQt6::QtWidgets::QWizardPage
|
|
133
|
-
|
|
134
|
+
define_qlass_under<QWizardPage, QWidget>(rb_mQt6QtWidgets, "QWizardPage")
|
|
134
135
|
// RubyQt6-Defined Functions
|
|
136
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QWizardPage * { return qobject_cast<QWizardPage *>(object); })
|
|
135
137
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QWizardPage::staticMetaObject; })
|
|
136
138
|
// Constructor
|
|
137
139
|
.define_constructor(Constructor<QWizardPage, QWidget *>(), Arg("parent"))
|
|
@@ -23,9 +23,6 @@ void Init_t_qtwidgets(Module rb_mQt6T)
|
|
|
23
23
|
// QList<QAbstractButton *>
|
|
24
24
|
define_qlist_under<QAbstractButton *>(rb_mQt6T);
|
|
25
25
|
|
|
26
|
-
// QList<QAction *>
|
|
27
|
-
define_qlist_under<QAction *>(rb_mQt6T);
|
|
28
|
-
|
|
29
26
|
// QList<QMdiSubWindow *>
|
|
30
27
|
define_qlist_under<QMdiSubWindow *>(rb_mQt6T);
|
|
31
28
|
|
|
@@ -14,7 +14,10 @@ module RubyQt6
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
# @!visibility private
|
|
17
|
-
|
|
17
|
+
def self.new
|
|
18
|
+
argv = _initialize_qApp_argv
|
|
19
|
+
_new(argv)._initialize_qApp
|
|
20
|
+
end
|
|
18
21
|
|
|
19
22
|
# @!visibility private
|
|
20
23
|
%w[all_widgets top_level_widgets].each do |meth|
|
|
@@ -24,13 +27,6 @@ module RubyQt6
|
|
|
24
27
|
end
|
|
25
28
|
end
|
|
26
29
|
|
|
27
|
-
# @return [QApplication]
|
|
28
|
-
def initialize
|
|
29
|
-
argv = _initialize_qApp_argv
|
|
30
|
-
_initialize(argv.size, argv.data)
|
|
31
|
-
_initialize_qApp
|
|
32
|
-
end
|
|
33
|
-
|
|
34
30
|
# @!visibility private
|
|
35
31
|
def set_style_sheet(sheet)
|
|
36
32
|
_set_style_sheet(T.to_qstr(sheet))
|