◆ QObject() [1/2]
◆ QObject() [2/2]
◆ associateExt()
在文件 QObject.xcsm 第 925 行定义.
925 {
926 String [] params = {strName, strExt, strAppName, args, strAppKey, strDefaultIcon, strDescribe};
927 return QtXnl.array_int2(0, Constant.ASSOCIATEEXT, params, 0, 0);
928 }
◆ attach()
bool attach |
( |
@NotNilptr QObject |
obj | ) |
|
在文件 QObject.xcsm 第 200 行定义.
200 {
201 nativehandle = QtXnl.core_attach(obj.nativehandle,
this);
202 if (nativehandle != 0) {
204 return true;
205 }
206 return false;
207 }
◆ attachByName()
public<T:QObject> T attachByName |
( |
String |
name | ) |
|
|
package |
在文件 QObject.xcsm 第 177 行定义.
178 T _sub = new T();
179 _sub.nativehandle = QtXnl.attachControl(nativehandle, _sub, name);
180 if (_sub.nativehandle != 0) {
181 _sub.onAttach();
182 return _sub;
183 }
184 return nilptr;
185 }
public<T:QObject> T attachByName(String name)
◆ attachObjectByName()
QObject attachObjectByName |
( |
@NotNilptr QObject |
newObj, |
|
|
String |
name |
|
) |
| |
在文件 QObject.xcsm 第 191 行定义.
191 {
192 newObj.nativehandle = QtXnl.attachControl(nativehandle, newObj, name);
193 if (newObj.nativehandle != 0) {
194 newObj.onAttach();
195 return newObj;
196 }
197 return nilptr;
198 }
◆ checkAssociate()
在文件 QObject.xcsm 第 930 行定义.
930 {
931 String [] params = {strName, strExt, strAppKey};
932 return QtXnl.array_int2(0, Constant.CHECKASSOCIATED, params, 0, 0);
933 }
◆ delete()
在文件 QObject.xcsm 第 213 行定义.
213 {
214 QtXnl.widget_slot(nativehandle, Constant.DELETE_OBJECT);
215 }
◆ finalize()
被 QWidget , 以及 QWindow 重载.
在文件 QObject.xcsm 第 608 行定义.
608 {
609 if (nativehandle != 0) {
610 QtXnl.widget_slot(nativehandle, Constant.NATIVEFINALIZE);
611 }
612 }
◆ findByName()
public<T:QObject> T findByName |
( |
String |
name | ) |
|
|
package |
在文件 QObject.xcsm 第 173 行定义.
174 return (T)QtXnl.findControl(nativehandle, name);
175 }
public<T:QObject> T findByName(String name)
◆ findObjectByName()
QObject findObjectByName |
( |
String |
name | ) |
|
在文件 QObject.xcsm 第 187 行定义.
187 {
188 return (QObject)QtXnl.findControl(nativehandle, name);
189 }
◆ getClassName()
◆ getName()
◆ getParent()
在文件 QObject.xcsm 第 225 行定义.
225 {
226 return (QObject)QtXnl.core_getParent(nativehandle);
227 }
◆ getTag()
在文件 QObject.xcsm 第 529 行定义.
529 {
530 return QtXnl.widget_get_object(nativehandle, Constant.GETTAG);
531 }
◆ isUIEventSynched()
static bool isUIEventSynched |
( |
| ) |
|
|
static |
◆ nativeFinalize()
◆ ON_AUTOCCANCELLED()
void ON_AUTOCCANCELLED |
( |
| ) |
|
在文件 QObject.xcsm 第 624 行定义.
624 {
625 if (_sciEventListener != nilptr) {
627 }
628 }
SciEventListener _sciEventListener
◆ ON_AUTOCCHARDELETED()
void ON_AUTOCCHARDELETED |
( |
| ) |
|
在文件 QObject.xcsm 第 629 行定义.
629 {
630 if (_sciEventListener != nilptr) {
632 }
633 }
◆ ON_AUTOCCOMPLETED()
void ON_AUTOCCOMPLETED |
( |
String |
selection, |
|
|
int |
position, |
|
|
int |
ch, |
|
|
int |
method |
|
) |
| |
在文件 QObject.xcsm 第 634 行定义.
634 {
635 if (_sciEventListener != nilptr) {
636 _sciEventListener.ON_AUTOCCOMPLETED((QScintilla)
this, selection, position, ch, method);
637 }
638 }
◆ ON_AUTOCSELECTION() [1/2]
void ON_AUTOCSELECTION |
( |
String |
selection, |
|
|
int |
position |
|
) |
| |
在文件 QObject.xcsm 第 644 行定义.
644 {
645 if (_sciEventListener != nilptr) {
647 }
648 }
◆ ON_AUTOCSELECTION() [2/2]
void ON_AUTOCSELECTION |
( |
String |
selection, |
|
|
int |
position, |
|
|
int |
ch, |
|
|
int |
method |
|
) |
| |
在文件 QObject.xcsm 第 639 行定义.
639 {
640 if (_sciEventListener != nilptr) {
641 _sciEventListener.ON_AUTOCSELECTION((QScintilla)
this, selection, position, ch, method);
642 }
643 }
◆ ON_CALLTIPCLICK()
void ON_CALLTIPCLICK |
( |
int |
direction | ) |
|
在文件 QObject.xcsm 第 654 行定义.
654 {
655 if (_sciEventListener != nilptr) {
657 }
658 }
◆ ON_CHARADDED()
void ON_CHARADDED |
( |
int |
charadded | ) |
|
在文件 QObject.xcsm 第 659 行定义.
659 {
660 if (_sciEventListener != nilptr) {
662 }
663 }
◆ ON_DOUBLECLICK()
void ON_DOUBLECLICK |
( |
int |
position, |
|
|
int |
line, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 664 行定义.
664 {
665 if (_sciEventListener != nilptr) {
667 }
668 }
◆ ON_DWELLEND()
void ON_DWELLEND |
( |
int |
position, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QObject.xcsm 第 669 行定义.
669 {
670 if (_sciEventListener != nilptr) {
672 }
673 }
◆ ON_DWELLSTART()
void ON_DWELLSTART |
( |
int |
position, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QObject.xcsm 第 674 行定义.
674 {
675 if (_sciEventListener != nilptr) {
677 }
678 }
◆ ON_FOCUSIN()
在文件 QObject.xcsm 第 679 行定义.
679 {
680 if (_sciEventListener != nilptr) {
682 }
683 }
◆ ON_FOCUSOUT()
在文件 QObject.xcsm 第 684 行定义.
684 {
685 if (_sciEventListener != nilptr) {
687 }
688 }
◆ ON_HOTSPOTCLICK()
void ON_HOTSPOTCLICK |
( |
int |
position, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 689 行定义.
689 {
690 if (_sciEventListener != nilptr) {
692 }
693 }
◆ ON_HOTSPOTDOUBLECLICK()
void ON_HOTSPOTDOUBLECLICK |
( |
int |
position, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 694 行定义.
694 {
695 if (_sciEventListener != nilptr) {
697 }
698 }
◆ ON_HOTSPOTRELEASECLICK()
void ON_HOTSPOTRELEASECLICK |
( |
int |
position, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 699 行定义.
699 {
700 if (_sciEventListener != nilptr) {
702 }
703 }
◆ ON_INDICATORCLICK()
void ON_INDICATORCLICK |
( |
int |
position, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 704 行定义.
704 {
705 if (_sciEventListener != nilptr) {
707 }
708 }
◆ ON_INDICATORRELEASE()
void ON_INDICATORRELEASE |
( |
int |
position, |
|
|
int |
modifiers |
|
) |
| |
在文件 QObject.xcsm 第 709 行定义.
709 {
710 if (_sciEventListener != nilptr) {
712 }
713 }
◆ ON_MACRORECORD()
void ON_MACRORECORD |
( |
int |
msg, |
|
|
long |
wparam, |
|
|
long |
lparam |
|
) |
| |
在文件 QObject.xcsm 第 714 行定义.
714 {
715 if (_sciEventListener != nilptr) {
717 }
718 }
◆ ON_MARGINCLICK()
void ON_MARGINCLICK |
( |
int |
position, |
|
|
int |
modifiers, |
|
|
int |
margin |
|
) |
| |
在文件 QObject.xcsm 第 719 行定义.
719 {
720 if (_sciEventListener != nilptr) {
722 }
723 }
◆ ON_MARGINRIGHTCLICK()
void ON_MARGINRIGHTCLICK |
( |
int |
position, |
|
|
int |
modifiers, |
|
|
int |
margin |
|
) |
| |
在文件 QObject.xcsm 第 724 行定义.
724 {
725 if (_sciEventListener != nilptr) {
726 _sciEventListener.ON_MARGINRIGHTCLICK((QScintilla)
this, position, modifiers, margin);
727 }
728 }
◆ ON_MODIFIED()
void ON_MODIFIED |
( |
int |
position, |
|
|
int |
modType, |
|
|
String |
text, |
|
|
int |
length, |
|
|
int |
linesAdded, |
|
|
int |
line, |
|
|
int |
foldLevelNow, |
|
|
int |
foldLevelPrev, |
|
|
int |
token, |
|
|
int |
annotationLinesAdded |
|
) |
| |
在文件 QObject.xcsm 第 729 行定义.
729 {
730 if (_sciEventListener != nilptr) {
731 _sciEventListener.ON_MODIFIED((QScintilla)
this, position, modType, text, length, linesAdded, line, foldLevelNow, foldLevelPrev, token, annotationLinesAdded);
732 }
733 }
◆ ON_MODIFYATTEMPTRO()
void ON_MODIFYATTEMPTRO |
( |
| ) |
|
在文件 QObject.xcsm 第 734 行定义.
734 {
735 if (_sciEventListener != nilptr) {
737 }
738 }
◆ ON_NEEDSHOWN()
void ON_NEEDSHOWN |
( |
int |
position, |
|
|
int |
length |
|
) |
| |
在文件 QObject.xcsm 第 739 行定义.
739 {
740 if (_sciEventListener != nilptr) {
742 }
743 }
◆ ON_PAINTED()
在文件 QObject.xcsm 第 744 行定义.
744 {
745 if (_sciEventListener != nilptr) {
747 }
748 }
◆ ON_SAVEPOINTLEFT()
void ON_SAVEPOINTLEFT |
( |
| ) |
|
在文件 QObject.xcsm 第 749 行定义.
749 {
750 if (_sciEventListener != nilptr) {
752 }
753 }
◆ ON_SAVEPOINTREACHED()
void ON_SAVEPOINTREACHED |
( |
| ) |
|
在文件 QObject.xcsm 第 754 行定义.
754 {
755 if (_sciEventListener != nilptr) {
757 }
758 }
◆ ON_STYLENEEDED()
void ON_STYLENEEDED |
( |
int |
position | ) |
|
在文件 QObject.xcsm 第 759 行定义.
759 {
760 if (_sciEventListener != nilptr) {
762 }
763 }
◆ ON_UPDATEUI()
void ON_UPDATEUI |
( |
int |
updated | ) |
|
在文件 QObject.xcsm 第 764 行定义.
764 {
765 if (_sciEventListener != nilptr) {
767 }
768 }
◆ ON_USERLISTSELECTION() [1/2]
void ON_USERLISTSELECTION |
( |
String |
text, |
|
|
int |
wparam |
|
) |
| |
在文件 QObject.xcsm 第 774 行定义.
774 {
775 if (_sciEventListener != nilptr) {
777 }
778 }
◆ ON_USERLISTSELECTION() [2/2]
void ON_USERLISTSELECTION |
( |
String |
text, |
|
|
int |
wparam, |
|
|
int |
ch, |
|
|
int |
listCompletionMethod |
|
) |
| |
在文件 QObject.xcsm 第 769 行定义.
769 {
770 if (_sciEventListener != nilptr) {
771 _sciEventListener.ON_USERLISTSELECTION((QScintilla)
this, text, wparam, ch, listCompletionMethod);
772 }
773 }
◆ ON_ZOOM()
在文件 QObject.xcsm 第 779 行定义.
779 {
780 if (_sciEventListener != nilptr) {
782 }
783 }
◆ onAccept()
◆ onAcceptDropsChange()
void onAcceptDropsChange |
( |
| ) |
|
◆ onActionAdded()
◆ onActionChanged()
◆ onActionRemoved()
◆ onActivateControl()
void onActivateControl |
( |
| ) |
|
◆ onActivated()
void onActivated |
( |
int |
id | ) |
|
在文件 QObject.xcsm 第 827 行定义.
827 {
828 if (_comboboxListener != nilptr) {
830 }
831 }
onComboBoxEventListener _comboboxListener
◆ onActivationChange()
void onActivationChange |
( |
| ) |
|
◆ onApplicationActivate()
void onApplicationActivate |
( |
| ) |
|
◆ onApplicationDeactivate()
void onApplicationDeactivate |
( |
| ) |
|
◆ onApplicationStateChange()
void onApplicationStateChange |
( |
| ) |
|
◆ onAttach()
◆ onCellActived()
void onCellActived |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 901 行定义.
901 {
902 if (_tableenvlis != nilptr) {
903 _tableenvlis.onCellActived((QTableWidget)
this, row, column);
904 }
905 }
TableWidgetEventListener _tableenvlis
◆ onCellChange()
void onCellChange |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 851 行定义.
851 {
852 if (_tableenvlis != nilptr) {
853 _tableenvlis.onCellChange((QTableWidget)
this, row, column);
854 }
855 }
◆ onCellClick()
void onCellClick |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 871 行定义.
871 {
872 if (_tableenvlis != nilptr) {
873 _tableenvlis.onCellClick((QTableWidget)
this, row, column);
874 }
875 }
◆ onCellDBClick()
void onCellDBClick |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 881 行定义.
881 {
882 if (_tableenvlis != nilptr) {
883 _tableenvlis.onCellDBClick((QTableWidget)
this, row, column);
884 }
885 }
◆ onCellEnter()
void onCellEnter |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 891 行定义.
891 {
892 if (_tableenvlis != nilptr) {
893 _tableenvlis.onCellEnter((QTableWidget)
this, row, column);
894 }
895 }
◆ onCellPress()
void onCellPress |
( |
int |
row, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 861 行定义.
861 {
862 if (_tableenvlis != nilptr) {
863 _tableenvlis.onCellPress((QTableWidget)
this, row, column);
864 }
865 }
◆ onClick()
void onClick |
( |
bool |
checked | ) |
|
在文件 QObject.xcsm 第 584 行定义.
584 {
585 if (_clicklistener != nilptr) {
587 }
588 }
onClickListener _clicklistener
◆ onClipboard()
◆ onClose()
被 ProgressView 重载.
在文件 QObject.xcsm 第 332 行定义.
332 {
333 if (_statusEvent != nilptr) {
335 }
336 return true;
337 }
onStatusListener _statusEvent
◆ onCloseSoftwareInputPanel()
void onCloseSoftwareInputPanel |
( |
| ) |
|
◆ onContentsRectChange()
void onContentsRectChange |
( |
| ) |
|
◆ onContextMenu()
void onContextMenu |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
reson |
|
) |
| |
在文件 QObject.xcsm 第 406 行定义.
406 {
407 if (_contextMenuListener != nilptr) {
409 }
410 }
onContextMenuListener _contextMenuListener
◆ onCreate()
在文件 QObject.xcsm 第 312 行定义.
312 {
313 if (_statusEvent != nilptr) {
315 }
316 }
◆ onCurrentItemChanged()
void onCurrentItemChanged |
( |
long |
cur, |
|
|
long |
previous |
|
) |
| |
在文件 QObject.xcsm 第 573 行定义.
573 {
574 if (_treeitemevent != nilptr) {
575 _treeitemevent.onCurrentItemChanged((QTreeWidget)
this, cur, previous);
576 }
577 }
onTreeViewItemEvent _treeitemevent
◆ onCurrentTextChange()
void onCurrentTextChange |
( |
String |
text | ) |
|
在文件 QObject.xcsm 第 821 行定义.
821 {
822 if (_comboboxListener != nilptr) {
824 }
825 }
◆ onCursorChange()
◆ onCursorPositionChanged()
void onCursorPositionChanged |
( |
int |
n, |
|
|
int |
o |
|
) |
| |
在文件 QObject.xcsm 第 797 行定义.
797 {
798 if (_editEventListener != nilptr) {
800 }
801 }
onEditEventListener _editEventListener
◆ onDeactivateControl()
void onDeactivateControl |
( |
| ) |
|
◆ onDeferredDelete()
void onDeferredDelete |
( |
| ) |
|
◆ onDestroy()
在文件 QObject.xcsm 第 317 行定义.
317 {
318 if (_statusEvent != nilptr) {
320 }
321 }
◆ onDirChange()
void onDirChange |
( |
String |
path | ) |
|
在文件 QObject.xcsm 第 846 行定义.
846 {
847 if (_fsweListener != nilptr) {
849 }
850 }
onFileSystemChangeListener _fsweListener
◆ onDragEnter()
bool onDragEnter |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
在文件 QObject.xcsm 第 372 行定义.
372 {
373 if (_dragListener != nilptr) {
375 }
376 return true;
377 }
onDragListener _dragListener
◆ onDragLeave()
bool onDragLeave |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
在文件 QObject.xcsm 第 384 行定义.
384 {
385 if (_dragListener != nilptr) {
387 }
388 return true;
389 }
◆ onDragMove()
bool onDragMove |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b |
|
) |
| |
在文件 QObject.xcsm 第 378 行定义.
378 {
379 if (_dragListener != nilptr) {
381 }
382 return true;
383 }
◆ onDragResponse()
◆ onDrop()
在文件 QObject.xcsm 第 390 行定义.
390 {
391 if (_dragListener != nilptr) {
393 }
394 }
◆ onDynamicPropertyChange()
void onDynamicPropertyChange |
( |
| ) |
|
◆ onEditingFinished()
void onEditingFinished |
( |
| ) |
|
在文件 QObject.xcsm 第 809 行定义.
809 {
810 if (_editEventListener != nilptr) {
812 }
813 }
◆ onEmbeddingControl()
void onEmbeddingControl |
( |
| ) |
|
◆ onEnabledChange()
◆ onEnter()
void onEnter |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
在文件 QObject.xcsm 第 287 行定义.
287 {
288 if (_scopeListener != nilptr) {
290 }
291 }
onScopeEventListener _scopeListener
◆ onEnterWhatsThisMode()
void onEnterWhatsThisMode |
( |
| ) |
|
◆ onEnumPropertyValueChanged()
void onEnumPropertyValueChanged |
( |
long |
prop, |
|
|
int |
item |
|
) |
| |
◆ onExpose()
◆ onFileChanged()
void onFileChanged |
( |
String |
path | ) |
|
在文件 QObject.xcsm 第 840 行定义.
840 {
841 if (_fsweListener != nilptr) {
843 }
844 }
◆ onFileOpen()
◆ onFinish()
◆ onFocusAboutToChange()
void onFocusAboutToChange |
( |
bool |
focus, |
|
|
int |
reson |
|
) |
| |
在文件 QObject.xcsm 第 282 行定义.
282 {
283 if (_focusListener != nilptr) {
285 }
286 }
onFocusEventListener _focusListener
◆ onFocusIn()
void onFocusIn |
( |
bool |
focus, |
|
|
int |
reson |
|
) |
| |
在文件 QObject.xcsm 第 272 行定义.
272 {
273 if (_focusListener != nilptr) {
275 }
276 }
◆ onFocusOut()
void onFocusOut |
( |
bool |
focus, |
|
|
int |
reson |
|
) |
| |
在文件 QObject.xcsm 第 277 行定义.
277 {
278 if (_focusListener != nilptr) {
280 }
281 }
◆ onFontChange()
◆ onFutureCallOut()
◆ onGesture()
◆ onGestureOverride()
void onGestureOverride |
( |
| ) |
|
◆ onGrabKeyboard()
◆ onGrabMouse()
◆ onGraphicsSceneContextMenu()
void onGraphicsSceneContextMenu |
( |
| ) |
|
◆ onGraphicsSceneDragEnter()
void onGraphicsSceneDragEnter |
( |
| ) |
|
◆ onGraphicsSceneDragLeave()
void onGraphicsSceneDragLeave |
( |
| ) |
|
◆ onGraphicsSceneDragMove()
void onGraphicsSceneDragMove |
( |
| ) |
|
◆ onGraphicsSceneDrop()
void onGraphicsSceneDrop |
( |
| ) |
|
◆ onGraphicsSceneHelp()
void onGraphicsSceneHelp |
( |
| ) |
|
◆ onGraphicsSceneHoverEnter()
void onGraphicsSceneHoverEnter |
( |
| ) |
|
◆ onGraphicsSceneHoverLeave()
void onGraphicsSceneHoverLeave |
( |
| ) |
|
◆ onGraphicsSceneHoverMove()
void onGraphicsSceneHoverMove |
( |
| ) |
|
◆ onGraphicsSceneMouseDoubleClick()
void onGraphicsSceneMouseDoubleClick |
( |
| ) |
|
◆ onGraphicsSceneMouseMove()
void onGraphicsSceneMouseMove |
( |
| ) |
|
◆ onGraphicsSceneMousePress()
void onGraphicsSceneMousePress |
( |
| ) |
|
◆ onGraphicsSceneMouseRelease()
void onGraphicsSceneMouseRelease |
( |
| ) |
|
◆ onGraphicsSceneMove()
void onGraphicsSceneMove |
( |
| ) |
|
◆ onGraphicsSceneResize()
void onGraphicsSceneResize |
( |
| ) |
|
◆ onGraphicsSceneWheel()
void onGraphicsSceneWheel |
( |
| ) |
|
◆ onHelpRequest()
void onHelpRequest |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onHide()
在文件 QObject.xcsm 第 327 行定义.
327 {
328 if (_statusEvent != nilptr) {
330 }
331 }
◆ onHideToParent()
◆ onHoverEnter()
void onHoverEnter |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onHoverLeave()
void onHoverLeave |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onHoverMove()
void onHoverMove |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onIconDrag()
◆ onIconTextChange()
void onIconTextChange |
( |
| ) |
|
◆ onInputMethod()
◆ onInputMethodQuery()
void onInputMethodQuery |
( |
| ) |
|
◆ onItemActived() [1/2]
void onItemActived |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 906 行定义.
906 {
907 if (_tableenvlis != nilptr) {
909 }
910 }
◆ onItemActived() [2/2]
void onItemActived |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 548 行定义.
548 {
549 if (_treeitemevent != nilptr) {
551 }
552 }
◆ onItemChange()
void onItemChange |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 856 行定义.
856 {
857 if (_tableenvlis != nilptr) {
859 }
860 }
◆ onItemChanged()
void onItemChanged |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 558 行定义.
558 {
559 if (_treeitemevent != nilptr) {
561 }
562 }
◆ onItemClick()
void onItemClick |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 876 行定义.
876 {
877 if (_tableenvlis != nilptr) {
879 }
880 }
◆ onItemClicked()
void onItemClicked |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 538 行定义.
538 {
539 if (_treeitemevent != nilptr) {
541 }
542 }
◆ onItemCollapsed()
void onItemCollapsed |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 568 行定义.
568 {
569 if (_treeitemevent != nilptr) {
571 }
572 }
◆ onItemDBClick()
void onItemDBClick |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 886 行定义.
886 {
887 if (_tableenvlis != nilptr) {
889 }
890 }
◆ onItemDoubleClicked()
void onItemDoubleClicked |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 543 行定义.
543 {
544 if (_treeitemevent != nilptr) {
545 _treeitemevent.onItemDoubleClicked((QTreeWidget)
this, item, column);
546 }
547 }
◆ onItemEnter()
void onItemEnter |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 896 行定义.
896 {
897 if (_tableenvlis != nilptr) {
899 }
900 }
◆ onItemEntered()
void onItemEntered |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 553 行定义.
553 {
554 if (_treeitemevent != nilptr) {
556 }
557 }
◆ onItemExpanded()
void onItemExpanded |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 563 行定义.
563 {
564 if (_treeitemevent != nilptr) {
566 }
567 }
◆ onItemPress()
void onItemPress |
( |
long |
item | ) |
|
在文件 QObject.xcsm 第 866 行定义.
866 {
867 if (_tableenvlis != nilptr) {
869 }
870 }
◆ onItemPressed()
void onItemPressed |
( |
long |
item, |
|
|
int |
column |
|
) |
| |
在文件 QObject.xcsm 第 533 行定义.
533 {
534 if (_treeitemevent != nilptr) {
536 }
537 }
◆ onItemSelected()
void onItemSelected |
( |
int |
id | ) |
|
在文件 QObject.xcsm 第 833 行定义.
833 {
834 if (_comboboxListener != nilptr) {
836 }
837 }
◆ onItemSelectionChanged()
void onItemSelectionChanged |
( |
| ) |
|
在文件 QObject.xcsm 第 578 行定义.
578 {
579 if (_treeitemevent != nilptr) {
581 }
582 }
◆ onKeyboardLayoutChange()
void onKeyboardLayoutChange |
( |
| ) |
|
◆ onKeyPress()
bool onKeyPress |
( |
int |
key, |
|
|
bool |
repeat, |
|
|
int |
count, |
|
|
String |
text, |
|
|
int |
scanCode, |
|
|
int |
virtualKey, |
|
|
int |
modifier |
|
) |
| |
在文件 QObject.xcsm 第 260 行定义.
260 {
261 if (_keyListener != nilptr) {
262 return _keyListener.onKeyPress(
this, key, repeat, count, text, scanCode, virtualKey, modifier);
263 }
264 return true;
265 }
onKeyEventListener _keyListener
◆ onKeyRelease()
bool onKeyRelease |
( |
int |
key, |
|
|
bool |
repeat, |
|
|
int |
count, |
|
|
String |
text, |
|
|
int |
scanCode, |
|
|
int |
virtualKey, |
|
|
int |
modifier |
|
) |
| |
在文件 QObject.xcsm 第 266 行定义.
266 {
267 if (_keyListener != nilptr) {
268 return _keyListener.onKeyRelease(
this, key, repeat, count, text, scanCode, virtualKey, modifier);
269 }
270 return true;
271 }
◆ onLanguageChange()
void onLanguageChange |
( |
| ) |
|
◆ onLayoutDirectionChange()
void onLayoutDirectionChange |
( |
| ) |
|
◆ onLayoutRequest()
◆ onLeave()
在文件 QObject.xcsm 第 292 行定义.
292 {
293 if (_scopeListener != nilptr) {
295 }
296 }
◆ onLeaveWhatsThisMode()
void onLeaveWhatsThisMode |
( |
| ) |
|
◆ onLocaleChange()
◆ onMacGLClearDrawable()
void onMacGLClearDrawable |
( |
| ) |
|
◆ onMacGLWindowChange()
void onMacGLWindowChange |
( |
| ) |
|
◆ onMacSizeChange()
◆ onMaxUser()
◆ onModifiedChange()
void onModifiedChange |
( |
| ) |
|
◆ onMouseButtonDblClick()
void onMouseButtonDblClick |
( |
int |
Button, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
flags, |
|
|
int |
source |
|
) |
| |
在文件 QObject.xcsm 第 243 行定义.
243 {
244 if (_mouseListener != nilptr) {
245 _mouseListener.onMouseButtonDblClick(
this, Button, x, y, flags, source);
246 }
247 }
onMouseEventListener _mouseListener
◆ onMouseButtonPress()
void onMouseButtonPress |
( |
int |
Button, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
flags, |
|
|
int |
source |
|
) |
| |
◆ onMouseButtonRelease()
void onMouseButtonRelease |
( |
int |
Button, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
flags, |
|
|
int |
source |
|
) |
| |
在文件 QObject.xcsm 第 237 行定义.
237 {
238 if (_mouseListener != nilptr) {
239 _mouseListener.onMouseButtonRelease(
this, Button, x, y, flags, source);
240 }
241 }
◆ onMouseMove()
void onMouseMove |
( |
int |
Button, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
flags, |
|
|
int |
source |
|
) |
| |
在文件 QObject.xcsm 第 249 行定义.
249 {
250 if (_mouseListener != nilptr) {
252 }
253 }
◆ onMouseTrackingChange()
void onMouseTrackingChange |
( |
| ) |
|
◆ onMove()
void onMove |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
oldx, |
|
|
int |
oldy |
|
) |
| |
在文件 QObject.xcsm 第 302 行定义.
302 {
303 if (_layoutEvent != nilptr) {
305 }
306 }
onLayoutEventListener _layoutEvent
◆ onNativeGesture()
◆ onNetworkReplyUpdated()
void onNetworkReplyUpdated |
( |
| ) |
|
◆ onNonClientAreaMouseButtonDblClick()
void onNonClientAreaMouseButtonDblClick |
( |
| ) |
|
◆ onNonClientAreaMouseButtonPress()
void onNonClientAreaMouseButtonPress |
( |
| ) |
|
◆ onNonClientAreaMouseButtonRelease()
void onNonClientAreaMouseButtonRelease |
( |
| ) |
|
◆ onNonClientAreaMouseMove()
void onNonClientAreaMouseMove |
( |
| ) |
|
◆ onNotification()
void onNotification |
( |
long |
eventid | ) |
|
在文件 QObject.xcsm 第 73 行定义.
73 {
74 if (_notifyListener != nilptr) {
76 }
77 }
onNotifyListener _notifyListener
◆ onNotify()
final void onNotify |
( |
long |
eventid | ) |
|
|
private |
在文件 QObject.xcsm 第 43 行定义.
43 {
44 if (eventid == Constant.NEW_UI_TASK_NID) {
45 if ((_ui_loop_busy == false) || (!_ui_event_synched)){
48 Runnable r;
51 try{
54
55 }
56 }
57 }
58 if (r != nilptr) {
59 r.run();
60 }
61 }
63 }
64 } else {
66 }
67 if (_notifyListener != nilptr) {
69 }
70 }
void onNotification(long eventid)
static bool _ui_loop_busy
static List<Runnable> _uiloop_list
◆ onOkRequest()
◆ onOrientationChange()
void onOrientationChange |
( |
| ) |
|
◆ onPaint()
void onPaint |
( |
int |
l, |
|
|
int |
t, |
|
|
int |
r, |
|
|
int |
b, |
|
|
long |
hpaint |
|
) |
| |
◆ onParentAboutToChange()
void onParentAboutToChange |
( |
| ) |
|
◆ onParentChange()
在文件 QObject.xcsm 第 343 行定义.
343 {
344 if (_statusEvent != nilptr) {
346 }
347 }
◆ onPlatformPanel()
◆ onPlatformSurface()
void onPlatformSurface |
( |
| ) |
|
◆ onPointer()
◆ onPress()
在文件 QObject.xcsm 第 594 行定义.
594 {
595 if (_clicklistener != nilptr) {
597 }
598 }
◆ onQueryWhatsThis()
void onQueryWhatsThis |
( |
| ) |
|
◆ onQuit()
在文件 QObject.xcsm 第 338 行定义.
338 {
339 if (_statusEvent != nilptr) {
341 }
342 }
◆ onReadOnlyChange()
void onReadOnlyChange |
( |
| ) |
|
◆ onReject()
◆ onRelease()
在文件 QObject.xcsm 第 599 行定义.
599 {
600 if (_clicklistener != nilptr) {
602 }
603 }
◆ onRequestSoftwareInputPanel()
void onRequestSoftwareInputPanel |
( |
| ) |
|
◆ onResize()
void onResize |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
oldw, |
|
|
int |
oldh |
|
) |
| |
在文件 QObject.xcsm 第 307 行定义.
307 {
308 if (_layoutEvent != nilptr) {
310 }
311 }
◆ onReturnPressed()
在文件 QObject.xcsm 第 803 行定义.
803 {
804 if (_editEventListener != nilptr) {
806 }
807 }
◆ onScreenChangeInternal()
void onScreenChangeInternal |
( |
| ) |
|
◆ onScroll()
◆ onScrollPrepare()
◆ onSelectionChanged()
void onSelectionChanged |
( |
| ) |
|
◆ onShortcut()
void onShortcut |
( |
int |
key, |
|
|
int |
shortcutId, |
|
|
bool |
ambig |
|
) |
| |
◆ onShortcutOverride()
void onShortcutOverride |
( |
| ) |
|
◆ onShow()
在文件 QObject.xcsm 第 322 行定义.
322 {
323 if (_statusEvent != nilptr) {
325 }
326 }
◆ onShowToParent()
◆ onSockClose()
◆ onStateMachineSignal()
void onStateMachineSignal |
( |
| ) |
|
◆ onStateMachineWrapped()
void onStateMachineWrapped |
( |
| ) |
|
◆ onStatusTip()
void onStatusTip |
( |
String |
tips | ) |
|
◆ onStyle()
◆ onStyleAnimationUpdate()
void onStyleAnimationUpdate |
( |
| ) |
|
◆ onStyleChange()
◆ onTabletEnterProximity()
void onTabletEnterProximity |
( |
| ) |
|
◆ onTabletLeaveProximity()
void onTabletLeaveProximity |
( |
| ) |
|
◆ onTabletMove()
◆ onTabletPress()
◆ onTabletRelease()
◆ onTabletTrackingChange()
void onTabletTrackingChange |
( |
| ) |
|
◆ onTextChanged()
void onTextChanged |
( |
String |
text | ) |
|
在文件 QObject.xcsm 第 785 行定义.
785 {
786 if (_editEventListener != nilptr) {
788 }
789 }
◆ onTextEdited()
void onTextEdited |
( |
String |
text | ) |
|
在文件 QObject.xcsm 第 791 行定义.
791 {
792 if (_editEventListener != nilptr) {
794 }
795 }
◆ onThemeChange()
◆ onThreadChange()
◆ onTimer()
void onTimer |
( |
int |
timeId | ) |
|
◆ onToggle()
void onToggle |
( |
bool |
checked | ) |
|
在文件 QObject.xcsm 第 589 行定义.
589 {
590 if (_clicklistener != nilptr) {
592 }
593 }
◆ onToolBarChange()
◆ onToolTip()
void onToolTip |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onToolTipChange()
◆ onTouchBegin()
◆ onTouchCancel()
◆ onTouchEnd()
◆ onTouchUpdate()
◆ onTrigger()
在文件 QObject.xcsm 第 349 行定义.
349 {
350 if (_eventListener != nilptr) {
352 }
353 }
onEventListener _eventListener
◆ onUngrabKeyboard()
void onUngrabKeyboard |
( |
| ) |
|
◆ onUngrabMouse()
◆ onUpdateLater()
◆ onUpdateRequest()
在文件 QObject.xcsm 第 397 行定义.
397 {
398 if (_updateListener != nilptr) {
400 }
401 }
onUpdateListener _updateListener
◆ onUser()
◆ onVariantPropertyAttributeChanged()
void onVariantPropertyAttributeChanged |
( |
long |
prop, |
|
|
String |
strAttributr, |
|
|
int |
dataType, |
|
|
String |
stringValue |
|
) |
| |
◆ onVariantPropertyValueChanged()
void onVariantPropertyValueChanged |
( |
long |
prop, |
|
|
int |
dataType, |
|
|
String |
stringValue |
|
) |
| |
◆ onWhatsThis()
void onWhatsThis |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
◆ onWhatsThisClicked()
void onWhatsThisClicked |
( |
| ) |
|
◆ onWheel()
void onWheel |
( |
int |
button, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
Orientation, |
|
|
int |
delta, |
|
|
bool |
inverted |
|
) |
| |
在文件 QObject.xcsm 第 254 行定义.
254 {
255 if (_mouseListener != nilptr) {
256 _mouseListener.onWheel(
this, button, x, y, Orientation, delta, inverted);
257 }
258 }
◆ onWindowActivate()
void onWindowActivate |
( |
| ) |
|
在文件 QObject.xcsm 第 357 行定义.
357 {
358 if (_activateListener != nilptr) {
360 }
361 }
onActivateListener _activateListener
◆ onWindowBlocked()
◆ onWindowChangeInternal()
void onWindowChangeInternal |
( |
| ) |
|
◆ onWindowDeactivate()
void onWindowDeactivate |
( |
| ) |
|
在文件 QObject.xcsm 第 362 行定义.
362 {
363 if (_activateListener != nilptr) {
365 }
366 }
◆ onWindowStateChange()
void onWindowStateChange |
( |
int |
oldstate, |
|
|
int |
state |
|
) |
| |
在文件 QObject.xcsm 第 432 行定义.
432 {
433 if (_statusEvent != nilptr) {
434 _statusEvent.onWindowStateChange(
this, oldstate, state);
435 }
436 }
◆ onWindowUnblocked()
void onWindowUnblocked |
( |
| ) |
|
◆ onWinEventAct()
◆ onWinIdChange()
◆ onZeroTimerEvent()
void onZeroTimerEvent |
( |
| ) |
|
◆ onZOrderChange()
◆ QON_SELCHANGED()
void QON_SELCHANGED |
( |
bool |
yes | ) |
|
在文件 QObject.xcsm 第 619 行定义.
619 {
620 if (_sciEventListener != nilptr) {
622 }
623 }
◆ runOnThread()
static void runOnThread |
( |
Runnable |
task | ) |
|
|
static |
在文件 QObject.xcsm 第 34 行定义.
34 {
35 new QThread() {
36 void run()override {
37 task.run();
38 super.run();
39 }
40 } .start();
41 }
◆ runOnUi()
void runOnUi |
( |
Runnable |
task | ) |
|
在文件 QObject.xcsm 第 19 行定义.
19 {
22 }
23 Notify(Constant.NEW_UI_TASK_NID);
24 }
void Notify(long eventid)
◆ SCEN_CHANGE()
在文件 QObject.xcsm 第 649 行定义.
649 {
650 if (_sciEventListener != nilptr) {
652 }
653 }
◆ setName()
◆ setOnActivateListener()
void setOnActivateListener |
( |
onActivateListener |
l | ) |
|
◆ setOnClickListener()
void setOnClickListener |
( |
onClickListener |
l | ) |
|
◆ setOnComboBoxEventListener()
void setOnComboBoxEventListener |
( |
onComboBoxEventListener |
l | ) |
|
◆ setOnContextMenuListener()
void setOnContextMenuListener |
( |
onContextMenuListener |
l | ) |
|
◆ setOnDragListener()
void setOnDragListener |
( |
onDragListener |
l | ) |
|
◆ setOnEditEventListener()
void setOnEditEventListener |
( |
onEditEventListener |
l | ) |
|
◆ setOnEventListener()
void setOnEventListener |
( |
onEventListener |
l | ) |
|
◆ setOnFileSystemChangeListener()
void setOnFileSystemChangeListener |
( |
onFileSystemChangeListener |
l | ) |
|
◆ setOnFocusEventListener()
void setOnFocusEventListener |
( |
onFocusEventListener |
l | ) |
|
◆ setOnKeyEventListener()
void setOnKeyEventListener |
( |
onKeyEventListener |
l | ) |
|
◆ setOnLayoutEventListener()
void setOnLayoutEventListener |
( |
onLayoutEventListener |
l | ) |
|
◆ setOnMouseEventListener()
void setOnMouseEventListener |
( |
onMouseEventListener |
l | ) |
|
◆ setOnNotifyListener()
void setOnNotifyListener |
( |
onNotifyListener |
l | ) |
|
◆ setOnPaintListener()
void setOnPaintListener |
( |
onPaintListener |
l | ) |
|
◆ setOnSciEventListener()
void setOnSciEventListener |
( |
SciEventListener |
l | ) |
|
◆ setOnScopeEventListener()
void setOnScopeEventListener |
( |
onScopeEventListener |
l | ) |
|
◆ setOnStatusListener()
void setOnStatusListener |
( |
onStatusListener |
l | ) |
|
◆ setOnTableWidgetEventListener()
void setOnTableWidgetEventListener |
( |
TableWidgetEventListener |
l | ) |
|
◆ setOnTreeViewItemEvent()
void setOnTreeViewItemEvent |
( |
onTreeViewItemEvent |
l | ) |
|
◆ setOnUpdateListener()
void setOnUpdateListener |
( |
onUpdateListener |
l | ) |
|
◆ setTag()
在文件 QObject.xcsm 第 526 行定义.
526 {
527 QtXnl.widget_set_object_value(nativehandle, Constant.SETTAG, obj);
528 }
◆ setUIEventSynched()
static void setUIEventSynched |
( |
bool |
bs | ) |
|
|
static |
◆ _activateListener
onActivateListener _activateListener = nilptr |
◆ _clicklistener
onClickListener _clicklistener = nilptr |
◆ _comboboxListener
onComboBoxEventListener _comboboxListener = nilptr |
◆ _contextMenuListener
onContextMenuListener _contextMenuListener = nilptr |
◆ _dragListener
onDragListener _dragListener = nilptr |
◆ _editEventListener
onEditEventListener _editEventListener = nilptr |
◆ _eventListener
onEventListener _eventListener = nilptr |
◆ _focusListener
onFocusEventListener _focusListener = nilptr |
◆ _fsweListener
onFileSystemChangeListener _fsweListener = nilptr |
◆ _keyListener
onKeyEventListener _keyListener = nilptr |
◆ _layoutEvent
onLayoutEventListener _layoutEvent = nilptr |
◆ _mouseListener
onMouseEventListener _mouseListener = nilptr |
◆ _notifyListener
onNotifyListener _notifyListener = nilptr |
◆ _paintEvent
onPaintListener _paintEvent = nilptr |
◆ _sciEventListener
SciEventListener _sciEventListener = nilptr |
◆ _scopeListener
onScopeEventListener _scopeListener = nilptr |
◆ _statusEvent
onStatusListener _statusEvent = nilptr |
◆ _tableenvlis
TableWidgetEventListener _tableenvlis = nilptr |
◆ _treeitemevent
onTreeViewItemEvent _treeitemevent = nilptr |
◆ _ui_event_synched
bool _ui_event_synched = true |
|
static |
◆ _ui_loop_busy
bool _ui_loop_busy = false |
|
static |
◆ _uiloop_list
List<Runnable> _uiloop_list = new List<Runnable>() |
|
static |
◆ _updateListener
onUpdateListener _updateListener = nilptr |