◆ QWidget() [1/2]
◆ QWidget() [2/2]
◆ About()
在文件 QWidget.xcsm 第 355 行定义.
355 {
356 QtXnl.long_string2_int2(nativehandle, Constant.MESSAGEBOXABT, caption, text, 0, 0);
357 }
◆ addAction()
void addAction |
( |
@NotNilptr QAction |
action | ) |
|
被 QToolBar 重载.
在文件 QWidget.xcsm 第 246 行定义.
246 {
247 QtXnl.widget_set_native_value(nativehandle, Constant.ADDDEFACTION, action.nativehandle);
248 }
◆ addActions()
void addActions |
( |
@NotNilptr QAction [] |
actions | ) |
|
在文件 QWidget.xcsm 第 249 行定义.
249 {
250 long [] al = new long[actions.length];
251 for (int i =0; i < al.length; i ++) {
252 al[i] = actions[i].nativehandle;
253 }
254 QtXnl.widget_set_object_value(nativehandle, Constant.ADDDEFACTION, al);
255 }
◆ adjustSize()
在文件 QWidget.xcsm 第 478 行定义.
478 {
479 QtXnl.widget_slot(nativehandle, Constant.QWIDGET_ADJUSTSIZE);
480 }
◆ centerScreen()
◆ clearFocus()
在文件 QWidget.xcsm 第 313 行定义.
313 {
314 QtXnl.widget_slot(nativehandle, Constant.CLSFOCUS);
315 }
◆ close()
在文件 QWidget.xcsm 第 290 行定义.
290 {
291 QtXnl.widget_slot(nativehandle, Constant.CLOSE);
292 }
◆ create() [1/2]
被 QDialogButtonBox, QOpenGLWidget, QSplitter, DockMainWindow, Switche, QCalendarWidget, QChartView, QCheckBox, QComboBox, QDateEdit, QDateTimeEdit, QDialog, QLabel, QLineEdit, QListView, QMainWindow, QMdiSubWindow, QMenu, QMenuBar, QPrintDialog, QPrintPreviewDialog, QProgressBar, QPropertyBrowser, QPushButton, QScintilla, QScrollArea, QScrollBar, QSlider, QStatusBar, QTabBar, QTableWidget, QTabWidget, QTextEdit, QTimeEdit, QToolBar, QTreeView, QTreeWidget, QVideoWidget, QwtLegend, QwtPlot , 以及 QwtPlotCanvas 重载.
在文件 QWidget.xcsm 第 12 行定义.
12 {
13 nativehandle = QtXnl.createQObject(QType.qtWidget,
this, 0);
14 if (nativehandle == 0) {
15 return false;
16 }
17 return true;
18 }
◆ create() [2/2]
bool create |
( |
@NotNilptr QWidget |
parent | ) |
|
被 QDialogButtonBox, QOpenGLWidget, QSplitter, Switche, QCalendarWidget, QCefView, QChartView, QCheckBox, QComboBox, QDateEdit, QDateTimeEdit, QDialog, QDockWidget, QLabel, QLineEdit, QListView, QMainWindow, QMdiSubWindow, QMenu, QMenuBar, QPrintDialog, QPrintPreviewDialog, QProgressBar, QPropertyBrowser, QPushButton, QScintilla, QScrollArea, QScrollBar, QSizeGrip, QSlider, QStatusBar, QTabBar, QTableWidget, QTabWidget, QTextEdit, QTimeEdit, QToolBar, QTreeView, QTreeWidget, QVideoWidget, QwtPlot , 以及 QwtPlotCanvas 重载.
在文件 QWidget.xcsm 第 24 行定义.
24 {
25 nativehandle = QtXnl.createQObject(QType.qtWidget,
this, parent.nativehandle);
26 if (nativehandle == 0) {
27 return false;
28 }
29 return true;
30 }
◆ Critical()
int Critical |
( |
String |
caption, |
|
|
String |
text, |
|
|
int |
button, |
|
|
int |
defaultBtn |
|
) |
| |
在文件 QWidget.xcsm 第 341 行定义.
341 {
342 return QtXnl.long_string2_int2(nativehandle, Constant.MESSAGEBOXERR, caption, text, button, defaultBtn);
343 }
◆ finalize()
重载 QObject .
在文件 QWidget.xcsm 第 511 行定义.
511 {
512 if (nativehandle != 0) {
515 void run()override{
516 QtXnl.widget_slot(handle, Constant.NATIVEFINALIZE);
517 }
518 });
519 }
520 }
void runOnUi(Runnable task)
◆ getCurrentScreen()
在文件 QWidget.xcsm 第 397 行定义.
397 {
398 return QtXnl.widget_get_int_value(nativehandle, Constant.CURRENTSCREEN);
399 }
◆ getCurrentScreenPoint()
QPoint getCurrentScreenPoint |
( |
| ) |
|
在文件 QWidget.xcsm 第 385 行定义.
385 {
386 long xy = QtXnl.object_get_long_int(nativehandle, Constant.SCREENPOSITION, -1, 0);
387 return new QPoint((int)(xy >> 32) & 0xffffffff, (int)xy & 0xffffffff);
388 }
◆ getCurrentScreenSize()
QRect getCurrentScreenSize |
( |
| ) |
|
在文件 QWidget.xcsm 第 393 行定义.
393 {
394 long wh = QtXnl.object_get_long_int(nativehandle, Constant.SCREENSIZE, -1, 0);
395 return new QRect(0, 0, (int)(wh >> 32) & 0xffffffff, (int)wh & 0xffffffff);
396 }
◆ getFocusPolicy()
在文件 QWidget.xcsm 第 157 行定义.
157 {
158 return QtXnl.widget_get_int_value(nativehandle, Constant.SETFOCUSPOLICY);
159 }
◆ getFont()
在文件 QWidget.xcsm 第 503 行定义.
503 {
504 return new QFont(QtXnl.long_get(nativehandle, Constant.WIDGETGETFONT));
505 }
◆ getLayout()
在文件 QWidget.xcsm 第 64 行定义.
64 {
65 return (QLayout)QtXnl.widget_get_object(nativehandle, Constant.WIDGETGETLAYOUT);
66 }
◆ getMaximumHeight()
在文件 QWidget.xcsm 第 164 行定义.
164 {
165 return QtXnl.widget_get_int_value(nativehandle, Constant.MAXIMUMHEIGHT);
166 }
◆ getMaximumWidth()
在文件 QWidget.xcsm 第 172 行定义.
172 {
173 return QtXnl.widget_get_int_value(nativehandle, Constant.MAXIMUMWIDTH);
174 }
◆ getMinimumHeight()
在文件 QWidget.xcsm 第 160 行定义.
160 {
161 return QtXnl.widget_get_int_value(nativehandle, Constant.MINIMUMHEIGHT);
162 }
◆ getMinimumWidth()
在文件 QWidget.xcsm 第 168 行定义.
168 {
169 return QtXnl.widget_get_int_value(nativehandle, Constant.MINIMUMWIDTH);
170 }
◆ getOpacity()
在文件 QWidget.xcsm 第 71 行定义.
71 {
72 return QtXnl.widget_get_double_value(nativehandle,Constant.OPACITY);
73 }
◆ getScreenPoint()
QPoint getScreenPoint |
( |
int |
num | ) |
|
在文件 QWidget.xcsm 第 381 行定义.
381 {
382 long xy = QtXnl.object_get_long_int(nativehandle, Constant.SCREENPOSITION, num, 0);
383 return new QPoint((int)(xy >> 32) & 0xffffffff, (int)xy & 0xffffffff);
384 }
◆ getScreenSize()
QRect getScreenSize |
( |
int |
num | ) |
|
在文件 QWidget.xcsm 第 389 行定义.
389 {
390 long wh = QtXnl.object_get_long_int(nativehandle, Constant.SCREENSIZE, num, 0);
391 return new QRect(0, 0, (int)(wh >> 32) & 0xffffffff, (int)wh & 0xffffffff);
392 }
◆ getStyleSheet()
在文件 QWidget.xcsm 第 243 行定义.
243 {
244 return (
String)QtXnl.core_getString(nativehandle, Constant.GETSTYLESHEEY);
245 }
◆ getToolTips()
在文件 QWidget.xcsm 第 430 行定义.
430 {
431 return (
String)QtXnl.core_getString(nativehandle, Constant.GETTOOLTIPS);
432 }
◆ getWindowTitle()
在文件 QWidget.xcsm 第 500 行定义.
500 {
501 return (
String)QtXnl.core_getString(nativehandle, Constant.WIDGETGETTITLE);
502 }
◆ hasFocus()
在文件 QWidget.xcsm 第 426 行定义.
426 {
427 return QtXnl.widget_get_bool_value(nativehandle, Constant.HASFOCUS);
428 }
◆ height()
在文件 QWidget.xcsm 第 188 行定义.
188 {
189 return QtXnl.widget_get_int_value(nativehandle, Constant.HEIGHT);
190 }
◆ hide()
在文件 QWidget.xcsm 第 293 行定义.
293 {
294 QtXnl.widget_slot(nativehandle, Constant.HIDE);
295 }
◆ Information()
int Information |
( |
String |
caption, |
|
|
String |
text, |
|
|
int |
button, |
|
|
int |
defaultBtn |
|
) |
| |
在文件 QWidget.xcsm 第 351 行定义.
351 {
352 return QtXnl.long_string2_int2(nativehandle, Constant.MESSAGEBOXINF, caption, text, button, defaultBtn);
353 }
◆ inputMethodHints()
InputMethodHint inputMethodHints |
( |
| ) |
|
在文件 QWidget.xcsm 第 145 行定义.
145 {
146 return (InputMethodHint)QtXnl.widget_get_int_value(nativehandle, Constant.WIDGET_GETINPUTMETHODHINTS);
147 }
◆ isAcceptDrops()
在文件 QWidget.xcsm 第 459 行定义.
459 {
460 return QtXnl.widget_get_bool_value(nativehandle, Constant.ENABLEDROG);
461 }
◆ isActive()
◆ isEnabled()
在文件 QWidget.xcsm 第 95 行定义.
95 {
96 return QtXnl.widget_get_bool_value(nativehandle, Constant.ENABLED);
97 }
◆ isFullScreen()
在文件 QWidget.xcsm 第 192 行定义.
192 {
193 return QtXnl.widget_get_bool_value(nativehandle, Constant.FULLSCREEN);
194 }
◆ isHidden()
在文件 QWidget.xcsm 第 196 行定义.
196 {
197 return QtXnl.widget_get_bool_value(nativehandle, Constant.HIDDEN);
198 }
◆ isModal()
在文件 QWidget.xcsm 第 200 行定义.
200 {
201 return QtXnl.widget_get_bool_value(nativehandle, Constant.MODAL);
202 }
◆ isUpdateEnabled()
在文件 QWidget.xcsm 第 481 行定义.
481 {
482 return QtXnl.widget_get_bool_value(nativehandle,Constant.UPDATEENABLE );
483 }
◆ isVisible()
在文件 QWidget.xcsm 第 83 行定义.
83 {
84 return QtXnl.widget_get_bool_value(nativehandle, Constant.VISIBLE);
85 }
◆ isWindow()
在文件 QWidget.xcsm 第 204 行定义.
204 {
205 return QtXnl.widget_get_bool_value(nativehandle, Constant.WINDOW);
206 }
◆ layoutDirection()
LayoutDirection layoutDirection |
( |
| ) |
|
|
package |
在文件 QWidget.xcsm 第 469 行定义.
469 {
470 return (LayoutDirection)QtXnl.widget_get_int_value(nativehandle, Constant.WIDGETGETDIRECTION);
471 }
◆ load() [1/4]
bool load |
( |
@NotNilptr QBuffer |
data | ) |
|
在文件 QWidget.xcsm 第 46 行定义.
46 {
47 nativehandle = QtXnl.locaUiData(data.nativehandle,
this, 0);
48 if (nativehandle == 0) {
49 return false;
50 }
51 return true;
52 }
◆ load() [2/4]
bool load |
( |
@NotNilptr QBuffer |
data, |
|
|
@NotNilptr QWidget |
parent |
|
) |
| |
在文件 QWidget.xcsm 第 53 行定义.
53 {
55 if (nativehandle == 0) {
56 return false;
57 }
58 return true;
59 }
◆ load() [3/4]
在文件 QWidget.xcsm 第 32 行定义.
32 {
34 if (nativehandle == 0) {
35 return false;
36 }
37 return true;
38 }
◆ load() [4/4]
bool load |
( |
String |
uifile, |
|
|
@NotNilptr QWidget |
parent |
|
) |
| |
在文件 QWidget.xcsm 第 39 行定义.
39 {
41 if (nativehandle == 0) {
42 return false;
43 }
44 return true;
45 }
◆ lower()
在文件 QWidget.xcsm 第 296 行定义.
296 {
297 QtXnl.widget_slot(nativehandle, Constant.LOWER);
298 }
◆ mapFromGlobal()
QPoint mapFromGlobal |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QWidget.xcsm 第 375 行定义.
375 {
377 v = (v << 32) | ((
long)
y & 0xffffffffl);
378 v = QtXnl.long_intlong2(0, Constant.MAPPOINT, nativehandle, v);
379 return new QPoint(v);
380 }
◆ mapTo()
QPoint mapTo |
( |
@NotNilptr QWidget |
w, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QWidget.xcsm 第 363 行定义.
363 {
365 v = (v << 32) | ((
long)
y & 0xffffffffl);
366 v = QtXnl.long_intlong2(nativehandle, Constant.MAPPOINT, w.nativehandle, v);
367 return new QPoint(v);
368 }
◆ mapToGlobal()
QPoint mapToGlobal |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QWidget.xcsm 第 369 行定义.
369 {
371 v = (v << 32) | ((
long)
y & 0xffffffffl);
372 v = QtXnl.long_intlong2(nativehandle, Constant.MAPPOINT, 0, v);
373 return new QPoint(v);
374 }
◆ maximized()
在文件 QWidget.xcsm 第 87 行定义.
87 {
88 return QtXnl.widget_get_bool_value(nativehandle, Constant.MAXIMIZED);
89 }
◆ minimized()
在文件 QWidget.xcsm 第 91 行定义.
91 {
92 return QtXnl.widget_get_bool_value(nativehandle, Constant.MINIMIZED);
93 }
◆ move()
void move |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QWidget.xcsm 第 224 行定义.
224 {
225 QtXnl.widget_set_v2int_value(nativehandle, Constant.MOVE, x, y);
226 }
◆ parentWidget()
在文件 QWidget.xcsm 第 61 行定义.
61 {
62 return (QWidget)QtXnl.widget_get_object(nativehandle, Constant.GETPARENTWIDGET);
63 }
◆ postUpdate()
final void postUpdate |
( |
| ) |
|
在文件 QWidget.xcsm 第 401 行定义.
401 {
403 void run()override {
405 }
406 });
407 }
◆ Question()
int Question |
( |
String |
caption, |
|
|
String |
text, |
|
|
int |
button, |
|
|
int |
defaultBtn |
|
) |
| |
在文件 QWidget.xcsm 第 348 行定义.
348 {
349 return QtXnl.long_string2_int2(nativehandle, Constant.MESSAGEBOXQUE, caption, text, button, defaultBtn);
350 }
◆ raise()
在文件 QWidget.xcsm 第 299 行定义.
299 {
300 QtXnl.widget_slot(nativehandle, Constant.RAISE);
301 }
◆ removeLayout()
void removeLayout |
( |
@NotNilptr QLayout |
layout | ) |
|
在文件 QWidget.xcsm 第 443 行定义.
443 {
444 QtXnl.widget_set_native_value(nativehandle, Constant.WIDGETREMOVELAYOUT, layout.nativehandle);
445 }
◆ removeWidget()
void removeWidget |
( |
@NotNilptr QWidget |
widget | ) |
|
被 QStatusBar 重载.
在文件 QWidget.xcsm 第 446 行定义.
446 {
447 QtXnl.widget_set_native_value(nativehandle, Constant.WIDGETREMOVEWIDGET, widget.nativehandle);
448 }
◆ render() [1/4]
void render |
( |
@NotNilptr QPainter |
painter | ) |
|
在文件 QWidget.xcsm 第 484 行定义.
484 {
485 QtXnl.long_long_int9(nativehandle, Constant.WIDGETRENDER1, painter.hpaint, 0, 0, 0, 0, 0, 0, 0, 0, 0);
486 }
◆ render() [2/4]
void render |
( |
@NotNilptr QPainter |
painter, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
sx, |
|
|
int |
sy, |
|
|
int |
sw, |
|
|
int |
sh, |
|
|
RegionType |
sflags, |
|
|
RenderFlag |
flags |
|
) |
| |
在文件 QWidget.xcsm 第 493 行定义.
493 {
494 QtXnl.long_long_int9(nativehandle, Constant.WIDGETRENDER1, painter.hpaint, x, y, sx, sy, sw, sh, sflags, flags, 0);
495 }
◆ render() [3/4]
void render |
( |
@NotNilptr QPainter |
painter, |
|
|
int |
x, |
|
|
int |
y, |
|
|
RenderFlag |
flags |
|
) |
| |
在文件 QWidget.xcsm 第 490 行定义.
490 {
491 QtXnl.long_long_int9(nativehandle, Constant.WIDGETRENDER1, painter.hpaint, x, y, 0, 0, 0, 0, 0, flags, 0);
492 }
◆ render() [4/4]
void render |
( |
@NotNilptr QPainter |
painter, |
|
|
RenderFlag |
flags |
|
) |
| |
在文件 QWidget.xcsm 第 487 行定义.
487 {
488 QtXnl.long_long_int9(nativehandle, Constant.WIDGETRENDER1, painter.hpaint, 0, 0, 0, 0, 0, 0, 0, flags, 0);
489 }
◆ repaint()
在文件 QWidget.xcsm 第 302 行定义.
302 {
303 QtXnl.widget_slot(nativehandle, Constant.REPAINT);
304 }
◆ resize()
void resize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
在文件 QWidget.xcsm 第 208 行定义.
208 {
209 QtXnl.widget_set_v2int_value(nativehandle, Constant.RESIZE, w, h);
210 }
◆ scroll()
void scroll |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
在文件 QWidget.xcsm 第 216 行定义.
216 {
217 QtXnl.widget_set_v2int_value(nativehandle, Constant.SCROLL, dx, dy);
218 }
◆ setAcceptDrops()
void setAcceptDrops |
( |
bool |
ba | ) |
|
在文件 QWidget.xcsm 第 463 行定义.
463 {
464 QtXnl.widget_set_bool_value(nativehandle, Constant.ENABLEDROG, ba);
465 }
◆ setActive()
在文件 QWidget.xcsm 第 125 行定义.
125 {
126 QtXnl.widget_set_bool_value(nativehandle, Constant.ACTIVED, v);
127 }
◆ setAttribute()
void setAttribute |
( |
int |
flag, |
|
|
bool |
bOn |
|
) |
| |
在文件 QWidget.xcsm 第 20 行定义.
20 {
21 QtXnl.widget_set_int_bool_value(nativehandle, Constant.SETATTRIBUTE, flag, bOn);
22 }
◆ setAutoFillBackground()
void setAutoFillBackground |
( |
bool |
enabled | ) |
|
在文件 QWidget.xcsm 第 79 行定义.
79 {
80 QtXnl.widget_set_bool_value(nativehandle, Constant.QWIDGET_SETAUTOFILLBKGND, enabled);
81 }
◆ setBackgroundRole()
void setBackgroundRole |
( |
int |
role | ) |
|
在文件 QWidget.xcsm 第 220 行定义.
220 {
221 QtXnl.widget_set_bkrl(nativehandle, role);
222 }
◆ setContentsMargins()
void setContentsMargins |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
在文件 QWidget.xcsm 第 496 行定义.
496 {
497 long x = ((long)l << 32) | ((long)t & 0xffffffffl),
y = ((long)r << 32) |((long)b & 0xffffffffl);
498 QtXnl.void_long2(nativehandle, Constant.QWIDGET_SETCONTENTSMARGINS, x, y);
499 }
◆ setContextMenuPolicy()
void setContextMenuPolicy |
( |
int |
v | ) |
|
在文件 QWidget.xcsm 第 262 行定义.
262 {
263 QtXnl.widget_set_vint_value(nativehandle, Constant.SETCONTEXTMENUPOLICY, v);
264 }
◆ setCursor()
void setCursor |
( |
int |
cursor | ) |
|
被 QScintilla 重载.
在文件 QWidget.xcsm 第 359 行定义.
359 {
360 QtXnl.widget_set_vint_value(nativehandle, Constant.SETCURSOR, cursor);
361 }
◆ setEnabled()
void setEnabled |
( |
bool |
v | ) |
|
在文件 QWidget.xcsm 第 121 行定义.
121 {
122 QtXnl.widget_set_bool_value(nativehandle, Constant.ENABLED, v);
123 }
◆ setFixedHeight()
void setFixedHeight |
( |
int |
h | ) |
|
在文件 QWidget.xcsm 第 228 行定义.
228 {
229 QtXnl.widget_set_vint_value(nativehandle, Constant.FIXEDHEIGHT, h);
230 }
◆ setFixedSize()
void setFixedSize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
在文件 QWidget.xcsm 第 265 行定义.
265 {
266 QtXnl.widget_set_v2int_value(nativehandle, Constant.FIXEDSIZE, w, h);
267 }
◆ setFixedWidth()
void setFixedWidth |
( |
int |
w | ) |
|
在文件 QWidget.xcsm 第 271 行定义.
271 {
272 QtXnl.widget_set_vint_value(nativehandle, Constant.FIXEDWIDTH, w);
273 }
◆ setFocus()
在文件 QWidget.xcsm 第 310 行定义.
310 {
311 QtXnl.widget_slot(nativehandle, Constant.SETFOCUS);
312 }
◆ setFocusPolicy()
void setFocusPolicy |
( |
int |
fcy | ) |
|
在文件 QWidget.xcsm 第 149 行定义.
149 {
150 QtXnl.widget_set_vint_value(nativehandle, Constant.SETFOCUSPOLICY, fcy);
151 }
◆ setFocusProxy()
void setFocusProxy |
( |
@NotNilptr QWidget |
w | ) |
|
在文件 QWidget.xcsm 第 232 行定义.
232 {
233 QtXnl.widget_set_intlongint_value(nativehandle, Constant.WIDGETSETPROXY, w.nativehandle, 0, 0);
234 }
◆ setFont()
void setFont |
( |
@NotNilptr QFont |
f | ) |
|
被 QScintilla 重载.
在文件 QWidget.xcsm 第 507 行定义.
507 {
508 QtXnl.widget_set_native_value(nativehandle, Constant.WIDSETGETFONT, f.nativehandle);
509 }
◆ setFontDescrption()
void setFontDescrption |
( |
String |
desc | ) |
|
在文件 QWidget.xcsm 第 268 行定义.
268 {
269 QtXnl.widget_slot_string(nativehandle, Constant.SETWIDGETFONT, desc);
270 }
◆ setGraphicsEffect()
void setGraphicsEffect |
( |
@NotNilptr QGraphicsEffect |
effect | ) |
|
在文件 QWidget.xcsm 第 440 行定义.
440 {
441 QtXnl.widget_set_native_value(nativehandle, Constant.QWIDGET_SETGRAPHICSEFFECT, effect.nativehandle);
442 }
◆ setInputMethodHints()
void setInputMethodHints |
( |
InputMethodHint |
fcy | ) |
|
在文件 QWidget.xcsm 第 141 行定义.
141 {
142 QtXnl.widget_set_vint_value(nativehandle, Constant.WIDGET_SETINPUTMETHODHINTS, fcy);
143 }
◆ setLayout()
void setLayout |
( |
@NotNilptr QLayout |
layout | ) |
|
在文件 QWidget.xcsm 第 437 行定义.
437 {
438 QtXnl.widget_set_native_value(nativehandle, Constant.SETLAYOUT, layout.nativehandle);
439 }
◆ setLayoutDirection()
void setLayoutDirection |
( |
LayoutDirection |
direction | ) |
|
|
package |
在文件 QWidget.xcsm 第 466 行定义.
466 {
467 QtXnl.widget_set_vint_value(nativehandle, Constant.WIDGETSETDIRECTION, direction);
468 }
◆ setMaximized()
void setMaximized |
( |
bool |
v | ) |
|
在文件 QWidget.xcsm 第 113 行定义.
113 {
114 QtXnl.widget_set_bool_value(nativehandle, Constant.MAXIMIZED, v);
115 }
◆ setMinimized()
void setMinimized |
( |
bool |
v | ) |
|
在文件 QWidget.xcsm 第 117 行定义.
117 {
118 QtXnl.widget_set_bool_value(nativehandle, Constant.MINIMIZED, v);
119 }
◆ setMinimumHeight()
void setMinimumHeight |
( |
int |
h | ) |
|
在文件 QWidget.xcsm 第 133 行定义.
133 {
134 QtXnl.widget_set_vint_value(nativehandle, Constant.QWIDGET_SETMINIMUMHEIGHT, h);
135 }
◆ setMinimumSize()
void setMinimumSize |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
在文件 QWidget.xcsm 第 129 行定义.
129 {
130 QtXnl.widget_set_v2int_value(nativehandle, Constant.QWIDGET_SETMINIMUMSIZE, w, h);
131 }
◆ setMinimumWidth()
void setMinimumWidth |
( |
int |
w | ) |
|
在文件 QWidget.xcsm 第 137 行定义.
137 {
138 QtXnl.widget_set_vint_value(nativehandle, Constant.QWIDGET_SETMINIMUMWIDTH, w);
139 }
◆ setModal()
在文件 QWidget.xcsm 第 75 行定义.
75 {
76 QtXnl.widget_set_bool_value(nativehandle, Constant.MODAL, bm);
77 }
◆ setOpacity()
void setOpacity |
( |
double |
v | ) |
|
在文件 QWidget.xcsm 第 105 行定义.
105 {
106 QtXnl.widget_set_double_value(nativehandle,Constant.OPACITY, v);
107 }
◆ setPalette() [1/2]
void setPalette |
( |
@NotNilptr QPalette |
palette | ) |
|
在文件 QWidget.xcsm 第 280 行定义.
280 {
281 QtXnl.widget_set_native_value(nativehandle, Constant.PALETTE, palette.nativehandle);
282 }
◆ setPalette() [2/2]
void setPalette |
( |
int |
flags, |
|
|
int |
color |
|
) |
| |
在文件 QWidget.xcsm 第 275 行定义.
275 {
276 QtXnl.widget_set_v2int_value(nativehandle, Constant.PALETTE, flags, color);
277 }
◆ setParent()
void setParent |
( |
@NotNilptr QWidget |
parent | ) |
|
在文件 QWidget.xcsm 第 67 行定义.
67 {
68 QtXnl.widget_set_native_value(nativehandle, Constant.PARENTWIDGET,parent == nilptr ? 0l : parent.
nativehandle);
69 }
◆ setSizePolicy()
void setSizePolicy |
( |
int |
xp, |
|
|
int |
yp |
|
) |
| |
在文件 QWidget.xcsm 第 212 行定义.
212 {
213 QtXnl.widget_set_v2int_value(nativehandle, Constant.SETSIZEPOLICY, xp, yp);
214 }
◆ setStyle() [1/2]
void setStyle |
( |
@NotNilptr QStyle |
style | ) |
|
在文件 QWidget.xcsm 第 285 行定义.
285 {
286 QtXnl.widget_set_native_value(nativehandle, Constant.STYLE, style.nativehandle);
287 }
◆ setStyle() [2/2]
void setStyle |
( |
String |
styneName | ) |
|
在文件 QWidget.xcsm 第 411 行定义.
411 {
412 QtXnl.widget_slot_string(nativehandle, Constant.SETSTYLE, styneName);
413 }
◆ setStyleSheet()
void setStyleSheet |
( |
String |
file | ) |
|
在文件 QWidget.xcsm 第 408 行定义.
408 {
409 QtXnl.widget_slot_string(nativehandle, Constant.SETSTYLESHEET, file);
410 }
◆ setStyleSheetString()
void setStyleSheetString |
( |
String |
stylesheet | ) |
|
在文件 QWidget.xcsm 第 414 行定义.
414 {
415 QtXnl.widget_slot_string(nativehandle, Constant.SETSTYLESHEETSTRING, stylesheet);
416 }
◆ setToolTips()
void setToolTips |
( |
String |
text | ) |
|
在文件 QWidget.xcsm 第 434 行定义.
434 {
435 QtXnl.widget_slot_string(nativehandle, Constant.SETTOOLTIPS, text);
436 }
◆ setUpdateEnabled()
void setUpdateEnabled |
( |
bool |
be | ) |
|
在文件 QWidget.xcsm 第 475 行定义.
475 {
476 QtXnl.widget_set_bool_value(nativehandle, Constant.UPDATEENABLE, be);
477 }
◆ setVisible()
void setVisible |
( |
bool |
v | ) |
|
在文件 QWidget.xcsm 第 109 行定义.
109 {
110 QtXnl.widget_set_bool_value(nativehandle, Constant.VISIBLE, v);
111 }
◆ setWhatsThis()
void setWhatsThis |
( |
String |
tips | ) |
|
在文件 QWidget.xcsm 第 417 行定义.
417 {
418 QtXnl.widget_slot_string(nativehandle, Constant.SETWHATSTHIS, tips);
419 }
◆ setWindowFlag()
void setWindowFlag |
( |
int |
flag, |
|
|
bool |
bOn |
|
) |
| |
在文件 QWidget.xcsm 第 240 行定义.
240 {
241 QtXnl.widget_set_int_bool_value(nativehandle, Constant.SETWINDOWFLAG, flag, bOn);
242 }
◆ setWindowFlags()
void setWindowFlags |
( |
int |
flag | ) |
|
在文件 QWidget.xcsm 第 236 行定义.
236 {
237 QtXnl.widget_set_vint_value(nativehandle, Constant.WINDOWFLAG, flag);
238 }
◆ setWindowIcon() [1/2]
void setWindowIcon |
( |
QIcon |
icon | ) |
|
在文件 QWidget.xcsm 第 256 行定义.
256 {
257 QtXnl.widget_set_native_value(nativehandle, Constant.QW_SETICON, icon.nativehandle);
258 }
◆ setWindowIcon() [2/2]
void setWindowIcon |
( |
String |
icon | ) |
|
在文件 QWidget.xcsm 第 259 行定义.
259 {
260 QtXnl.widget_slot_string(nativehandle, Constant.WINDOWICON, icon);
261 }
◆ setWindowTitle()
void setWindowTitle |
( |
String |
text | ) |
|
在文件 QWidget.xcsm 第 317 行定义.
317 {
318 QtXnl.widget_slot_string(nativehandle, Constant.WINDOWTITLE, text);
319 }
◆ show()
在文件 QWidget.xcsm 第 322 行定义.
322 {
323 QtXnl.widget_slot(nativehandle, Constant.SHOW);
324 }
◆ showFullScreen()
在文件 QWidget.xcsm 第 326 行定义.
326 {
327 QtXnl.widget_slot(nativehandle, Constant.SHOWFULLSCREEN);
328 }
◆ showMaximized()
在文件 QWidget.xcsm 第 330 行定义.
330 {
331 QtXnl.widget_slot(nativehandle, Constant.SHOWMAX);
332 }
◆ showMinimized()
在文件 QWidget.xcsm 第 334 行定义.
334 {
335 QtXnl.widget_slot(nativehandle, Constant.SHOWMIN);
336 }
◆ showNormal()
在文件 QWidget.xcsm 第 338 行定义.
338 {
339 QtXnl.widget_slot(nativehandle, Constant.SHOWNORMAL);
340 }
◆ showToolTips() [1/2]
void showToolTips |
( |
int |
x, |
|
|
int |
y, |
|
|
long |
duration |
|
) |
| |
在文件 QWidget.xcsm 第 449 行定义.
449 {
450 QtXnl.widget_set_intlongstring_value(nativehandle, Constant.SHOWTOOLTIPS, ((long)x) << 32 | ((long)y & 0xffffffffl), (int)duration, nilptr);
451 }
◆ showToolTips() [2/2]
void showToolTips |
( |
int |
x, |
|
|
int |
y, |
|
|
String |
text, |
|
|
long |
duration |
|
) |
| |
在文件 QWidget.xcsm 第 452 行定义.
452 {
453 QtXnl.widget_set_intlongstring_value(nativehandle, Constant.SHOWTOOLTIPS, ((long)x) << 32 | ((long)y & 0xffffffffl), (int)duration, text);
454 }
◆ ShowToolTips()
static void ShowToolTips |
( |
int |
x, |
|
|
int |
y, |
|
|
String |
text, |
|
|
long |
duration |
|
) |
| |
|
static |
在文件 QWidget.xcsm 第 455 行定义.
455 {
456 QtXnl.widget_set_intlongstring_value(0, Constant.SHOWTOOLTIPS, ((long)x) << 32 | ((long)y & 0xffffffffl), (int) duration, text);
457 }
◆ unsetLayoutDirection()
void unsetLayoutDirection |
( |
| ) |
|
|
package |
在文件 QWidget.xcsm 第 472 行定义.
472 {
473 QtXnl.widget_slot(nativehandle, Constant.WIDGETUNSETDIRECTION);
474 }
◆ update()
在文件 QWidget.xcsm 第 305 行定义.
305 {
306 if (nativehandle != 0){
307 QtXnl.widget_slot(nativehandle, Constant.UPDATE);
308 }
309 }
◆ Warning()
int Warning |
( |
String |
caption, |
|
|
String |
text, |
|
|
int |
button, |
|
|
int |
defaultBtn |
|
) |
| |
在文件 QWidget.xcsm 第 344 行定义.
344 {
345 return QtXnl.long_string2_int2(nativehandle, Constant.MESSAGEBOXWAR, caption, text, button, defaultBtn);
346 }
◆ width()
在文件 QWidget.xcsm 第 184 行定义.
184 {
185 return QtXnl.widget_get_int_value(nativehandle, Constant.WIDTH);
186 }
◆ WindowFlags()
在文件 QWidget.xcsm 第 153 行定义.
153 {
154 return QtXnl.widget_get_int_value(nativehandle, Constant.WINDOWFLAG);
155 }
◆ x()
在文件 QWidget.xcsm 第 176 行定义.
176 {
177 return QtXnl.widget_get_int_value(nativehandle, Constant.X_POS);
178 }
◆ y()
在文件 QWidget.xcsm 第 180 行定义.
180 {
181 return QtXnl.widget_get_int_value(nativehandle, Constant.Y_POS);
182 }