ruby-qt6-qtgui 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/qtgui/qabstractfileiconprovider-rb.cpp +1 -1
- data/ext/qt6/qtgui/qaction-rb.cpp +2 -1
- data/ext/qt6/qtgui/qactiongroup-rb.cpp +2 -1
- data/ext/qt6/qtgui/qbrush-rb.cpp +1 -1
- data/ext/qt6/qtgui/qclipboard-rb.cpp +2 -1
- data/ext/qt6/qtgui/qcolor-rb.cpp +1 -1
- data/ext/qt6/qtgui/qcursor-rb.cpp +1 -1
- data/ext/qt6/qtgui/qdesktopservices-rb.cpp +1 -1
- data/ext/qt6/qtgui/qevent-rb.cpp +41 -41
- data/ext/qt6/qtgui/qfilesystemmodel-rb.cpp +2 -1
- data/ext/qt6/qtgui/qfont-rb.cpp +1 -1
- data/ext/qt6/qtgui/qfontdatabase-rb.cpp +1 -1
- data/ext/qt6/qtgui/qfontinfo-rb.cpp +1 -1
- data/ext/qt6/qtgui/qfontmetrics-rb.cpp +2 -2
- data/ext/qt6/qtgui/qgradient-rb.cpp +4 -4
- data/ext/qt6/qtgui/qguiapplication-rb.cpp +14 -3
- data/ext/qt6/qtgui/qicon-rb.cpp +5 -5
- data/ext/qt6/qtgui/qimage-rb.cpp +1 -1
- data/ext/qt6/qtgui/qimagewriter-rb.cpp +1 -1
- data/ext/qt6/qtgui/qkeysequence-rb.cpp +1 -1
- data/ext/qt6/qtgui/qmovie-rb.cpp +2 -1
- data/ext/qt6/qtgui/qpagedpaintdevice-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpaintdevice-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpainter-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpainterpath-rb.cpp +2 -2
- data/ext/qt6/qtgui/qpainterpathstroker-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpalette-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpen-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpicture-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpixmap-rb.cpp +1 -1
- data/ext/qt6/qtgui/qpolygon-rb.cpp +2 -2
- data/ext/qt6/qtgui/qregion-rb.cpp +1 -1
- data/ext/qt6/qtgui/qscreen-rb.cpp +2 -1
- data/ext/qt6/qtgui/qshortcut-rb.cpp +2 -1
- data/ext/qt6/qtgui/qstandarditemmodel-rb.cpp +3 -2
- data/ext/qt6/qtgui/qstylehints-rb.cpp +2 -1
- data/ext/qt6/qtgui/qtextcursor-rb.cpp +1 -1
- data/ext/qt6/qtgui/qtextdocument-rb.cpp +2 -1
- data/ext/qt6/qtgui/qtextformat-rb.cpp +9 -9
- data/ext/qt6/qtgui/qtextlayout-rb.cpp +2 -2
- data/ext/qt6/qtgui/qtextlist-rb.cpp +2 -1
- data/ext/qt6/qtgui/qtextobject-rb.cpp +7 -4
- data/ext/qt6/qtgui/qtextoption-rb.cpp +1 -1
- data/ext/qt6/qtgui/qtexttable-rb.cpp +3 -2
- data/ext/qt6/qtgui/qtgui-rb.cpp +2 -0
- data/ext/qt6/qtgui/qtguipreludes-rb.cpp +9 -0
- data/ext/qt6/qtgui/qtguipreludes-rb.hpp +5 -0
- data/ext/qt6/qtgui/qtransform-rb.cpp +1 -1
- data/ext/qt6/qtgui/qvalidator-rb.cpp +8 -4
- data/ext/qt6/qtgui/qwindow-rb.cpp +2 -1
- data/ext/qt6/qtgui/t-qtgui-rb.cpp +4 -0
- data/lib/qt6/qtgui/qguiapplication.rb +2 -6
- data/lib/qt6/qtgui/qicon.rb +6 -0
- data/lib/qt6/qtgui/qpainter.rb +2 -1
- data/lib/qt6/qtgui/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c6ffa9dbf1a76178bb12f994d15192057289b68a0a369c0bd5f666310909de1
|
|
4
|
+
data.tar.gz: 1c376e5b74c35ecd4d9e33a0dbb4fc3d95c1746d5b3e4b738d38d06153164856
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52febd230bed50cc2633ad2b1a53eaefcc0e93d6425297750ec5ccbd2a3437eaf8aec985836316fcffc8c2f1e9cf8ff42a21c4ba1b6283cdb01d3c149514d68a
|
|
7
|
+
data.tar.gz: 5dc4639430e8ffd9040b573d4eb6092e7981ece6a61a0e789f785f7dd634b2d2b614d4f2030c924ebd8e5c8cfa97c7f63e31c9302f8a9fde56b3c757f6dc3021
|
|
@@ -9,5 +9,5 @@ void Init_qabstractfileiconprovider(Module rb_mQt6QtGui)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQAbstractFileIconProvider =
|
|
11
11
|
// RubyQt6::QtGui::QAbstractFileIconProvider
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QAbstractFileIconProvider>(rb_mQt6QtGui, "QAbstractFileIconProvider");
|
|
13
13
|
}
|
|
@@ -13,11 +13,12 @@ void Init_qaction(Module rb_mQt6QtGui)
|
|
|
13
13
|
{
|
|
14
14
|
rb_cQAction =
|
|
15
15
|
// RubyQt6::QtGui::QAction
|
|
16
|
-
|
|
16
|
+
define_qlass_under<QAction, QObject>(rb_mQt6QtGui, "QAction")
|
|
17
17
|
// RubyQt6-Defined Functions
|
|
18
18
|
.define_singleton_function("_qvariant_register_metatype", []() -> int { return qRegisterMetaType<QAction *>(); })
|
|
19
19
|
.define_singleton_function("_qvariant_from_value", [](QAction *value) -> QVariant { return QVariant::fromValue(value); })
|
|
20
20
|
.define_singleton_function("_qvariant_to_value", [](const QVariant &qvariant) -> QAction * { return qvariant.value<QAction *>(); })
|
|
21
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QAction * { return qobject_cast<QAction *>(object); })
|
|
21
22
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QAction::staticMetaObject; })
|
|
22
23
|
// Constructor
|
|
23
24
|
.define_constructor(Constructor<QAction, const QIcon &, const QString &, QObject *>(), Arg("icon"), Arg("text"), Arg("parent"))
|
|
@@ -10,8 +10,9 @@ void Init_qactiongroup(Module rb_mQt6QtGui)
|
|
|
10
10
|
{
|
|
11
11
|
rb_cQActionGroup =
|
|
12
12
|
// RubyQt6::QtGui::QActionGroup
|
|
13
|
-
|
|
13
|
+
define_qlass_under<QActionGroup, QObject>(rb_mQt6QtGui, "QActionGroup")
|
|
14
14
|
// RubyQt6-Defined Functions
|
|
15
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QActionGroup * { return qobject_cast<QActionGroup *>(object); })
|
|
15
16
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QActionGroup::staticMetaObject; })
|
|
16
17
|
// Constructor
|
|
17
18
|
.define_constructor(Constructor<QActionGroup, QObject *>(), Arg("parent"))
|
data/ext/qt6/qtgui/qbrush-rb.cpp
CHANGED
|
@@ -9,7 +9,7 @@ void Init_qbrush(Module rb_mQt6QtGui)
|
|
|
9
9
|
{
|
|
10
10
|
rb_cQBrush =
|
|
11
11
|
// RubyQt6::QtGui::QBrush
|
|
12
|
-
|
|
12
|
+
define_qlass_under<QBrush>(rb_mQt6QtGui, "QBrush")
|
|
13
13
|
// RubyQt6-Defined Functions
|
|
14
14
|
.define_singleton_function("_operator_equal", [](QBrush *lhs, QBrush *rhs) -> bool { return *lhs == *rhs; }, Arg("lhs"), Arg("rhs"))
|
|
15
15
|
// Constructor
|
|
@@ -14,8 +14,9 @@ void Init_qclipboard(Module rb_mQt6QtGui)
|
|
|
14
14
|
{
|
|
15
15
|
rb_cQClipboard =
|
|
16
16
|
// RubyQt6::QtGui::QClipboard
|
|
17
|
-
|
|
17
|
+
define_qlass_under<QClipboard, QObject>(rb_mQt6QtGui, "QClipboard")
|
|
18
18
|
// RubyQt6-Defined Functions
|
|
19
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QClipboard * { return qobject_cast<QClipboard *>(object); })
|
|
19
20
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QClipboard::staticMetaObject; })
|
|
20
21
|
// Public Functions
|
|
21
22
|
.define_method("clear", &QClipboard::clear, Arg("mode") = static_cast<QClipboard::Mode>(QClipboard::Mode::Clipboard))
|
data/ext/qt6/qtgui/qcolor-rb.cpp
CHANGED
|
@@ -10,7 +10,7 @@ void Init_qcolor(Module rb_mQt6QtGui)
|
|
|
10
10
|
{
|
|
11
11
|
rb_cQColor =
|
|
12
12
|
// RubyQt6::QtGui::QColor
|
|
13
|
-
|
|
13
|
+
define_qlass_under<QColor>(rb_mQt6QtGui, "QColor")
|
|
14
14
|
// RubyQt6-Defined Functions
|
|
15
15
|
.define_singleton_function("_operator_equal", [](QColor *lhs, QColor *rhs) -> bool { return *lhs == *rhs; }, Arg("lhs"), Arg("rhs"))
|
|
16
16
|
.define_singleton_function("_qvariant_register_metatype", []() -> int { return qRegisterMetaType<QColor>(); })
|
|
@@ -11,7 +11,7 @@ void Init_qcursor(Module rb_mQt6QtGui)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQCursor =
|
|
13
13
|
// RubyQt6::QtGui::QCursor
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QCursor>(rb_mQt6QtGui, "QCursor")
|
|
15
15
|
// Constructor
|
|
16
16
|
.define_constructor(Constructor<QCursor>())
|
|
17
17
|
.define_constructor(Constructor<QCursor, Qt::CursorShape>(), Arg("shape"))
|
|
@@ -11,7 +11,7 @@ void Init_qdesktopservices(Module rb_mQt6QtGui)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQDesktopServices =
|
|
13
13
|
// RubyQt6::QtGui::QDesktopServices
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QDesktopServices>(rb_mQt6QtGui, "QDesktopServices")
|
|
15
15
|
// Static Public Members
|
|
16
16
|
.define_singleton_function("open_url", &QDesktopServices::openUrl, Arg("url"));
|
|
17
17
|
}
|
data/ext/qt6/qtgui/qevent-rb.cpp
CHANGED
|
@@ -56,34 +56,34 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
56
56
|
{
|
|
57
57
|
rb_cQActionEvent =
|
|
58
58
|
// RubyQt6::QtGui::QActionEvent
|
|
59
|
-
|
|
59
|
+
define_qlass_under<QActionEvent, QEvent>(rb_mQt6QtGui, "QActionEvent")
|
|
60
60
|
// Public Functions
|
|
61
61
|
.define_method("action", &QActionEvent::action)
|
|
62
62
|
.define_method("before", &QActionEvent::before);
|
|
63
63
|
|
|
64
64
|
rb_cQApplicationStateChangeEvent =
|
|
65
65
|
// RubyQt6::QtGui::QApplicationStateChangeEvent
|
|
66
|
-
|
|
66
|
+
define_qlass_under<QApplicationStateChangeEvent, QEvent>(rb_mQt6QtGui, "QApplicationStateChangeEvent")
|
|
67
67
|
// Public Functions
|
|
68
68
|
.define_method("application_state", &QApplicationStateChangeEvent::applicationState);
|
|
69
69
|
|
|
70
70
|
rb_cQChildWindowEvent =
|
|
71
71
|
// RubyQt6::QtGui::QChildWindowEvent
|
|
72
|
-
|
|
72
|
+
define_qlass_under<QChildWindowEvent, QEvent>(rb_mQt6QtGui, "QChildWindowEvent")
|
|
73
73
|
// Public Functions
|
|
74
74
|
.define_method("child", &QChildWindowEvent::child);
|
|
75
75
|
|
|
76
76
|
rb_cQCloseEvent =
|
|
77
77
|
// RubyQt6::QtGui::QCloseEvent
|
|
78
|
-
|
|
78
|
+
define_qlass_under<QCloseEvent, QEvent>(rb_mQt6QtGui, "QCloseEvent");
|
|
79
79
|
|
|
80
80
|
rb_cQDragLeaveEvent =
|
|
81
81
|
// RubyQt6::QtGui::QDragLeaveEvent
|
|
82
|
-
|
|
82
|
+
define_qlass_under<QDragLeaveEvent, QEvent>(rb_mQt6QtGui, "QDragLeaveEvent");
|
|
83
83
|
|
|
84
84
|
rb_cQDropEvent =
|
|
85
85
|
// RubyQt6::QtGui::QDropEvent
|
|
86
|
-
|
|
86
|
+
define_qlass_under<QDropEvent, QEvent>(rb_mQt6QtGui, "QDropEvent")
|
|
87
87
|
// Public Functions
|
|
88
88
|
.define_method("accept_proposed_action", &QDropEvent::acceptProposedAction)
|
|
89
89
|
.define_method("buttons", &QDropEvent::buttons)
|
|
@@ -98,7 +98,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
98
98
|
|
|
99
99
|
rb_cQDragMoveEvent =
|
|
100
100
|
// RubyQt6::QtGui::QDragMoveEvent
|
|
101
|
-
|
|
101
|
+
define_qlass_under<QDragMoveEvent, QDropEvent>(rb_mQt6QtGui, "QDragMoveEvent")
|
|
102
102
|
// Public Functions
|
|
103
103
|
.define_method<void (QDragMoveEvent::*)()>("accept", &QDragMoveEvent::accept)
|
|
104
104
|
.define_method<void (QDragMoveEvent::*)(const QRect &)>("accept", &QDragMoveEvent::accept, Arg("r"))
|
|
@@ -108,22 +108,22 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
108
108
|
|
|
109
109
|
rb_cQDragEnterEvent =
|
|
110
110
|
// RubyQt6::QtGui::QDragEnterEvent
|
|
111
|
-
|
|
111
|
+
define_qlass_under<QDragEnterEvent, QDragMoveEvent>(rb_mQt6QtGui, "QDragEnterEvent");
|
|
112
112
|
|
|
113
113
|
rb_cQExposeEvent =
|
|
114
114
|
// RubyQt6::QtGui::QExposeEvent
|
|
115
|
-
|
|
115
|
+
define_qlass_under<QExposeEvent, QEvent>(rb_mQt6QtGui, "QExposeEvent");
|
|
116
116
|
|
|
117
117
|
rb_cQFileOpenEvent =
|
|
118
118
|
// RubyQt6::QtGui::QFileOpenEvent
|
|
119
|
-
|
|
119
|
+
define_qlass_under<QFileOpenEvent, QEvent>(rb_mQt6QtGui, "QFileOpenEvent")
|
|
120
120
|
// Public Functions
|
|
121
121
|
.define_method("file", &QFileOpenEvent::file)
|
|
122
122
|
.define_method("url", &QFileOpenEvent::url);
|
|
123
123
|
|
|
124
124
|
rb_cQFocusEvent =
|
|
125
125
|
// RubyQt6::QtGui::QFocusEvent
|
|
126
|
-
|
|
126
|
+
define_qlass_under<QFocusEvent, QEvent>(rb_mQt6QtGui, "QFocusEvent")
|
|
127
127
|
// Public Functions
|
|
128
128
|
.define_method("got_focus", &QFocusEvent::gotFocus)
|
|
129
129
|
.define_method("lost_focus", &QFocusEvent::lostFocus)
|
|
@@ -131,7 +131,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
131
131
|
|
|
132
132
|
rb_cQHelpEvent =
|
|
133
133
|
// RubyQt6::QtGui::QHelpEvent
|
|
134
|
-
|
|
134
|
+
define_qlass_under<QHelpEvent, QEvent>(rb_mQt6QtGui, "QHelpEvent")
|
|
135
135
|
// Public Functions
|
|
136
136
|
.define_method("global_pos", &QHelpEvent::globalPos)
|
|
137
137
|
.define_method("global_x", &QHelpEvent::globalX)
|
|
@@ -142,15 +142,15 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
142
142
|
|
|
143
143
|
rb_cQHideEvent =
|
|
144
144
|
// RubyQt6::QtGui::QHideEvent
|
|
145
|
-
|
|
145
|
+
define_qlass_under<QHideEvent, QEvent>(rb_mQt6QtGui, "QHideEvent");
|
|
146
146
|
|
|
147
147
|
rb_cQIconDragEvent =
|
|
148
148
|
// RubyQt6::QtGui::QIconDragEvent
|
|
149
|
-
|
|
149
|
+
define_qlass_under<QIconDragEvent, QEvent>(rb_mQt6QtGui, "QIconDragEvent");
|
|
150
150
|
|
|
151
151
|
rb_cQInputEvent =
|
|
152
152
|
// RubyQt6::QtGui::QInputEvent
|
|
153
|
-
|
|
153
|
+
define_qlass_under<QInputEvent, QEvent>(rb_mQt6QtGui, "QInputEvent")
|
|
154
154
|
// Public Functions
|
|
155
155
|
.define_method("device", &QInputEvent::device)
|
|
156
156
|
.define_method("device_type", &QInputEvent::deviceType)
|
|
@@ -161,7 +161,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
161
161
|
|
|
162
162
|
rb_cQInputMethodEvent =
|
|
163
163
|
// RubyQt6::QtGui::QInputMethodEvent
|
|
164
|
-
|
|
164
|
+
define_qlass_under<QInputMethodEvent, QEvent>(rb_mQt6QtGui, "QInputMethodEvent")
|
|
165
165
|
// Public Functions
|
|
166
166
|
.define_method("attributes", &QInputMethodEvent::attributes)
|
|
167
167
|
.define_method("commit_string", &QInputMethodEvent::commitString)
|
|
@@ -172,7 +172,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
172
172
|
|
|
173
173
|
rb_cQInputMethodQueryEvent =
|
|
174
174
|
// RubyQt6::QtGui::QInputMethodQueryEvent
|
|
175
|
-
|
|
175
|
+
define_qlass_under<QInputMethodQueryEvent, QEvent>(rb_mQt6QtGui, "QInputMethodQueryEvent")
|
|
176
176
|
// Public Functions
|
|
177
177
|
.define_method("queries", &QInputMethodQueryEvent::queries)
|
|
178
178
|
.define_method("set_value", &QInputMethodQueryEvent::setValue, Arg("query"), Arg("value"))
|
|
@@ -180,39 +180,39 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
180
180
|
|
|
181
181
|
rb_cQMoveEvent =
|
|
182
182
|
// RubyQt6::QtGui::QMoveEvent
|
|
183
|
-
|
|
183
|
+
define_qlass_under<QMoveEvent, QEvent>(rb_mQt6QtGui, "QMoveEvent")
|
|
184
184
|
// Public Functions
|
|
185
185
|
.define_method("old_pos", &QMoveEvent::oldPos)
|
|
186
186
|
.define_method("pos", &QMoveEvent::pos);
|
|
187
187
|
|
|
188
188
|
rb_cQPaintEvent =
|
|
189
189
|
// RubyQt6::QtGui::QPaintEvent
|
|
190
|
-
|
|
190
|
+
define_qlass_under<QPaintEvent, QEvent>(rb_mQt6QtGui, "QPaintEvent")
|
|
191
191
|
// Public Functions
|
|
192
192
|
.define_method("rect", &QPaintEvent::rect)
|
|
193
193
|
.define_method("region", &QPaintEvent::region);
|
|
194
194
|
|
|
195
195
|
rb_cQPlatformSurfaceEvent =
|
|
196
196
|
// RubyQt6::QtGui::QPlatformSurfaceEvent
|
|
197
|
-
|
|
197
|
+
define_qlass_under<QPlatformSurfaceEvent, QEvent>(rb_mQt6QtGui, "QPlatformSurfaceEvent");
|
|
198
198
|
|
|
199
199
|
rb_cQResizeEvent =
|
|
200
200
|
// RubyQt6::QtGui::QResizeEvent
|
|
201
|
-
|
|
201
|
+
define_qlass_under<QResizeEvent, QEvent>(rb_mQt6QtGui, "QResizeEvent")
|
|
202
202
|
// Public Functions
|
|
203
203
|
.define_method("old_size", &QResizeEvent::oldSize)
|
|
204
204
|
.define_method("size", &QResizeEvent::size);
|
|
205
205
|
|
|
206
206
|
rb_cQScreenOrientationChangeEvent =
|
|
207
207
|
// RubyQt6::QtGui::QScreenOrientationChangeEvent
|
|
208
|
-
|
|
208
|
+
define_qlass_under<QScreenOrientationChangeEvent, QEvent>(rb_mQt6QtGui, "QScreenOrientationChangeEvent")
|
|
209
209
|
// Public Functions
|
|
210
210
|
.define_method("orientation", &QScreenOrientationChangeEvent::orientation)
|
|
211
211
|
.define_method("screen", &QScreenOrientationChangeEvent::screen);
|
|
212
212
|
|
|
213
213
|
rb_cQScrollEvent =
|
|
214
214
|
// RubyQt6::QtGui::QScrollEvent
|
|
215
|
-
|
|
215
|
+
define_qlass_under<QScrollEvent, QEvent>(rb_mQt6QtGui, "QScrollEvent")
|
|
216
216
|
// Public Functions
|
|
217
217
|
.define_method("content_pos", &QScrollEvent::contentPos)
|
|
218
218
|
.define_method("overshoot_distance", &QScrollEvent::overshootDistance)
|
|
@@ -220,7 +220,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
220
220
|
|
|
221
221
|
rb_cQScrollPrepareEvent =
|
|
222
222
|
// RubyQt6::QtGui::QScrollPrepareEvent
|
|
223
|
-
|
|
223
|
+
define_qlass_under<QScrollPrepareEvent, QEvent>(rb_mQt6QtGui, "QScrollPrepareEvent")
|
|
224
224
|
// Public Functions
|
|
225
225
|
.define_method("content_pos", &QScrollPrepareEvent::contentPos)
|
|
226
226
|
.define_method("content_pos_range", &QScrollPrepareEvent::contentPosRange)
|
|
@@ -232,7 +232,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
232
232
|
|
|
233
233
|
rb_cQShortcutEvent =
|
|
234
234
|
// RubyQt6::QtGui::QShortcutEvent
|
|
235
|
-
|
|
235
|
+
define_qlass_under<QShortcutEvent, QEvent>(rb_mQt6QtGui, "QShortcutEvent")
|
|
236
236
|
// Public Functions
|
|
237
237
|
.define_method("ambiguous?", &QShortcutEvent::isAmbiguous)
|
|
238
238
|
.define_method("key", &QShortcutEvent::key)
|
|
@@ -240,36 +240,36 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
240
240
|
|
|
241
241
|
rb_cQShowEvent =
|
|
242
242
|
// RubyQt6::QtGui::QShowEvent
|
|
243
|
-
|
|
243
|
+
define_qlass_under<QShowEvent, QEvent>(rb_mQt6QtGui, "QShowEvent");
|
|
244
244
|
|
|
245
245
|
rb_cQStatusTipEvent =
|
|
246
246
|
// RubyQt6::QtGui::QStatusTipEvent
|
|
247
|
-
|
|
247
|
+
define_qlass_under<QStatusTipEvent, QEvent>(rb_mQt6QtGui, "QStatusTipEvent")
|
|
248
248
|
// Public Functions
|
|
249
249
|
.define_method("tip", &QStatusTipEvent::tip);
|
|
250
250
|
|
|
251
251
|
rb_cQToolBarChangeEvent =
|
|
252
252
|
// RubyQt6::QtGui::QToolBarChangeEvent
|
|
253
|
-
|
|
253
|
+
define_qlass_under<QToolBarChangeEvent, QEvent>(rb_mQt6QtGui, "QToolBarChangeEvent")
|
|
254
254
|
// Public Functions
|
|
255
255
|
.define_method("toggle", &QToolBarChangeEvent::toggle);
|
|
256
256
|
|
|
257
257
|
rb_cQWhatsThisClickedEvent =
|
|
258
258
|
// RubyQt6::QtGui::QWhatsThisClickedEvent
|
|
259
|
-
|
|
259
|
+
define_qlass_under<QWhatsThisClickedEvent, QEvent>(rb_mQt6QtGui, "QWhatsThisClickedEvent")
|
|
260
260
|
// Public Functions
|
|
261
261
|
.define_method("href", &QWhatsThisClickedEvent::href);
|
|
262
262
|
|
|
263
263
|
rb_cQWindowStateChangeEvent =
|
|
264
264
|
// RubyQt6::QtGui::QWindowStateChangeEvent
|
|
265
|
-
|
|
265
|
+
define_qlass_under<QWindowStateChangeEvent, QEvent>(rb_mQt6QtGui, "QWindowStateChangeEvent")
|
|
266
266
|
// Public Functions
|
|
267
267
|
.define_method("override?", &QWindowStateChangeEvent::isOverride)
|
|
268
268
|
.define_method("old_state", &QWindowStateChangeEvent::oldState);
|
|
269
269
|
|
|
270
270
|
rb_cQContextMenuEvent =
|
|
271
271
|
// RubyQt6::QtGui::QContextMenuEvent
|
|
272
|
-
|
|
272
|
+
define_qlass_under<QContextMenuEvent, QInputEvent>(rb_mQt6QtGui, "QContextMenuEvent")
|
|
273
273
|
// Public Functions
|
|
274
274
|
.define_method("global_pos", &QContextMenuEvent::globalPos)
|
|
275
275
|
.define_method("global_x", &QContextMenuEvent::globalX)
|
|
@@ -281,7 +281,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
281
281
|
|
|
282
282
|
rb_cQKeyEvent =
|
|
283
283
|
// RubyQt6::QtGui::QKeyEvent
|
|
284
|
-
|
|
284
|
+
define_qlass_under<QKeyEvent, QInputEvent>(rb_mQt6QtGui, "QKeyEvent")
|
|
285
285
|
// Public Functions
|
|
286
286
|
.define_method("count", &QKeyEvent::count)
|
|
287
287
|
.define_method("auto_repeat?", &QKeyEvent::isAutoRepeat)
|
|
@@ -296,7 +296,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
296
296
|
|
|
297
297
|
rb_cQPointerEvent =
|
|
298
298
|
// RubyQt6::QtGui::QPointerEvent
|
|
299
|
-
|
|
299
|
+
define_qlass_under<QPointerEvent, QInputEvent>(rb_mQt6QtGui, "QPointerEvent")
|
|
300
300
|
// Public Functions
|
|
301
301
|
.define_method("add_passive_grabber", &QPointerEvent::addPassiveGrabber, Arg("point"), Arg("grabber"))
|
|
302
302
|
.define_method("all_points_accepted", &QPointerEvent::allPointsAccepted)
|
|
@@ -320,7 +320,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
320
320
|
|
|
321
321
|
rb_cQSinglePointEvent =
|
|
322
322
|
// RubyQt6::QtGui::QSinglePointEvent
|
|
323
|
-
|
|
323
|
+
define_qlass_under<QSinglePointEvent, QPointerEvent>(rb_mQt6QtGui, "QSinglePointEvent")
|
|
324
324
|
// Public Functions
|
|
325
325
|
.define_method("button", &QSinglePointEvent::button)
|
|
326
326
|
.define_method("buttons", &QSinglePointEvent::buttons)
|
|
@@ -335,11 +335,11 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
335
335
|
|
|
336
336
|
rb_cQEnterEvent =
|
|
337
337
|
// RubyQt6::QtGui::QEnterEvent
|
|
338
|
-
|
|
338
|
+
define_qlass_under<QEnterEvent, QSinglePointEvent>(rb_mQt6QtGui, "QEnterEvent");
|
|
339
339
|
|
|
340
340
|
rb_cQHoverEvent =
|
|
341
341
|
// RubyQt6::QtGui::QHoverEvent
|
|
342
|
-
|
|
342
|
+
define_qlass_under<QHoverEvent, QSinglePointEvent>(rb_mQt6QtGui, "QHoverEvent")
|
|
343
343
|
// Public Functions
|
|
344
344
|
.define_method("old_pos", &QHoverEvent::oldPos)
|
|
345
345
|
.define_method("old_pos_f", &QHoverEvent::oldPosF)
|
|
@@ -347,14 +347,14 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
347
347
|
|
|
348
348
|
rb_cQMouseEvent =
|
|
349
349
|
// RubyQt6::QtGui::QMouseEvent
|
|
350
|
-
|
|
350
|
+
define_qlass_under<QMouseEvent, QSinglePointEvent>(rb_mQt6QtGui, "QMouseEvent")
|
|
351
351
|
// Public Functions
|
|
352
352
|
.define_method("source", &QMouseEvent::source)
|
|
353
353
|
.define_method("flags", &QMouseEvent::flags);
|
|
354
354
|
|
|
355
355
|
rb_cQNativeGestureEvent =
|
|
356
356
|
// RubyQt6::QtGui::QNativeGestureEvent
|
|
357
|
-
|
|
357
|
+
define_qlass_under<QNativeGestureEvent, QSinglePointEvent>(rb_mQt6QtGui, "QNativeGestureEvent")
|
|
358
358
|
// Public Functions
|
|
359
359
|
.define_method("delta", &QNativeGestureEvent::delta)
|
|
360
360
|
.define_method("finger_count", &QNativeGestureEvent::fingerCount)
|
|
@@ -363,7 +363,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
363
363
|
|
|
364
364
|
rb_cQTabletEvent =
|
|
365
365
|
// RubyQt6::QtGui::QTabletEvent
|
|
366
|
-
|
|
366
|
+
define_qlass_under<QTabletEvent, QSinglePointEvent>(rb_mQt6QtGui, "QTabletEvent")
|
|
367
367
|
// Public Functions
|
|
368
368
|
.define_method("pressure", &QTabletEvent::pressure)
|
|
369
369
|
.define_method("rotation", &QTabletEvent::rotation)
|
|
@@ -374,7 +374,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
374
374
|
|
|
375
375
|
rb_cQWheelEvent =
|
|
376
376
|
// RubyQt6::QtGui::QWheelEvent
|
|
377
|
-
|
|
377
|
+
define_qlass_under<QWheelEvent, QSinglePointEvent>(rb_mQt6QtGui, "QWheelEvent")
|
|
378
378
|
// Public Functions
|
|
379
379
|
.define_method("angle_delta", &QWheelEvent::angleDelta)
|
|
380
380
|
.define_method("has_pixel_delta", &QWheelEvent::hasPixelDelta)
|
|
@@ -389,7 +389,7 @@ void Init_qevent(Module rb_mQt6QtGui)
|
|
|
389
389
|
|
|
390
390
|
rb_cQTouchEvent =
|
|
391
391
|
// RubyQt6::QtGui::QTouchEvent
|
|
392
|
-
|
|
392
|
+
define_qlass_under<QTouchEvent, QPointerEvent>(rb_mQt6QtGui, "QTouchEvent")
|
|
393
393
|
// Public Functions
|
|
394
394
|
.define_method("begin_event?", &QTouchEvent::isBeginEvent)
|
|
395
395
|
.define_method("end_event?", &QTouchEvent::isEndEvent)
|
|
@@ -14,8 +14,9 @@ void Init_qfilesystemmodel(Module rb_mQt6QtGui)
|
|
|
14
14
|
{
|
|
15
15
|
rb_cQFileSystemModel =
|
|
16
16
|
// RubyQt6::QtGui::QFileSystemModel
|
|
17
|
-
|
|
17
|
+
define_qlass_under<QFileSystemModel, QAbstractItemModel>(rb_mQt6QtGui, "QFileSystemModel")
|
|
18
18
|
// RubyQt6-Defined Functions
|
|
19
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QFileSystemModel * { return qobject_cast<QFileSystemModel *>(object); })
|
|
19
20
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QFileSystemModel::staticMetaObject; })
|
|
20
21
|
// Constructor
|
|
21
22
|
.define_constructor(Constructor<QFileSystemModel, QObject *>(), Arg("parent"))
|
data/ext/qt6/qtgui/qfont-rb.cpp
CHANGED
|
@@ -12,7 +12,7 @@ void Init_qfont(Module rb_mQt6QtGui)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQFont =
|
|
14
14
|
// RubyQt6::QtGui::QFont
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QFont>(rb_mQt6QtGui, "QFont")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
17
|
.define_singleton_function("_operator_equal", [](QFont *lhs, QFont *rhs) -> bool { return *lhs == *rhs; }, Arg("lhs"), Arg("rhs"))
|
|
18
18
|
// Constructor
|
|
@@ -13,7 +13,7 @@ void Init_qfontdatabase(Module rb_mQt6QtGui)
|
|
|
13
13
|
{
|
|
14
14
|
rb_cQFontDatabase =
|
|
15
15
|
// RubyQt6::QtGui::QFontDatabase
|
|
16
|
-
|
|
16
|
+
define_qlass_under<QFontDatabase>(rb_mQt6QtGui, "QFontDatabase")
|
|
17
17
|
// Static Public Members
|
|
18
18
|
.define_singleton_function("add_application_emoji_font_family", &QFontDatabase::addApplicationEmojiFontFamily, Arg("family_name"))
|
|
19
19
|
.define_singleton_function("add_application_fallback_font_family", &QFontDatabase::addApplicationFallbackFontFamily, Arg("script"), Arg("family_name"))
|
|
@@ -11,7 +11,7 @@ void Init_qfontinfo(Module rb_mQt6QtGui)
|
|
|
11
11
|
{
|
|
12
12
|
rb_cQFontInfo =
|
|
13
13
|
// RubyQt6::QtGui::QFontInfo
|
|
14
|
-
|
|
14
|
+
define_qlass_under<QFontInfo>(rb_mQt6QtGui, "QFontInfo")
|
|
15
15
|
// Constructor
|
|
16
16
|
.define_constructor(Constructor<QFontInfo, const QFont &>(), Arg("font"))
|
|
17
17
|
// Public Functions
|
|
@@ -12,7 +12,7 @@ void Init_qfontmetrics(Module rb_mQt6QtGui)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQFontMetrics =
|
|
14
14
|
// RubyQt6::QtGui::QFontMetrics
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QFontMetrics>(rb_mQt6QtGui, "QFontMetrics")
|
|
16
16
|
// Constructor
|
|
17
17
|
.define_constructor(Constructor<QFontMetrics, const QFont &>(), Arg("font"))
|
|
18
18
|
// Public Functions
|
|
@@ -51,7 +51,7 @@ void Init_qfontmetrics(Module rb_mQt6QtGui)
|
|
|
51
51
|
|
|
52
52
|
rb_cQFontMetricsF =
|
|
53
53
|
// RubyQt6::QtGui::QFontMetricsF
|
|
54
|
-
|
|
54
|
+
define_qlass_under<QFontMetricsF>(rb_mQt6QtGui, "QFontMetricsF")
|
|
55
55
|
// Constructor
|
|
56
56
|
.define_constructor(Constructor<QFontMetricsF, const QFont &>(), Arg("font"))
|
|
57
57
|
.define_constructor(Constructor<QFontMetricsF, const QFontMetrics &>(), Arg("font_metrics"))
|
|
@@ -12,7 +12,7 @@ void Init_qgradient(Module rb_mQt6QtGui)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQGradient =
|
|
14
14
|
// RubyQt6::QtGui::QGradient
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QGradient>(rb_mQt6QtGui, "QGradient")
|
|
16
16
|
// RubyQt6-Defined Functions
|
|
17
17
|
.define_singleton_function("_operator_equal", [](QGradient *lhs, QGradient *rhs) -> bool { return *lhs == *rhs; }, Arg("lhs"), Arg("rhs"))
|
|
18
18
|
// Constructor
|
|
@@ -32,7 +32,7 @@ void Init_qgradient(Module rb_mQt6QtGui)
|
|
|
32
32
|
|
|
33
33
|
rb_cQConicalGradient =
|
|
34
34
|
// RubyQt6::QtGui::QConicalGradient
|
|
35
|
-
|
|
35
|
+
define_qlass_under<QConicalGradient, QGradient>(rb_mQt6QtGui, "QConicalGradient")
|
|
36
36
|
// Constructor
|
|
37
37
|
.define_constructor(Constructor<QConicalGradient>())
|
|
38
38
|
.define_constructor(Constructor<QConicalGradient, qreal, qreal, qreal>(), Arg("center_x"), Arg("center_y"), Arg("start_angle"))
|
|
@@ -46,7 +46,7 @@ void Init_qgradient(Module rb_mQt6QtGui)
|
|
|
46
46
|
|
|
47
47
|
rb_cQLinearGradient =
|
|
48
48
|
// RubyQt6::QtGui::QLinearGradient
|
|
49
|
-
|
|
49
|
+
define_qlass_under<QLinearGradient, QGradient>(rb_mQt6QtGui, "QLinearGradient")
|
|
50
50
|
// Constructor
|
|
51
51
|
.define_constructor(Constructor<QLinearGradient>())
|
|
52
52
|
.define_constructor(Constructor<QLinearGradient, qreal, qreal, qreal, qreal>(), Arg("start_x"), Arg("start_y"), Arg("final_stop_x"), Arg("final_stop_y"))
|
|
@@ -61,7 +61,7 @@ void Init_qgradient(Module rb_mQt6QtGui)
|
|
|
61
61
|
|
|
62
62
|
rb_cQRadialGradient =
|
|
63
63
|
// RubyQt6::QtGui::QRadialGradient
|
|
64
|
-
|
|
64
|
+
define_qlass_under<QRadialGradient, QGradient>(rb_mQt6QtGui, "QRadialGradient")
|
|
65
65
|
// Constructor
|
|
66
66
|
.define_constructor(Constructor<QRadialGradient>())
|
|
67
67
|
.define_constructor(Constructor<QRadialGradient, qreal, qreal, qreal, qreal, qreal, qreal>(), Arg("cx"), Arg("cy"), Arg("center_radius"), Arg("fx"), Arg("fy"), Arg("focal_radius"))
|
|
@@ -15,15 +15,26 @@ RICE4RUBYQT6_USE_NAMESPACE
|
|
|
15
15
|
|
|
16
16
|
Class rb_cQGuiApplication;
|
|
17
17
|
|
|
18
|
+
QGuiApplication* QGuiApplication_new(const QList<QByteArray>& strlist)
|
|
19
|
+
{
|
|
20
|
+
static int argc = strlist.size();
|
|
21
|
+
static char** argv = new char*[argc];
|
|
22
|
+
for (int i = 0; i < argc; ++i) {
|
|
23
|
+
const QByteArray &bytes = strlist[i];
|
|
24
|
+
argv[i] = strdup(bytes.constData());
|
|
25
|
+
}
|
|
26
|
+
return new QGuiApplication(argc, argv);
|
|
27
|
+
}
|
|
28
|
+
|
|
18
29
|
void Init_qguiapplication(Module rb_mQt6QtGui)
|
|
19
30
|
{
|
|
20
31
|
rb_cQGuiApplication =
|
|
21
32
|
// RubyQt6::QtGui::QGuiApplication
|
|
22
|
-
|
|
33
|
+
define_qlass_under<QGuiApplication, QCoreApplication>(rb_mQt6QtGui, "QGuiApplication")
|
|
23
34
|
// RubyQt6-Defined Functions
|
|
35
|
+
.define_singleton_function("_new", QGuiApplication_new, Arg("argv"), Return().takeOwnership())
|
|
36
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QGuiApplication * { return qobject_cast<QGuiApplication *>(object); })
|
|
24
37
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QGuiApplication::staticMetaObject; })
|
|
25
|
-
// Constructor
|
|
26
|
-
.define_constructor(Constructor<QGuiApplication, int &, char **>(), Arg("argc"), ArgBuffer("argv"))
|
|
27
38
|
// Public Functions
|
|
28
39
|
.define_method("device_pixel_ratio", &QGuiApplication::devicePixelRatio)
|
|
29
40
|
.define_method("notify", &QGuiApplication::notify, Arg("receiver"), Arg("event"))
|
data/ext/qt6/qtgui/qicon-rb.cpp
CHANGED
|
@@ -13,7 +13,7 @@ void Init_qicon(Module rb_mQt6QtGui)
|
|
|
13
13
|
{
|
|
14
14
|
rb_cQIcon =
|
|
15
15
|
// RubyQt6::QtGui::QIcon
|
|
16
|
-
|
|
16
|
+
define_qlass_under<QIcon>(rb_mQt6QtGui, "QIcon")
|
|
17
17
|
// Constructor
|
|
18
18
|
.define_constructor(Constructor<QIcon>())
|
|
19
19
|
.define_constructor(Constructor<QIcon, const QString &>(), Arg("file_name"))
|
|
@@ -39,10 +39,10 @@ void Init_qicon(Module rb_mQt6QtGui)
|
|
|
39
39
|
// Static Public Members
|
|
40
40
|
.define_singleton_function("fallback_search_paths", &QIcon::fallbackSearchPaths)
|
|
41
41
|
.define_singleton_function("fallback_theme_name", &QIcon::fallbackThemeName)
|
|
42
|
-
.define_singleton_function<QIcon (*)(QIcon::ThemeIcon)>("
|
|
43
|
-
.define_singleton_function<QIcon (*)(QIcon::ThemeIcon, const QIcon &)>("
|
|
44
|
-
.define_singleton_function<QIcon (*)(const QString &)>("
|
|
45
|
-
.define_singleton_function<QIcon (*)(const QString &, const QIcon &)>("
|
|
42
|
+
.define_singleton_function<QIcon (*)(QIcon::ThemeIcon)>("_from_theme", &QIcon::fromTheme, Arg("icon"))
|
|
43
|
+
.define_singleton_function<QIcon (*)(QIcon::ThemeIcon, const QIcon &)>("_from_theme", &QIcon::fromTheme, Arg("icon"), Arg("fallback"))
|
|
44
|
+
.define_singleton_function<QIcon (*)(const QString &)>("_from_theme", &QIcon::fromTheme, Arg("name"))
|
|
45
|
+
.define_singleton_function<QIcon (*)(const QString &, const QIcon &)>("_from_theme", &QIcon::fromTheme, Arg("name"), Arg("fallback"))
|
|
46
46
|
.define_singleton_function<bool (*)(QIcon::ThemeIcon)>("has_theme_icon", &QIcon::hasThemeIcon, Arg("icon"))
|
|
47
47
|
.define_singleton_function<bool (*)(const QString &)>("has_theme_icon", &QIcon::hasThemeIcon, Arg("name"))
|
|
48
48
|
.define_singleton_function("set_fallback_search_paths", &QIcon::setFallbackSearchPaths, Arg("paths"))
|
data/ext/qt6/qtgui/qimage-rb.cpp
CHANGED
|
@@ -15,7 +15,7 @@ void Init_qimage(Module rb_mQt6QtGui)
|
|
|
15
15
|
{
|
|
16
16
|
rb_cQImage =
|
|
17
17
|
// RubyQt6::QtGui::QImage
|
|
18
|
-
|
|
18
|
+
define_qlass_under<QImage, QPaintDevice>(rb_mQt6QtGui, "QImage")
|
|
19
19
|
// Constructor
|
|
20
20
|
.define_constructor(Constructor<QImage>())
|
|
21
21
|
.define_constructor(Constructor<QImage, const QString &>(), Arg("file_name"))
|
|
@@ -10,7 +10,7 @@ void Init_qimagewriter(Module rb_mQt6QtGui)
|
|
|
10
10
|
{
|
|
11
11
|
rb_cQImageWriter =
|
|
12
12
|
// RubyQt6::QtGui::QImageWriter
|
|
13
|
-
|
|
13
|
+
define_qlass_under<QImageWriter>(rb_mQt6QtGui, "QImageWriter")
|
|
14
14
|
// Constructor
|
|
15
15
|
.define_constructor(Constructor<QImageWriter>())
|
|
16
16
|
.define_constructor(Constructor<QImageWriter, QIODevice *, const QByteArray &>(), Arg("device"), Arg("format"))
|
|
@@ -12,7 +12,7 @@ void Init_qkeysequence(Module rb_mQt6QtGui)
|
|
|
12
12
|
{
|
|
13
13
|
rb_cQKeySequence =
|
|
14
14
|
// RubyQt6::QtGui::QKeySequence
|
|
15
|
-
|
|
15
|
+
define_qlass_under<QKeySequence>(rb_mQt6QtGui, "QKeySequence")
|
|
16
16
|
// Constructor
|
|
17
17
|
.define_constructor(Constructor<QKeySequence, int>(), Arg("key"))
|
|
18
18
|
.define_constructor(Constructor<QKeySequence, QKeySequence::StandardKey>(), Arg("key"))
|
data/ext/qt6/qtgui/qmovie-rb.cpp
CHANGED
|
@@ -13,8 +13,9 @@ void Init_qmovie(Module rb_mQt6QtGui)
|
|
|
13
13
|
{
|
|
14
14
|
rb_cQMovie =
|
|
15
15
|
// RubyQt6::QtGui::QMovie
|
|
16
|
-
|
|
16
|
+
define_qlass_under<QMovie, QObject>(rb_mQt6QtGui, "QMovie")
|
|
17
17
|
// RubyQt6-Defined Functions
|
|
18
|
+
.define_singleton_function("_qobject_cast", [](QObject *object) -> const QMovie * { return qobject_cast<QMovie *>(object); })
|
|
18
19
|
.define_singleton_function("_static_meta_object", []() -> const QMetaObject * { return &QMovie::staticMetaObject; })
|
|
19
20
|
// Constructor
|
|
20
21
|
.define_constructor(Constructor<QMovie, QObject *>(), Arg("parent"))
|
|
@@ -10,7 +10,7 @@ void Init_qpagedpaintdevice(Module rb_mQt6QtGui)
|
|
|
10
10
|
{
|
|
11
11
|
rb_cQPagedPaintDevice =
|
|
12
12
|
// RubyQt6::QtGui::QPagedPaintDevice
|
|
13
|
-
|
|
13
|
+
define_qlass_under<QPagedPaintDevice, QPaintDevice>(rb_mQt6QtGui, "QPagedPaintDevice")
|
|
14
14
|
// Public Functions
|
|
15
15
|
.define_method("new_page", &QPagedPaintDevice::newPage)
|
|
16
16
|
.define_method("page_layout", &QPagedPaintDevice::pageLayout)
|