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

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

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

import io.qt.*;


/**
 * 

Widget that is used to edit and display both plain and rich text

*

Java wrapper for Qt class QTextEdit

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

Java wrapper for Qt enum QTextEdit::AutoFormattingFlag

* * @see AutoFormatting */ public enum AutoFormattingFlag implements QtFlagEnumerator { /** *

Representing QTextEdit::AutoNone

*/ AutoNone(0), /** *

Representing QTextEdit::AutoBulletList

*/ AutoBulletList(1), /** *

Representing QTextEdit::AutoAll

*/ AutoAll(-1); static { QtJambi_LibraryUtilities.initialize(); } private AutoFormattingFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull AutoFormatting asFlags() { return new AutoFormatting(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull AutoFormatting combined(@NonNull AutoFormattingFlag e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull AutoFormatting cleared(@NonNull AutoFormattingFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link AutoFormatting} from the entries. * @param values entries * @return new flag */ public static @NonNull AutoFormatting flags(@Nullable AutoFormattingFlag @NonNull... values) { return new AutoFormatting(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull AutoFormattingFlag resolve(int value) { switch (value) { case 0: return AutoNone; case 1: return AutoBulletList; case -1: return AutoAll; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link AutoFormattingFlag} */ public static final class AutoFormatting extends QFlags implements Comparable { private static final long serialVersionUID = 0xed2f1591105484faL; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new AutoFormatting where the flags in args are set. * @param args enum entries */ public AutoFormatting(@Nullable AutoFormattingFlag @NonNull... args){ super(args); } /** * Creates a new AutoFormatting with given value. * @param value */ public AutoFormatting(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new AutoFormatting */ @Override public final @NonNull AutoFormatting combined(@StrictNonNull AutoFormattingFlag e){ return new AutoFormatting(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull AutoFormatting setFlag(@Nullable AutoFormattingFlag e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull AutoFormatting setFlag(@Nullable AutoFormattingFlag e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this AutoFormatting. * @return array of enum entries */ @Override public final @NonNull AutoFormattingFlag @NonNull[] flags(){ return super.flags(AutoFormattingFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull AutoFormatting clone(){ return new AutoFormatting(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull AutoFormatting other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QTextEdit::LineWrapMode

*/ public enum LineWrapMode implements QtEnumerator { /** *

Representing QTextEdit::NoWrap

*/ NoWrap(0), /** *

Representing QTextEdit::WidgetWidth

*/ WidgetWidth(1), /** *

Representing QTextEdit::FixedPixelWidth

*/ FixedPixelWidth(2), /** *

Representing QTextEdit::FixedColumnWidth

*/ FixedColumnWidth(3); static { QtJambi_LibraryUtilities.initialize(); } private LineWrapMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull LineWrapMode resolve(int value) { switch (value) { case 0: return NoWrap; case 1: return WidgetWidth; case 2: return FixedPixelWidth; case 3: return FixedColumnWidth; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document

*

Java wrapper for Qt class QTextEdit::ExtraSelection

*/ public static class ExtraSelection extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QTextEdit::ExtraSelection::ExtraSelection()

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

See QTextEdit::ExtraSelection::ExtraSelection(QTextEdit::ExtraSelection)

*/ public ExtraSelection(io.qt.widgets.QTextEdit.@NonNull ExtraSelection other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(ExtraSelection instance, io.qt.widgets.QTextEdit.ExtraSelection other); /** *

See QTextEdit::ExtraSelection::ExtraSelection{QTextCursor,QTextCharFormat}

*/ public ExtraSelection(io.qt.gui.@NonNull QTextCursor cursor, io.qt.gui.@NonNull QTextCharFormat format){ super((QPrivateConstructor)null); initialize_native(this, cursor, format); } private native static void initialize_native(ExtraSelection instance, io.qt.gui.QTextCursor cursor, io.qt.gui.QTextCharFormat format); /** *

See QTextEdit::ExtraSelection::cursor

*/ @QtUninvokable public final void setCursor(io.qt.gui.@NonNull QTextCursor cursor){ setCursor_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor)); } @QtUninvokable private native void setCursor_native_cref_QTextCursor(long __this__nativeId, long cursor); /** *

See QTextEdit::ExtraSelection::cursor

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCursor cursor(){ return cursor_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextCursor cursor_native(long __this__nativeId); /** *

See QTextEdit::ExtraSelection::format

*/ @QtUninvokable public final void setFormat(io.qt.gui.@NonNull QTextCharFormat format){ setFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format)); } @QtUninvokable private native void setFormat_native_cref_QTextCharFormat(long __this__nativeId, long format); /** *

See QTextEdit::ExtraSelection::format

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCharFormat format(){ return format_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextCharFormat format_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected ExtraSelection(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QTextEdit::ExtraSelection::ExtraSelection(QTextEdit::ExtraSelection)

*/ @QtUninvokable @Override public ExtraSelection clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native ExtraSelection clone_native(long __this_nativeId); /** * @hidden *

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

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCursor getCursor() { return cursor(); } /** * @hidden *

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

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCharFormat getFormat() { return format(); } } /** *

See QTextEdit::copyAvailable(bool)

*/ public final @NonNull Signal1 copyAvailable = new Signal1<>(); /** *

See QTextEdit::currentCharFormatChanged(QTextCharFormat)

*/ public final @NonNull Signal1 currentCharFormatChanged = new Signal1<>(); /** *

See QTextEdit::cursorPositionChanged()

*/ public final @NonNull Signal0 cursorPositionChanged = new Signal0(); /** *

See QTextEdit::redoAvailable(bool)

*/ public final @NonNull Signal1 redoAvailable = new Signal1<>(); /** *

See QTextEdit::selectionChanged()

*/ public final @NonNull Signal0 selectionChanged = new Signal0(); /** *

See QTextEdit::textChanged()

*/ @QtPropertyNotify(name="markdown") public final @NonNull Signal0 textChanged = new Signal0(); /** *

See QTextEdit::undoAvailable(bool)

*/ public final @NonNull Signal1 undoAvailable = new Signal1<>(); /** *

See QTextEdit::QTextEdit(QString,QWidget*)

*/ public QTextEdit(java.lang.@NonNull String text, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, text, parent); } private native static void initialize_native(QTextEdit instance, java.lang.String text, io.qt.widgets.QWidget parent); /** *

See QTextEdit::QTextEdit(QWidget*)

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

See QTextEdit::acceptRichText()const

*/ @QtPropertyReader(name="acceptRichText") @QtUninvokable public final boolean acceptRichText(){ return acceptRichText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean acceptRichText_native_constfct(long __this__nativeId); /** *

See QTextEdit::alignment()const

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment alignment(){ return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int alignment_native_constfct(long __this__nativeId); /** *

See QTextEdit::anchorAt(QPoint)const

*/ @QtUninvokable public final java.lang.@NonNull String anchorAt(io.qt.core.@NonNull QPoint pos){ return anchorAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native java.lang.String anchorAt_native_cref_QPoint_constfct(long __this__nativeId, long pos); /** *

See QTextEdit::append(QString)

*/ public final void append(java.lang.@NonNull String text){ append_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void append_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::autoFormatting()const

*/ @QtPropertyReader(name="autoFormatting") @QtUninvokable public final io.qt.widgets.QTextEdit.@NonNull AutoFormatting autoFormatting(){ return new io.qt.widgets.QTextEdit.AutoFormatting(autoFormatting_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int autoFormatting_native_constfct(long __this__nativeId); /** *

See QTextEdit::canPaste()const

*/ @QtUninvokable public final boolean canPaste(){ return canPaste_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean canPaste_native_constfct(long __this__nativeId); /** *

See QTextEdit::clear()

*/ public final void clear(){ clear_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void clear_native(long __this__nativeId); /** *

See QTextEdit::copy()

*/ public final void copy(){ copy_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void copy_native(long __this__nativeId); /** *

See QTextEdit::createStandardContextMenu()

*/ @QtUninvokable public final io.qt.widgets.@Nullable QMenu createStandardContextMenu(){ return createStandardContextMenu_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QMenu createStandardContextMenu_native(long __this__nativeId); /** *

See QTextEdit::createStandardContextMenu(QPoint)

*/ @QtUninvokable public final io.qt.widgets.@Nullable QMenu createStandardContextMenu(io.qt.core.@NonNull QPoint position){ return createStandardContextMenu_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position)); } @QtUninvokable private native io.qt.widgets.QMenu createStandardContextMenu_native_cref_QPoint(long __this__nativeId, long position); /** *

See QTextEdit::currentCharFormat()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCharFormat currentCharFormat(){ return currentCharFormat_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextCharFormat currentCharFormat_native_constfct(long __this__nativeId); /** *

See QTextEdit::currentFont()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QFont currentFont(){ return currentFont_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QFont currentFont_native_constfct(long __this__nativeId); /** *

See QTextEdit::cursorForPosition(QPoint)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCursor cursorForPosition(io.qt.core.@NonNull QPoint pos){ return cursorForPosition_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native io.qt.gui.QTextCursor cursorForPosition_native_cref_QPoint_constfct(long __this__nativeId, long pos); /** *

See QTextEdit::cursorRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect cursorRect(){ return cursorRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect cursorRect_native_constfct(long __this__nativeId); /** *

See QTextEdit::cursorRect(QTextCursor)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect cursorRect(io.qt.gui.@NonNull QTextCursor cursor){ return cursorRect_native_cref_QTextCursor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor)); } @QtUninvokable private native io.qt.core.QRect cursorRect_native_cref_QTextCursor_constfct(long __this__nativeId, long cursor); /** *

See QTextEdit::cursorWidth()const

*/ @QtPropertyReader(name="cursorWidth") @QtUninvokable public final int cursorWidth(){ return cursorWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int cursorWidth_native_constfct(long __this__nativeId); /** *

See QTextEdit::cut()

*/ public final void cut(){ cut_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void cut_native(long __this__nativeId); /** *

See QTextEdit::document()const

*/ @QtPropertyReader(name="document") @QtPropertyDesignable("false") @QtUninvokable public final io.qt.gui.@Nullable QTextDocument document(){ return document_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextDocument document_native_constfct(long __this__nativeId); /** *

See QTextEdit::documentTitle()const

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

See QTextEdit::ensureCursorVisible()

*/ @QtUninvokable public final void ensureCursorVisible(){ ensureCursorVisible_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void ensureCursorVisible_native(long __this__nativeId); /** *

See QTextEdit::extraSelections()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList extraSelections(){ return extraSelections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList extraSelections_native_constfct(long __this__nativeId); /** *

See QTextEdit::find(QRegularExpression,QTextDocument::FindFlags)

*/ @QtUninvokable public final boolean find(io.qt.core.@NonNull QRegularExpression exp, io.qt.gui.QTextDocument.@NonNull FindFlags options){ return find_native_cref_QRegularExpression_QTextDocument_FindFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exp), options.value()); } @QtUninvokable private native boolean find_native_cref_QRegularExpression_QTextDocument_FindFlags(long __this__nativeId, long exp, int options); /** *

See QTextEdit::find(QString,QTextDocument::FindFlags)

*/ @QtUninvokable public final boolean find(java.lang.@NonNull String exp, io.qt.gui.QTextDocument.@NonNull FindFlags options){ return find_native_cref_QString_QTextDocument_FindFlags(QtJambi_LibraryUtilities.internal.nativeId(this), exp, options.value()); } @QtUninvokable private native boolean find_native_cref_QString_QTextDocument_FindFlags(long __this__nativeId, java.lang.String exp, int options); /** *

See QTextEdit::fontFamily()const

*/ @QtUninvokable public final java.lang.@NonNull String fontFamily(){ return fontFamily_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String fontFamily_native_constfct(long __this__nativeId); /** *

See QTextEdit::fontItalic()const

*/ @QtUninvokable public final boolean fontItalic(){ return fontItalic_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean fontItalic_native_constfct(long __this__nativeId); /** *

See QTextEdit::fontPointSize()const

*/ @QtUninvokable public final double fontPointSize(){ return fontPointSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double fontPointSize_native_constfct(long __this__nativeId); /** *

See QTextEdit::fontUnderline()const

*/ @QtUninvokable public final boolean fontUnderline(){ return fontUnderline_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean fontUnderline_native_constfct(long __this__nativeId); /** *

See QTextEdit::fontWeight()const

*/ @QtUninvokable public final int fontWeight(){ return fontWeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int fontWeight_native_constfct(long __this__nativeId); /** *

See QTextEdit::inputMethodQuery(Qt::InputMethodQuery,QVariant)const

*/ public final java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query, java.lang.Object argument){ return inputMethodQuery_native_Qt_InputMethodQuery_QVariant_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), query.value(), argument); } private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_QVariant_constfct(long __this__nativeId, int query, java.lang.Object argument); /** *

See QTextEdit::insertHtml(QString)

*/ public final void insertHtml(java.lang.@NonNull String text){ insertHtml_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void insertHtml_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::insertPlainText(QString)

*/ public final void insertPlainText(java.lang.@NonNull String text){ insertPlainText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void insertPlainText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::isReadOnly()const

*/ @QtPropertyReader(name="readOnly") @QtUninvokable public final boolean isReadOnly(){ return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isReadOnly_native_constfct(long __this__nativeId); /** *

See QTextEdit::isUndoRedoEnabled()const

*/ @QtPropertyReader(name="undoRedoEnabled") @QtUninvokable public final boolean isUndoRedoEnabled(){ return isUndoRedoEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isUndoRedoEnabled_native_constfct(long __this__nativeId); /** *

See QTextEdit::lineWrapColumnOrWidth()const

*/ @QtPropertyReader(name="lineWrapColumnOrWidth") @QtUninvokable public final int lineWrapColumnOrWidth(){ return lineWrapColumnOrWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int lineWrapColumnOrWidth_native_constfct(long __this__nativeId); /** *

See QTextEdit::lineWrapMode()const

*/ @QtPropertyReader(name="lineWrapMode") @QtUninvokable public final io.qt.widgets.QTextEdit.@NonNull LineWrapMode lineWrapMode(){ return io.qt.widgets.QTextEdit.LineWrapMode.resolve(lineWrapMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int lineWrapMode_native_constfct(long __this__nativeId); /** *

See QTextEdit::mergeCurrentCharFormat(QTextCharFormat)

*/ @QtUninvokable public final void mergeCurrentCharFormat(io.qt.gui.@NonNull QTextCharFormat modifier){ mergeCurrentCharFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(modifier)); } @QtUninvokable private native void mergeCurrentCharFormat_native_cref_QTextCharFormat(long __this__nativeId, long modifier); /** *

See QTextEdit::moveCursor(QTextCursor::MoveOperation,QTextCursor::MoveMode)

*/ @QtUninvokable public final void moveCursor(io.qt.gui.QTextCursor.@NonNull MoveOperation operation, io.qt.gui.QTextCursor.@NonNull MoveMode mode){ moveCursor_native_QTextCursor_MoveOperation_QTextCursor_MoveMode(QtJambi_LibraryUtilities.internal.nativeId(this), operation.value(), mode.value()); } @QtUninvokable private native void moveCursor_native_QTextCursor_MoveOperation_QTextCursor_MoveMode(long __this__nativeId, int operation, int mode); /** *

See QTextEdit::overwriteMode()const

*/ @QtPropertyReader(name="overwriteMode") @QtUninvokable public final boolean overwriteMode(){ return overwriteMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean overwriteMode_native_constfct(long __this__nativeId); /** *

See QTextEdit::paste()

*/ public final void paste(){ paste_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void paste_native(long __this__nativeId); /** *

See QTextEdit::placeholderText()const

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

See QTextEdit::print(QPagedPaintDevice*)const

*/ @QtUninvokable public final void print(io.qt.gui.@Nullable QPagedPaintDevice printer){ print_native_QPagedPaintDevice_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(printer)); } @QtUninvokable private native void print_native_QPagedPaintDevice_ptr_constfct(long __this__nativeId, long printer); /** *

See QTextEdit::redo()

*/ public final void redo(){ redo_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void redo_native(long __this__nativeId); /** *

See QTextEdit::scrollToAnchor(QString)

*/ public final void scrollToAnchor(java.lang.@NonNull String name){ scrollToAnchor_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } private native void scrollToAnchor_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QTextEdit::selectAll()

*/ public final void selectAll(){ selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void selectAll_native(long __this__nativeId); /** *

See QTextEdit::setAcceptRichText(bool)

*/ @QtPropertyWriter(name="acceptRichText") @QtUninvokable public final void setAcceptRichText(boolean accept){ setAcceptRichText_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), accept); } @QtUninvokable private native void setAcceptRichText_native_bool(long __this__nativeId, boolean accept); /** *

See QTextEdit::setAlignment(Qt::Alignment)

*/ public final void setAlignment(io.qt.core.Qt.@NonNull Alignment a){ setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), a.value()); } private native void setAlignment_native_Qt_Alignment(long __this__nativeId, int a); /** *

See QTextEdit::setAutoFormatting(QTextEdit::AutoFormatting)

*/ @QtPropertyWriter(name="autoFormatting") @QtUninvokable public final void setAutoFormatting(io.qt.widgets.QTextEdit.@NonNull AutoFormatting features){ setAutoFormatting_native_QTextEdit_AutoFormatting(QtJambi_LibraryUtilities.internal.nativeId(this), features.value()); } @QtUninvokable private native void setAutoFormatting_native_QTextEdit_AutoFormatting(long __this__nativeId, int features); /** *

See QTextEdit::setCurrentCharFormat(QTextCharFormat)

*/ @QtUninvokable public final void setCurrentCharFormat(io.qt.gui.@NonNull QTextCharFormat format){ setCurrentCharFormat_native_cref_QTextCharFormat(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(format)); } @QtUninvokable private native void setCurrentCharFormat_native_cref_QTextCharFormat(long __this__nativeId, long format); /** *

See QTextEdit::setCurrentFont(QFont)

*/ public final void setCurrentFont(io.qt.gui.@NonNull QFont f){ setCurrentFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(f)); } private native void setCurrentFont_native_cref_QFont(long __this__nativeId, long f); /** *

See QTextEdit::setCursorWidth(int)

*/ @QtPropertyWriter(name="cursorWidth") @QtUninvokable public final void setCursorWidth(int width){ setCursorWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), width); } @QtUninvokable private native void setCursorWidth_native_int(long __this__nativeId, int width); /** *

See QTextEdit::setDocument(QTextDocument*)

*/ @QtPropertyWriter(name="document") @QtUninvokable public final void setDocument(io.qt.gui.@Nullable QTextDocument document){ setDocument_native_QTextDocument_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(document)); __rcDocument = document; } @QtUninvokable private native void setDocument_native_QTextDocument_ptr(long __this__nativeId, long document); /** *

See QTextEdit::setDocumentTitle(QString)

*/ @QtPropertyWriter(name="documentTitle") @QtUninvokable public final void setDocumentTitle(java.lang.@NonNull String title){ setDocumentTitle_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), title); } @QtUninvokable private native void setDocumentTitle_native_cref_QString(long __this__nativeId, java.lang.String title); /** *

See QTextEdit::setExtraSelections(QList<QTextEdit::ExtraSelection>)

*/ @QtUninvokable public final void setExtraSelections(java.util.@NonNull Collection selections){ setExtraSelections_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), selections); } @QtUninvokable private native void setExtraSelections_native_cref_QList(long __this__nativeId, java.util.Collection selections); /** *

See QTextEdit::setFontFamily(QString)

*/ public final void setFontFamily(java.lang.@NonNull String fontFamily){ setFontFamily_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), fontFamily); } private native void setFontFamily_native_cref_QString(long __this__nativeId, java.lang.String fontFamily); /** *

See QTextEdit::setFontItalic(bool)

*/ public final void setFontItalic(boolean b){ setFontItalic_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } private native void setFontItalic_native_bool(long __this__nativeId, boolean b); /** *

See QTextEdit::setFontPointSize(qreal)

*/ public final void setFontPointSize(double s){ setFontPointSize_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), s); } private native void setFontPointSize_native_qreal(long __this__nativeId, double s); /** *

See QTextEdit::setFontUnderline(bool)

*/ public final void setFontUnderline(boolean b){ setFontUnderline_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } private native void setFontUnderline_native_bool(long __this__nativeId, boolean b); /** *

See QTextEdit::setFontWeight(int)

*/ public final void setFontWeight(int w){ setFontWeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w); } private native void setFontWeight_native_int(long __this__nativeId, int w); /** *

See QTextEdit::setHtml(QString)

*/ @QtPropertyWriter(name="html") public final void setHtml(java.lang.@NonNull String text){ setHtml_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void setHtml_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::setLineWrapColumnOrWidth(int)

*/ @QtPropertyWriter(name="lineWrapColumnOrWidth") @QtUninvokable public final void setLineWrapColumnOrWidth(int w){ setLineWrapColumnOrWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w); } @QtUninvokable private native void setLineWrapColumnOrWidth_native_int(long __this__nativeId, int w); /** *

See QTextEdit::setLineWrapMode(QTextEdit::LineWrapMode)

*/ @QtPropertyWriter(name="lineWrapMode") @QtUninvokable public final void setLineWrapMode(io.qt.widgets.QTextEdit.@NonNull LineWrapMode mode){ setLineWrapMode_native_QTextEdit_LineWrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setLineWrapMode_native_QTextEdit_LineWrapMode(long __this__nativeId, int mode); /** *

See QTextEdit::setMarkdown(QString)

*/ @QtPropertyWriter(name="markdown") public final void setMarkdown(java.lang.@NonNull String markdown){ setMarkdown_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), markdown); } private native void setMarkdown_native_cref_QString(long __this__nativeId, java.lang.String markdown); /** *

See QTextEdit::setOverwriteMode(bool)

*/ @QtPropertyWriter(name="overwriteMode") @QtUninvokable public final void setOverwriteMode(boolean overwrite){ setOverwriteMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), overwrite); } @QtUninvokable private native void setOverwriteMode_native_bool(long __this__nativeId, boolean overwrite); /** *

See QTextEdit::setPlaceholderText(QString)

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

See QTextEdit::setPlainText(QString)

*/ @QtPropertyWriter(name="plainText") public final void setPlainText(java.lang.@NonNull String text){ setPlainText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void setPlainText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::setReadOnly(bool)

*/ @QtPropertyWriter(name="readOnly") @QtUninvokable public final void setReadOnly(boolean ro){ setReadOnly_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), ro); } @QtUninvokable private native void setReadOnly_native_bool(long __this__nativeId, boolean ro); /** *

See QTextEdit::setTabChangesFocus(bool)

*/ @QtPropertyWriter(name="tabChangesFocus") @QtUninvokable public final void setTabChangesFocus(boolean b){ setTabChangesFocus_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b); } @QtUninvokable private native void setTabChangesFocus_native_bool(long __this__nativeId, boolean b); /** *

See QTextEdit::setTabStopDistance(qreal)

*/ @QtPropertyWriter(name="tabStopDistance") @QtUninvokable public final void setTabStopDistance(double distance){ setTabStopDistance_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), distance); } @QtUninvokable private native void setTabStopDistance_native_qreal(long __this__nativeId, double distance); /** *

See QTextEdit::setText(QString)

*/ public final void setText(java.lang.@NonNull String text){ setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

See QTextEdit::setTextBackgroundColor(QColor)

*/ public final void setTextBackgroundColor(io.qt.gui.@NonNull QColor c){ setTextBackgroundColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } private native void setTextBackgroundColor_native_cref_QColor(long __this__nativeId, long c); /** *

See QTextEdit::setTextColor(QColor)

*/ public final void setTextColor(io.qt.gui.@NonNull QColor c){ setTextColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c)); } private native void setTextColor_native_cref_QColor(long __this__nativeId, long c); /** *

See QTextEdit::setTextCursor(QTextCursor)

*/ @QtUninvokable public final void setTextCursor(io.qt.gui.@NonNull QTextCursor cursor){ setTextCursor_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor)); } @QtUninvokable private native void setTextCursor_native_cref_QTextCursor(long __this__nativeId, long cursor); /** *

See QTextEdit::setTextInteractionFlags(Qt::TextInteractionFlags)

*/ @QtPropertyWriter(name="textInteractionFlags") @QtUninvokable public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlags flags){ setTextInteractionFlags_native_Qt_TextInteractionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value()); } @QtUninvokable private native void setTextInteractionFlags_native_Qt_TextInteractionFlags(long __this__nativeId, int flags); /** *

See QTextEdit::setUndoRedoEnabled(bool)

*/ @QtPropertyWriter(name="undoRedoEnabled") @QtUninvokable public final void setUndoRedoEnabled(boolean enable){ setUndoRedoEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setUndoRedoEnabled_native_bool(long __this__nativeId, boolean enable); /** *

See QTextEdit::setWordWrapMode(QTextOption::WrapMode)

*/ @QtUninvokable public final void setWordWrapMode(io.qt.gui.QTextOption.@NonNull WrapMode policy){ setWordWrapMode_native_QTextOption_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), policy.value()); } @QtUninvokable private native void setWordWrapMode_native_QTextOption_WrapMode(long __this__nativeId, int policy); /** *

See QTextEdit::tabChangesFocus()const

*/ @QtPropertyReader(name="tabChangesFocus") @QtUninvokable public final boolean tabChangesFocus(){ return tabChangesFocus_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean tabChangesFocus_native_constfct(long __this__nativeId); /** *

See QTextEdit::tabStopDistance()const

*/ @QtPropertyReader(name="tabStopDistance") @QtUninvokable public final double tabStopDistance(){ return tabStopDistance_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double tabStopDistance_native_constfct(long __this__nativeId); /** *

See QTextEdit::textBackgroundColor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor textBackgroundColor(){ return textBackgroundColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor textBackgroundColor_native_constfct(long __this__nativeId); /** *

See QTextEdit::textColor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor textColor(){ return textColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QColor textColor_native_constfct(long __this__nativeId); /** *

See QTextEdit::textCursor()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QTextCursor textCursor(){ return textCursor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QTextCursor textCursor_native_constfct(long __this__nativeId); /** *

See QTextEdit::textInteractionFlags()const

*/ @QtPropertyReader(name="textInteractionFlags") @QtUninvokable public final io.qt.core.Qt.@NonNull TextInteractionFlags textInteractionFlags(){ return new io.qt.core.Qt.TextInteractionFlags(textInteractionFlags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textInteractionFlags_native_constfct(long __this__nativeId); /** *

See QTextEdit::toHtml()const

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

See QTextEdit::toMarkdown(QTextDocument::MarkdownFeatures)const

*/ @QtPropertyReader(name="markdown") @QtUninvokable public final java.lang.@NonNull String toMarkdown(io.qt.gui.QTextDocument.@NonNull MarkdownFeatures features){ return toMarkdown_native_QTextDocument_MarkdownFeatures_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), features.value()); } @QtUninvokable private native java.lang.String toMarkdown_native_QTextDocument_MarkdownFeatures_constfct(long __this__nativeId, int features); /** *

See QTextEdit::toPlainText()const

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

See QTextEdit::undo()

*/ public final void undo(){ undo_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void undo_native(long __this__nativeId); /** *

See QTextEdit::wordWrapMode()const

*/ @QtUninvokable public final io.qt.gui.QTextOption.@NonNull WrapMode wordWrapMode(){ return io.qt.gui.QTextOption.WrapMode.resolve(wordWrapMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int wordWrapMode_native_constfct(long __this__nativeId); /** *

See QTextEdit::zoomIn(int)

*/ public final void zoomIn(int range){ zoomIn_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), range); } private native void zoomIn_native_int(long __this__nativeId, int range); /** *

See QTextEdit::zoomInF(float)

*/ @QtUninvokable protected final void zoomInF(float range){ zoomInF_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), range); } @QtUninvokable private native void zoomInF_native_float(long __this__nativeId, float range); /** *

See QTextEdit::zoomOut(int)

*/ public final void zoomOut(int range){ zoomOut_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), range); } private native void zoomOut_native_int(long __this__nativeId, int range); /** *

See QTextEdit::canInsertFromMimeData(const QMimeData*)const

*/ @QtUninvokable protected boolean canInsertFromMimeData(io.qt.core.@Nullable QMimeData source){ return canInsertFromMimeData_native_const_QMimeData_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } @QtUninvokable private native boolean canInsertFromMimeData_native_const_QMimeData_ptr_constfct(long __this__nativeId, long source); /** *

See QWidget::changeEvent(QEvent*)

*/ @QtUninvokable protected void changeEvent(io.qt.core.@Nullable QEvent e){ changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::contextMenuEvent(QContextMenuEvent*)

*/ @QtUninvokable protected void contextMenuEvent(io.qt.gui.@Nullable QContextMenuEvent e){ contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long e); /** *

See QTextEdit::createMimeDataFromSelection()const

*/ @QtUninvokable protected io.qt.core.@Nullable QMimeData createMimeDataFromSelection(){ return createMimeDataFromSelection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QMimeData createMimeDataFromSelection_native_constfct(long __this__nativeId); /** *

See QTextEdit::doSetTextCursor(QTextCursor)

*/ @QtUninvokable protected void doSetTextCursor(io.qt.gui.@NonNull QTextCursor cursor){ doSetTextCursor_native_cref_QTextCursor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(cursor)); } @QtUninvokable private native void doSetTextCursor_native_cref_QTextCursor(long __this__nativeId, long cursor); /** *

See QWidget::dragEnterEvent(QDragEnterEvent*)

*/ @QtUninvokable protected void dragEnterEvent(io.qt.gui.@Nullable QDragEnterEvent e){ dragEnterEvent_native_QDragEnterEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void dragEnterEvent_native_QDragEnterEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::dragLeaveEvent(QDragLeaveEvent*)

*/ @QtUninvokable protected void dragLeaveEvent(io.qt.gui.@Nullable QDragLeaveEvent e){ dragLeaveEvent_native_QDragLeaveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void dragLeaveEvent_native_QDragLeaveEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::dragMoveEvent(QDragMoveEvent*)

*/ @QtUninvokable protected void dragMoveEvent(io.qt.gui.@Nullable QDragMoveEvent e){ dragMoveEvent_native_QDragMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void dragMoveEvent_native_QDragMoveEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::dropEvent(QDropEvent*)

*/ @QtUninvokable protected void dropEvent(io.qt.gui.@Nullable QDropEvent e){ dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void dropEvent_native_QDropEvent_ptr(long __this__nativeId, long e); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable public boolean event(io.qt.core.@Nullable QEvent e){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::focusInEvent(QFocusEvent*)

*/ @QtUninvokable protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent e){ focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::focusNextPrevChild(bool)

*/ @QtUninvokable protected boolean focusNextPrevChild(boolean next){ return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next); } @QtUninvokable private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next); /** *

See QWidget::focusOutEvent(QFocusEvent*)

*/ @QtUninvokable protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent e){ focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::inputMethodEvent(QInputMethodEvent*)

*/ @QtUninvokable protected void inputMethodEvent(io.qt.gui.@Nullable QInputMethodEvent arg__1){ inputMethodEvent_native_QInputMethodEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void inputMethodEvent_native_QInputMethodEvent_ptr(long __this__nativeId, long arg__1); /** *

See QWidget::inputMethodQuery(Qt::InputMethodQuery)const

*/ @QtUninvokable @Override public java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery property){ return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), property.value()); } @QtUninvokable private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int property); /** *

See QTextEdit::insertFromMimeData(const QMimeData*)

*/ @QtUninvokable protected void insertFromMimeData(io.qt.core.@Nullable QMimeData source){ insertFromMimeData_native_const_QMimeData_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(source)); } @QtUninvokable private native void insertFromMimeData_native_const_QMimeData_ptr(long __this__nativeId, long source); /** *

See QWidget::keyPressEvent(QKeyEvent*)

*/ @QtUninvokable protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent e){ keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::keyReleaseEvent(QKeyEvent*)

*/ @QtUninvokable protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent e){ keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long e); /** *

See QTextEdit::loadResource(int,QUrl)

*/ public java.lang.Object loadResource(int type, io.qt.core.@NonNull QUrl name){ return loadResource_native_int_cref_QUrl(QtJambi_LibraryUtilities.internal.nativeId(this), type, QtJambi_LibraryUtilities.internal.checkedNativeId(name)); } private native java.lang.Object loadResource_native_int_cref_QUrl(long __this__nativeId, int type, long name); /** *

See QWidget::mouseDoubleClickEvent(QMouseEvent*)

*/ @QtUninvokable protected void mouseDoubleClickEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mouseMoveEvent(QMouseEvent*)

*/ @QtUninvokable protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent e){ mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mouseReleaseEvent(QMouseEvent*)

*/ @QtUninvokable protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable protected void paintEvent(io.qt.gui.@Nullable QPaintEvent e){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent e){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long e); /** *

See QAbstractScrollArea::scrollContentsBy(int,int)

*/ @QtUninvokable protected void scrollContentsBy(int dx, int dy){ scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QWidget::showEvent(QShowEvent*)

*/ @QtUninvokable protected void showEvent(io.qt.gui.@Nullable QShowEvent arg__1){ showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::timerEvent(QTimerEvent*)

*/ @QtUninvokable protected void timerEvent(io.qt.core.@Nullable QTimerEvent e){ timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::wheelEvent(QWheelEvent*)

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

Overloaded constructor for {@link #QTextEdit(java.lang.String, io.qt.widgets.QWidget)} * with parent = null.

*/ public QTextEdit(java.lang.@NonNull String text) { this(text, (io.qt.widgets.QWidget)null); } /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getAcceptRichText() { return acceptRichText(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QTextEdit.@NonNull AutoFormatting getAutoFormatting() { return autoFormatting(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getCursorWidth() { return cursorWidth(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.gui.@Nullable QTextDocument getDocument() { return document(); } /** * @hidden *

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

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

Overloaded function for {@link #find(io.qt.core.QRegularExpression, io.qt.gui.QTextDocument.FindFlags)} * with options = new io.qt.gui.QTextDocument.FindFlags(0).

*/ @QtUninvokable public final boolean find(io.qt.core.@NonNull QRegularExpression exp) { return find(exp, new io.qt.gui.QTextDocument.FindFlags(0)); } /** *

Overloaded function for {@link #find(io.qt.core.QRegularExpression, io.qt.gui.QTextDocument.FindFlags)}.

*/ @QtUninvokable public final boolean find(io.qt.core.@NonNull QRegularExpression exp, io.qt.gui.QTextDocument.@NonNull FindFlag @NonNull... options) { return find(exp, new io.qt.gui.QTextDocument.FindFlags(options)); } /** *

Overloaded function for {@link #find(java.lang.String, io.qt.gui.QTextDocument.FindFlags)} * with options = new io.qt.gui.QTextDocument.FindFlags(0).

*/ @QtUninvokable public final boolean find(java.lang.@NonNull String exp) { return find(exp, new io.qt.gui.QTextDocument.FindFlags(0)); } /** *

Overloaded function for {@link #find(java.lang.String, io.qt.gui.QTextDocument.FindFlags)}.

*/ @QtUninvokable public final boolean find(java.lang.@NonNull String exp, io.qt.gui.QTextDocument.@NonNull FindFlag @NonNull... options) { return find(exp, new io.qt.gui.QTextDocument.FindFlags(options)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getReadOnly() { return isReadOnly(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getUndoRedoEnabled() { return isUndoRedoEnabled(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getLineWrapColumnOrWidth() { return lineWrapColumnOrWidth(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QTextEdit.@NonNull LineWrapMode getLineWrapMode() { return lineWrapMode(); } /** *

Overloaded function for {@link #moveCursor(io.qt.gui.QTextCursor.MoveOperation, io.qt.gui.QTextCursor.MoveMode)} * with mode = io.qt.gui.QTextCursor.MoveMode.MoveAnchor.

*/ @QtUninvokable public final void moveCursor(io.qt.gui.QTextCursor.@NonNull MoveOperation operation) { moveCursor(operation, io.qt.gui.QTextCursor.MoveMode.MoveAnchor); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getOverwriteMode() { return overwriteMode(); } /** * @hidden *

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

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

Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.

*/ public final void setAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... a) { setAlignment(new io.qt.core.Qt.Alignment(a)); } /** *

Overloaded function for {@link #setAutoFormatting(io.qt.widgets.QTextEdit.AutoFormatting)}.

*/ @QtUninvokable public final void setAutoFormatting(io.qt.widgets.QTextEdit.@NonNull AutoFormattingFlag @NonNull... features) { setAutoFormatting(new io.qt.widgets.QTextEdit.AutoFormatting(features)); } /** *

Overloaded function for {@link #setCurrentFont(io.qt.gui.QFont)}.

*/ public final void setCurrentFont(java.lang.@NonNull String f) { setCurrentFont(new io.qt.gui.QFont(f)); } /** *

Overloaded function for {@link #setTextBackgroundColor(io.qt.gui.QColor)}.

*/ public final void setTextBackgroundColor(io.qt.core.Qt.@NonNull GlobalColor c) { setTextBackgroundColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextBackgroundColor(io.qt.gui.QColor)}.

*/ public final void setTextBackgroundColor(io.qt.gui.@NonNull QRgba64 c) { setTextBackgroundColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextBackgroundColor(io.qt.gui.QColor)}.

*/ public final void setTextBackgroundColor(java.lang.@NonNull String c) { setTextBackgroundColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ public final void setTextColor(io.qt.core.Qt.@NonNull GlobalColor c) { setTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ public final void setTextColor(io.qt.gui.@NonNull QRgba64 c) { setTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextColor(io.qt.gui.QColor)}.

*/ public final void setTextColor(java.lang.@NonNull String c) { setTextColor(new io.qt.gui.QColor(c)); } /** *

Overloaded function for {@link #setTextInteractionFlags(io.qt.core.Qt.TextInteractionFlags)}.

*/ @QtUninvokable public final void setTextInteractionFlags(io.qt.core.Qt.@NonNull TextInteractionFlag @NonNull... flags) { setTextInteractionFlags(new io.qt.core.Qt.TextInteractionFlags(flags)); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getTabChangesFocus() { return tabChangesFocus(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getTabStopDistance() { return tabStopDistance(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull TextInteractionFlags getTextInteractionFlags() { return textInteractionFlags(); } /** * @hidden *

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

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

Overloaded function for {@link #getMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)} * with features = new io.qt.gui.QTextDocument.MarkdownFeatures(20236).

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getMarkdown() { return getMarkdown(new io.qt.gui.QTextDocument.MarkdownFeatures(20236)); } /** * @hidden *

Kotlin property getter. In Java use {@link #toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getMarkdown(io.qt.gui.QTextDocument.@NonNull MarkdownFeatures features) { return toMarkdown(features); } /** * @hidden *

Kotlin property getter. In Java use {@link #toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getMarkdown(io.qt.gui.QTextDocument.@NonNull MarkdownFeature @NonNull... features) { return toMarkdown(new io.qt.gui.QTextDocument.MarkdownFeatures(features)); } /** *

Overloaded function for {@link #toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)} * with features = new io.qt.gui.QTextDocument.MarkdownFeatures(20236).

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String toMarkdown() { return toMarkdown(new io.qt.gui.QTextDocument.MarkdownFeatures(20236)); } /** *

Overloaded function for {@link #toMarkdown(io.qt.gui.QTextDocument.MarkdownFeatures)} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String toMarkdown(io.qt.gui.QTextDocument.@NonNull MarkdownFeature @NonNull... features) { return toMarkdown(new io.qt.gui.QTextDocument.MarkdownFeatures(features)); } /** * @hidden *

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

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

Overloaded function for {@link #zoomIn(int)} * with range = 1.

*/ public final void zoomIn() { zoomIn((int)1); } /** *

Overloaded function for {@link #zoomOut(int)} * with range = 1.

*/ public final void zoomOut() { zoomOut((int)1); } /** *

Overloaded function for {@link #loadResource(int, io.qt.core.QUrl)}.

*/ public final java.lang.Object loadResource(int type, java.lang.@NonNull String name) { return loadResource(type, new io.qt.core.QUrl(name)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy