示例#1
0
func (ptr *QScriptEngineDebugger) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QScriptEngineDebugger::customEvent")

	if ptr.Pointer() != nil {
		C.QScriptEngineDebugger_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#2
0
文件: websockets.go 项目: mouse225/qt
func (ptr *QWebSocket) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QWebSocket::customEvent")

	if ptr.Pointer() != nil {
		C.QWebSocket_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#3
0
文件: uitools.go 项目: mouse225/qt
func (ptr *QUiLoader) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QUiLoader::customEvent")

	if ptr.Pointer() != nil {
		C.QUiLoader_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#4
0
文件: websockets.go 项目: mouse225/qt
func (ptr *QMaskGenerator) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QMaskGenerator::customEvent")

	if ptr.Pointer() != nil {
		C.QMaskGenerator_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#5
0
文件: macextras.go 项目: mouse225/qt
func (ptr *QMacToolBarItem) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QMacToolBarItem::customEvent")

	if ptr.Pointer() != nil {
		C.QMacToolBarItem_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#6
0
文件: webchannel.go 项目: mouse225/qt
func (ptr *QWebChannelAbstractTransport) CustomEventDefault(event core.QEvent_ITF) {
	defer qt.Recovering("QWebChannelAbstractTransport::customEvent")

	if ptr.Pointer() != nil {
		C.QWebChannelAbstractTransport_CustomEventDefault(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#7
0
文件: webchannel.go 项目: mouse225/qt
func (ptr *QWebChannel) CustomEvent(event core.QEvent_ITF) {
	defer qt.Recovering("QWebChannel::customEvent")

	if ptr.Pointer() != nil {
		C.QWebChannel_CustomEvent(ptr.Pointer(), core.PointerFromQEvent(event))
	}
}
示例#8
0
func (ptr *QGuiApplication) Notify(object core.QObject_ITF, event core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QGuiApplication_Notify(ptr.Pointer(), core.PointerFromQObject(object), core.PointerFromQEvent(event)) != 0
	}
	return false
}
示例#9
0
文件: qquickwindow.go 项目: xland/qt
func (ptr *QQuickWindow) SendEvent(item QQuickItem_ITF, e core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QQuickWindow_SendEvent(ptr.Pointer(), PointerFromQQuickItem(item), core.PointerFromQEvent(e)) != 0
	}
	return false
}
示例#10
0
文件: qlineedit.go 项目: xland/qt
func (ptr *QLineEdit) Event(e core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QLineEdit_Event(ptr.Pointer(), core.PointerFromQEvent(e)) != 0
	}
	return false
}
示例#11
0
func (ptr *QAbstractSpinBox) Event(event core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QAbstractSpinBox_Event(ptr.Pointer(), core.PointerFromQEvent(event)) != 0
	}
	return false
}
示例#12
0
文件: qscrollbar.go 项目: xland/qt
func (ptr *QScrollBar) Event(event core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QScrollBar_Event(ptr.Pointer(), core.PointerFromQEvent(event)) != 0
	}
	return false
}
示例#13
0
文件: qdatetimeedit.go 项目: xland/qt
func (ptr *QDateTimeEdit) Event(event core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QDateTimeEdit_Event(ptr.Pointer(), core.PointerFromQEvent(event)) != 0
	}
	return false
}
示例#14
0
func (ptr *QGraphicsScene) SendEvent(item QGraphicsItem_ITF, event core.QEvent_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QGraphicsScene_SendEvent(ptr.Pointer(), PointerFromQGraphicsItem(item), core.PointerFromQEvent(event)) != 0
	}
	return false
}
示例#15
0
func (ptr *QAbstractItemDelegate) EditorEvent(event core.QEvent_ITF, model core.QAbstractItemModel_ITF, option QStyleOptionViewItem_ITF, index core.QModelIndex_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QAbstractItemDelegate_EditorEvent(ptr.Pointer(), core.PointerFromQEvent(event), core.PointerFromQAbstractItemModel(model), PointerFromQStyleOptionViewItem(option), core.PointerFromQModelIndex(index)) != 0
	}
	return false
}