io.qt.widgets.QPlainTextEdit Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Widget that is used to edit and display plain text
* Java wrapper for Qt class QPlainTextEdit
*/
public class QPlainTextEdit 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(QPlainTextEdit.class);
/**
* Java wrapper for Qt enum QPlainTextEdit::LineWrapMode
*/
public enum LineWrapMode implements QtEnumerator {
/**
* Representing QPlainTextEdit:: NoWrap
*/
NoWrap(0),
/**
* Representing QPlainTextEdit:: WidgetWidth
*/
WidgetWidth(1);
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;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QPlainTextEdit:: blockCountChanged(int)
*/
public final @NonNull Signal1 blockCountChanged = new Signal1<>();
/**
* See QPlainTextEdit:: copyAvailable(bool)
*/
public final @NonNull Signal1 copyAvailable = new Signal1<>();
/**
* See QPlainTextEdit:: cursorPositionChanged()
*/
public final @NonNull Signal0 cursorPositionChanged = new Signal0();
/**
* See QPlainTextEdit:: modificationChanged(bool)
*/
public final @NonNull Signal1 modificationChanged = new Signal1<>();
/**
* See QPlainTextEdit:: redoAvailable(bool)
*/
public final @NonNull Signal1 redoAvailable = new Signal1<>();
/**
* See QPlainTextEdit:: selectionChanged()
*/
public final @NonNull Signal0 selectionChanged = new Signal0();
/**
* See QPlainTextEdit:: textChanged()
*/
@QtPropertyNotify(name="plainText")
public final @NonNull Signal0 textChanged = new Signal0();
/**
* See QPlainTextEdit:: undoAvailable(bool)
*/
public final @NonNull Signal1 undoAvailable = new Signal1<>();
/**
* See QPlainTextEdit:: updateRequest(QRect, int)
*/
public final @NonNull Signal2 updateRequest = new Signal2<>();
/**
* See QPlainTextEdit:: QPlainTextEdit(QString, QWidget*)
*/
public QPlainTextEdit(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(QPlainTextEdit instance, java.lang.String text, io.qt.widgets.QWidget parent);
/**
* See QPlainTextEdit:: QPlainTextEdit(QWidget*)
*/
public QPlainTextEdit(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QPlainTextEdit instance, io.qt.widgets.QWidget parent);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: appendHtml(QString)
*/
public final void appendHtml(java.lang.@NonNull String html){
appendHtml_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), html);
}
private native void appendHtml_native_cref_QString(long __this__nativeId, java.lang.String html);
/**
* See QPlainTextEdit:: appendPlainText(QString)
*/
public final void appendPlainText(java.lang.@NonNull String text){
appendPlainText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
private native void appendPlainText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* See QPlainTextEdit:: backgroundVisible()const
*/
@QtPropertyReader(name="backgroundVisible")
@QtUninvokable
public final boolean backgroundVisible(){
return backgroundVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean backgroundVisible_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: blockBoundingGeometry(QTextBlock)const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QRectF blockBoundingGeometry(io.qt.gui.@NonNull QTextBlock block){
return blockBoundingGeometry_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(block));
}
@QtUninvokable
private native io.qt.core.QRectF blockBoundingGeometry_native_cref_QTextBlock_constfct(long __this__nativeId, long block);
/**
* See QPlainTextEdit:: blockBoundingRect(QTextBlock)const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QRectF blockBoundingRect(io.qt.gui.@NonNull QTextBlock block){
return blockBoundingRect_native_cref_QTextBlock_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(block));
}
@QtUninvokable
private native io.qt.core.QRectF blockBoundingRect_native_cref_QTextBlock_constfct(long __this__nativeId, long block);
/**
* See QPlainTextEdit:: blockCount()const
*/
@QtPropertyReader(name="blockCount")
@QtUninvokable
public final int blockCount(){
return blockCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int blockCount_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: centerCursor()
*/
public final void centerCursor(){
centerCursor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void centerCursor_native(long __this__nativeId);
/**
* See QPlainTextEdit:: centerOnScroll()const
*/
@QtPropertyReader(name="centerOnScroll")
@QtUninvokable
public final boolean centerOnScroll(){
return centerOnScroll_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean centerOnScroll_native_constfct(long __this__nativeId);
/**
*
*/
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QPlainTextEdit:: contentOffset()const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QPointF contentOffset(){
return contentOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPointF contentOffset_native_constfct(long __this__nativeId);
/**
*
*/
public final void copy(){
copy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void copy_native(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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);
/**
*
*/
public final void cut(){
cut_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void cut_native(long __this__nativeId);
/**
* See QPlainTextEdit:: document()const
*/
@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 QPlainTextEdit:: 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 QPlainTextEdit:: ensureCursorVisible()
*/
@QtUninvokable
public final void ensureCursorVisible(){
ensureCursorVisible_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void ensureCursorVisible_native(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: firstVisibleBlock()const
*/
@QtUninvokable
protected final io.qt.gui.@NonNull QTextBlock firstVisibleBlock(){
return firstVisibleBlock_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QTextBlock firstVisibleBlock_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: getPaintContext()const
*/
@QtUninvokable
protected final io.qt.gui.QAbstractTextDocumentLayout.@NonNull PaintContext getPaintContext(){
return getPaintContext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QAbstractTextDocumentLayout.PaintContext getPaintContext_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: lineWrapMode()const
*/
@QtPropertyReader(name="lineWrapMode")
@QtUninvokable
public final io.qt.widgets.QPlainTextEdit.@NonNull LineWrapMode lineWrapMode(){
return io.qt.widgets.QPlainTextEdit.LineWrapMode.resolve(lineWrapMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int lineWrapMode_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: maximumBlockCount()const
*/
@QtPropertyReader(name="maximumBlockCount")
@QtUninvokable
public final int maximumBlockCount(){
return maximumBlockCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int maximumBlockCount_native_constfct(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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);
/**
*
*/
public final void paste(){
paste_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void paste_native(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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);
/**
*
*/
public final void redo(){
redo_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void redo_native(long __this__nativeId);
/**
* See QPlainTextEdit:: selectAll()
*/
public final void selectAll(){
selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void selectAll_native(long __this__nativeId);
/**
* See QPlainTextEdit:: setBackgroundVisible(bool)
*/
@QtPropertyWriter(name="backgroundVisible")
@QtUninvokable
public final void setBackgroundVisible(boolean visible){
setBackgroundVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
@QtUninvokable
private native void setBackgroundVisible_native_bool(long __this__nativeId, boolean visible);
/**
* See QPlainTextEdit:: setCenterOnScroll(bool)
*/
@QtPropertyWriter(name="centerOnScroll")
@QtUninvokable
public final void setCenterOnScroll(boolean enabled){
setCenterOnScroll_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setCenterOnScroll_native_bool(long __this__nativeId, boolean enabled);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: setDocument(QTextDocument*)
*/
@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 QPlainTextEdit:: 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 QPlainTextEdit:: setExtraSelections(QList<QTextEdit::ExtraSelection>)
*/
@QtUninvokable
public final void setExtraSelections(java.util.@NonNull Collection extends io.qt.widgets.QTextEdit.@NonNull ExtraSelection> 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 extends io.qt.widgets.QTextEdit.ExtraSelection> selections);
/**
* See QPlainTextEdit:: setLineWrapMode(QPlainTextEdit::LineWrapMode)
*/
@QtPropertyWriter(name="lineWrapMode")
@QtUninvokable
public final void setLineWrapMode(io.qt.widgets.QPlainTextEdit.@NonNull LineWrapMode mode){
setLineWrapMode_native_QPlainTextEdit_LineWrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setLineWrapMode_native_QPlainTextEdit_LineWrapMode(long __this__nativeId, int mode);
/**
* See QPlainTextEdit:: setMaximumBlockCount(int)
*/
@QtPropertyWriter(name="maximumBlockCount")
@QtUninvokable
public final void setMaximumBlockCount(int maximum){
setMaximumBlockCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), maximum);
}
@QtUninvokable
private native void setMaximumBlockCount_native_int(long __this__nativeId, int maximum);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: toPlainText()const
*/
@QtPropertyReader(name="plainText")
@QtPropertyUser
@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);
/**
*
*/
public final void undo(){
undo_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void undo_native(long __this__nativeId);
/**
* See QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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 QPlainTextEdit:: 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);
/**
*
*/
@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 QPlainTextEdit:: 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 QPlainTextEdit:: loadResource(int, QUrl)
*/
@QtUninvokable
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));
}
@QtUninvokable
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 QPlainTextEdit(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QPlainTextEdit(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QPlainTextEdit instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QPlainTextEdit(java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QPlainTextEdit(java.lang.@NonNull String text) {
this(text, (io.qt.widgets.QWidget)null);
}
/**
* Overloaded constructor for {@link #QPlainTextEdit(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QPlainTextEdit() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #backgroundVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getBackgroundVisible() {
return backgroundVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #blockCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getBlockCount() {
return blockCount();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #centerOnScroll()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getCenterOnScroll() {
return centerOnScroll();
}
/**
* @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 #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 #lineWrapMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QPlainTextEdit.@NonNull LineWrapMode getLineWrapMode() {
return lineWrapMode();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maximumBlockCount()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getMaximumBlockCount() {
return maximumBlockCount();
}
/**
* 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 #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 #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)}.
*/
@QtUninvokable
public final java.lang.Object loadResource(int type, java.lang.@NonNull String name) {
return loadResource(type, new io.qt.core.QUrl(name));
}
}