示例#1
0
func (ptr *QScriptEngineDebugger) Action(action QScriptEngineDebugger__DebuggerAction) *widgets.QAction {
	defer qt.Recovering("QScriptEngineDebugger::action")

	if ptr.Pointer() != nil {
		return widgets.NewQActionFromPointer(C.QScriptEngineDebugger_Action(ptr.Pointer(), C.int(action)))
	}
	return nil
}
示例#2
0
文件: uitools.go 项目: mouse225/qt
func (ptr *QUiLoader) CreateAction(parent core.QObject_ITF, name string) *widgets.QAction {
	defer qt.Recovering("QUiLoader::createAction")

	if ptr.Pointer() != nil {
		return widgets.NewQActionFromPointer(C.QUiLoader_CreateAction(ptr.Pointer(), core.PointerFromQObject(parent), C.CString(name)))
	}
	return nil
}
示例#3
0
func (ptr *QScriptEngineDebugger) Action(action QScriptEngineDebugger__DebuggerAction) *widgets.QAction {
	if ptr.Pointer() != nil {
		return widgets.NewQActionFromPointer(C.QScriptEngineDebugger_Action(ptr.Pointer(), C.int(action)))
	}
	return nil
}