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

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

There is a newer version: 6.8.0
Show newest version
package io.qt.widgets;

import io.qt.*;


/**
 * 

Displays the contents of a QUndoStack

*

Java wrapper for Qt class QUndoView

*/ public class QUndoView extends io.qt.widgets.QListView { @QtPropertyMember(enabled=false) private Object __rcGroupOrStack = null; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QUndoView.class); /** *

See QUndoView::QUndoView(QUndoGroup*,QWidget*)

*/ public QUndoView(io.qt.gui.@Nullable QUndoGroup group, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, group, parent); __rcGroupOrStack = group; } private native static void initialize_native(QUndoView instance, io.qt.gui.QUndoGroup group, io.qt.widgets.QWidget parent); /** *

See QUndoView::QUndoView(QUndoStack*,QWidget*)

*/ public QUndoView(io.qt.gui.@Nullable QUndoStack stack, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, stack, parent); __rcGroupOrStack = stack; } private native static void initialize_native(QUndoView instance, io.qt.gui.QUndoStack stack, io.qt.widgets.QWidget parent); /** *

See QUndoView::QUndoView(QWidget*)

*/ public QUndoView(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QUndoView instance, io.qt.widgets.QWidget parent); /** *

See QUndoView::cleanIcon()const

*/ @QtPropertyReader(name="cleanIcon") @QtUninvokable public final io.qt.gui.@NonNull QIcon cleanIcon(){ return cleanIcon_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QIcon cleanIcon_native_constfct(long __this__nativeId); /** *

See QUndoView::emptyLabel()const

*/ @QtPropertyReader(name="emptyLabel") @QtUninvokable public final java.lang.@NonNull String emptyLabel(){ return emptyLabel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String emptyLabel_native_constfct(long __this__nativeId); /** *

See QUndoView::group()const

*/ @QtUninvokable public final io.qt.gui.@Nullable QUndoGroup group(){ return group_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QUndoGroup group_native_constfct(long __this__nativeId); /** *

See QUndoView::setCleanIcon(QIcon)

*/ @QtPropertyWriter(name="cleanIcon") @QtUninvokable public final void setCleanIcon(io.qt.gui.@NonNull QIcon icon){ setCleanIcon_native_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon)); } @QtUninvokable private native void setCleanIcon_native_cref_QIcon(long __this__nativeId, long icon); /** *

See QUndoView::setEmptyLabel(QString)

*/ @QtPropertyWriter(name="emptyLabel") @QtUninvokable public final void setEmptyLabel(java.lang.@NonNull String label){ setEmptyLabel_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), label); } @QtUninvokable private native void setEmptyLabel_native_cref_QString(long __this__nativeId, java.lang.String label); /** *

See QUndoView::setGroup(QUndoGroup*)

*/ public final void setGroup(io.qt.gui.@Nullable QUndoGroup group){ setGroup_native_QUndoGroup_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(group)); __rcGroupOrStack = group; } private native void setGroup_native_QUndoGroup_ptr(long __this__nativeId, long group); /** *

See QUndoView::setStack(QUndoStack*)

*/ public final void setStack(io.qt.gui.@Nullable QUndoStack stack){ setStack_native_QUndoStack_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stack)); __rcGroupOrStack = stack; } private native void setStack_native_QUndoStack_ptr(long __this__nativeId, long stack); /** *

See QUndoView::stack()const

*/ @QtUninvokable public final io.qt.gui.@Nullable QUndoStack stack(){ return stack_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QUndoStack stack_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QUndoView(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QUndoView(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QUndoView instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QUndoView(io.qt.gui.QUndoGroup, io.qt.widgets.QWidget)} * with parent = null.

*/ public QUndoView(io.qt.gui.@Nullable QUndoGroup group) { this(group, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QUndoView(io.qt.gui.QUndoStack, io.qt.widgets.QWidget)} * with parent = null.

*/ public QUndoView(io.qt.gui.@Nullable QUndoStack stack) { this(stack, (io.qt.widgets.QWidget)null); } /** *

Overloaded constructor for {@link #QUndoView(io.qt.widgets.QWidget)} * with parent = null.

*/ public QUndoView() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #cleanIcon()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@NonNull QIcon getCleanIcon() { return cleanIcon(); } /** * @hidden *

Kotlin property getter. In Java use {@link #emptyLabel()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getEmptyLabel() { return emptyLabel(); } /** *

Overloaded function for {@link #setCleanIcon(io.qt.gui.QIcon)}.

*/ @QtUninvokable public final void setCleanIcon(io.qt.gui.@NonNull QPixmap icon) { setCleanIcon(new io.qt.gui.QIcon(icon)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy