Пример #1
0
func (ptr *QScriptEngineDebugger) Widget(widget QScriptEngineDebugger__DebuggerWidget) *widgets.QWidget {
	defer qt.Recovering("QScriptEngineDebugger::widget")

	if ptr.Pointer() != nil {
		return widgets.NewQWidgetFromPointer(C.QScriptEngineDebugger_Widget(ptr.Pointer(), C.int(widget)))
	}
	return nil
}
Пример #2
0
func (ptr *QUiLoader) CreateWidget(className string, parent widgets.QWidget_ITF, name string) *widgets.QWidget {
	defer qt.Recovering("QUiLoader::createWidget")

	if ptr.Pointer() != nil {
		return widgets.NewQWidgetFromPointer(C.QUiLoader_CreateWidget(ptr.Pointer(), C.CString(className), widgets.PointerFromQWidget(parent), C.CString(name)))
	}
	return nil
}
Пример #3
0
func (ptr *QUiLoader) Load(device core.QIODevice_ITF, parentWidget widgets.QWidget_ITF) *widgets.QWidget {
	defer qt.Recovering("QUiLoader::load")

	if ptr.Pointer() != nil {
		return widgets.NewQWidgetFromPointer(C.QUiLoader_Load(ptr.Pointer(), core.PointerFromQIODevice(device), widgets.PointerFromQWidget(parentWidget)))
	}
	return nil
}
Пример #4
0
func (ptr *QScriptEngineDebugger) Widget(widget QScriptEngineDebugger__DebuggerWidget) *widgets.QWidget {
	if ptr.Pointer() != nil {
		return widgets.NewQWidgetFromPointer(C.QScriptEngineDebugger_Widget(ptr.Pointer(), C.int(widget)))
	}
	return nil
}
Пример #5
0
func (ptr *QVideoWidgetControl) VideoWidget() *widgets.QWidget {
	if ptr.Pointer() != nil {
		return widgets.NewQWidgetFromPointer(C.QVideoWidgetControl_VideoWidget(ptr.Pointer()))
	}
	return nil
}