All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.widgets.QItemEditorFactory Maven / Gradle / Ivy

The newest version!
package io.qt.widgets;


/**
 * 

Widgets for editing item data in views and delegates

*

Java wrapper for Qt class QItemEditorFactory

*/ public class QItemEditorFactory extends io.qt.QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QItemEditorFactory::QItemEditorFactory()

*/ public QItemEditorFactory(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QItemEditorFactory instance); /** *

See QItemEditorFactory::registerEditor(int,QItemEditorCreatorBase*)

*/ @io.qt.QtUninvokable public final void registerEditor(int userType, io.qt.widgets.QItemEditorCreatorBase creator){ registerEditor_native_int_QItemEditorCreatorBase_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), userType, QtJambi_LibraryUtilities.internal.checkedNativeId(creator)); } @io.qt.QtUninvokable private native void registerEditor_native_int_QItemEditorCreatorBase_ptr(long __this__nativeId, int userType, long creator); /** *

See QItemEditorFactory::createEditor(int,QWidget*)const

*/ @io.qt.QtUninvokable public io.qt.widgets.QWidget createEditor(int userType, io.qt.widgets.QWidget parent){ return createEditor_native_int_QWidget_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), userType, QtJambi_LibraryUtilities.internal.checkedNativeId(parent)); } @io.qt.QtUninvokable private native io.qt.widgets.QWidget createEditor_native_int_QWidget_ptr_constfct(long __this__nativeId, int userType, long parent); /** *

See QItemEditorFactory::valuePropertyName(int)const

*/ @io.qt.QtUninvokable public io.qt.core.QByteArray valuePropertyName(int userType){ return valuePropertyName_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), userType); } @io.qt.QtUninvokable private native io.qt.core.QByteArray valuePropertyName_native_int_constfct(long __this__nativeId, int userType); /** *

See QItemEditorFactory::defaultFactory()

*/ public native static io.qt.widgets.QItemEditorFactory defaultFactory(); /** *

See QItemEditorFactory::setDefaultFactory(QItemEditorFactory*)

*/ public static void setDefaultFactory(io.qt.widgets.QItemEditorFactory factory){ setDefaultFactory_native_QItemEditorFactory_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(factory)); } private native static void setDefaultFactory_native_QItemEditorFactory_ptr(long factory); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QItemEditorFactory(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy