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

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

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

import io.qt.*;


/**
 * 

One-line text editor

*

Java wrapper for Qt class QLineEdit

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

Java wrapper for Qt enum QLineEdit::ActionPosition

*/ public enum ActionPosition implements QtEnumerator { /** *

Representing QLineEdit::LeadingPosition

*/ LeadingPosition(0), /** *

Representing QLineEdit::TrailingPosition

*/ TrailingPosition(1); static { QtJambi_LibraryUtilities.initialize(); } private ActionPosition(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 ActionPosition resolve(int value) { switch (value) { case 0: return LeadingPosition; case 1: return TrailingPosition; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QLineEdit::EchoMode

*/ public enum EchoMode implements QtEnumerator { /** *

Representing QLineEdit::Normal

*/ Normal(0), /** *

Representing QLineEdit::NoEcho

*/ NoEcho(1), /** *

Representing QLineEdit::Password

*/ Password(2), /** *

Representing QLineEdit::PasswordEchoOnEdit

*/ PasswordEchoOnEdit(3); static { QtJambi_LibraryUtilities.initialize(); } private EchoMode(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 EchoMode resolve(int value) { switch (value) { case 0: return Normal; case 1: return NoEcho; case 2: return Password; case 3: return PasswordEchoOnEdit; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QLineEdit::cursorPositionChanged(int,int)

*/ public final @NonNull Signal2 cursorPositionChanged = new Signal2<>(); /** *

See QLineEdit::editingFinished()

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

See QLineEdit::inputRejected()

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

See QLineEdit::returnPressed()

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

See QLineEdit::selectionChanged()

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

See QLineEdit::textChanged(QString)

*/ @QtPropertyNotify(name="text") public final @NonNull Signal1 textChanged = new Signal1<>(); /** *

See QLineEdit::textEdited(QString)

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

See QLineEdit::QLineEdit(QString,QWidget*)

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

See QLineEdit::QLineEdit(QWidget*)

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

See QLineEdit::addAction(QIcon,QLineEdit::ActionPosition)

*/ @QtUninvokable public final io.qt.gui.@Nullable QAction addAction(io.qt.gui.@NonNull QIcon icon, io.qt.widgets.QLineEdit.@NonNull ActionPosition position){ return addAction_native_cref_QIcon_QLineEdit_ActionPosition(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), position.value()); } @QtUninvokable private native io.qt.gui.QAction addAction_native_cref_QIcon_QLineEdit_ActionPosition(long __this__nativeId, long icon, int position); /** *

See QLineEdit::alignment()const

*/ @QtPropertyReader(name="alignment") @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 QLineEdit::backspace()

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

See QLineEdit::clear()

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

See QLineEdit::completer()const

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

See QLineEdit::copy()const

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

See QLineEdit::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 QLineEdit::cursorBackward(bool,int)

*/ @QtUninvokable public final void cursorBackward(boolean mark, int steps){ cursorBackward_native_bool_int(QtJambi_LibraryUtilities.internal.nativeId(this), mark, steps); } @QtUninvokable private native void cursorBackward_native_bool_int(long __this__nativeId, boolean mark, int steps); /** *

See QLineEdit::cursorForward(bool,int)

*/ @QtUninvokable public final void cursorForward(boolean mark, int steps){ cursorForward_native_bool_int(QtJambi_LibraryUtilities.internal.nativeId(this), mark, steps); } @QtUninvokable private native void cursorForward_native_bool_int(long __this__nativeId, boolean mark, int steps); /** *

See QLineEdit::cursorMoveStyle()const

*/ @QtPropertyReader(name="cursorMoveStyle") @QtUninvokable public final io.qt.core.Qt.@NonNull CursorMoveStyle cursorMoveStyle(){ return io.qt.core.Qt.CursorMoveStyle.resolve(cursorMoveStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int cursorMoveStyle_native_constfct(long __this__nativeId); /** *

See QLineEdit::cursorPosition()const

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

See QLineEdit::cursorPositionAt(QPoint)

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

See QLineEdit::cursorRect()const

*/ @QtUninvokable protected 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 QLineEdit::cursorWordBackward(bool)

*/ @QtUninvokable public final void cursorWordBackward(boolean mark){ cursorWordBackward_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark); } @QtUninvokable private native void cursorWordBackward_native_bool(long __this__nativeId, boolean mark); /** *

See QLineEdit::cursorWordForward(bool)

*/ @QtUninvokable public final void cursorWordForward(boolean mark){ cursorWordForward_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark); } @QtUninvokable private native void cursorWordForward_native_bool(long __this__nativeId, boolean mark); /** *

See QLineEdit::cut()

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

See QLineEdit::del()

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

See QLineEdit::deselect()

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

See QLineEdit::displayText()const

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

See QLineEdit::dragEnabled()const

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

See QLineEdit::echoMode()const

*/ @QtPropertyReader(name="echoMode") @QtUninvokable public final io.qt.widgets.QLineEdit.@NonNull EchoMode echoMode(){ return io.qt.widgets.QLineEdit.EchoMode.resolve(echoMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int echoMode_native_constfct(long __this__nativeId); /** *

See QLineEdit::end(bool)

*/ @QtUninvokable public final void end(boolean mark){ end_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark); } @QtUninvokable private native void end_native_bool(long __this__nativeId, boolean mark); /** *

See QLineEdit::hasAcceptableInput()const

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

See QLineEdit::hasFrame()const

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

See QLineEdit::hasSelectedText()const

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

See QLineEdit::home(bool)

*/ @QtUninvokable public final void home(boolean mark){ home_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark); } @QtUninvokable private native void home_native_bool(long __this__nativeId, boolean mark); /** *

See QLineEdit::inputMask()const

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

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

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

See QLineEdit::insert(QString)

*/ @QtUninvokable public final void insert(java.lang.@NonNull String arg__1){ insert_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void insert_native_cref_QString(long __this__nativeId, java.lang.String arg__1); /** *

See QLineEdit::isClearButtonEnabled()const

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

See QLineEdit::isModified()const

*/ @QtPropertyReader(name="modified") @QtPropertyDesignable("false") @QtUninvokable public final boolean isModified(){ return isModified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isModified_native_constfct(long __this__nativeId); /** *

See QLineEdit::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 QLineEdit::isRedoAvailable()const

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

See QLineEdit::isUndoAvailable()const

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

See QLineEdit::maxLength()const

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

See QLineEdit::paste()

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

See QLineEdit::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 QLineEdit::redo()

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

See QLineEdit::selectAll()

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

See QLineEdit::selectedText()const

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

See QLineEdit::selectionEnd()const

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

See QLineEdit::selectionLength()const

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

See QLineEdit::selectionStart()const

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

See QLineEdit::setAlignment(Qt::Alignment)

*/ @QtPropertyWriter(name="alignment") @QtUninvokable public final void setAlignment(io.qt.core.Qt.@NonNull Alignment flag){ setAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), flag.value()); } @QtUninvokable private native void setAlignment_native_Qt_Alignment(long __this__nativeId, int flag); /** *

See QLineEdit::setClearButtonEnabled(bool)

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

See QLineEdit::setCompleter(QCompleter*)

*/ @QtUninvokable public final void setCompleter(io.qt.widgets.@Nullable QCompleter completer){ setCompleter_native_QCompleter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(completer)); __rcCompleter = completer; } @QtUninvokable private native void setCompleter_native_QCompleter_ptr(long __this__nativeId, long completer); /** *

See QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle)

*/ @QtPropertyWriter(name="cursorMoveStyle") @QtUninvokable public final void setCursorMoveStyle(io.qt.core.Qt.@NonNull CursorMoveStyle style){ setCursorMoveStyle_native_Qt_CursorMoveStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value()); } @QtUninvokable private native void setCursorMoveStyle_native_Qt_CursorMoveStyle(long __this__nativeId, int style); /** *

See QLineEdit::setCursorPosition(int)

*/ @QtPropertyWriter(name="cursorPosition") @QtUninvokable public final void setCursorPosition(int arg__1){ setCursorPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setCursorPosition_native_int(long __this__nativeId, int arg__1); /** *

See QLineEdit::setDragEnabled(bool)

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

See QLineEdit::setEchoMode(QLineEdit::EchoMode)

*/ @QtPropertyWriter(name="echoMode") @QtUninvokable public final void setEchoMode(io.qt.widgets.QLineEdit.@NonNull EchoMode arg__1){ setEchoMode_native_QLineEdit_EchoMode(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native void setEchoMode_native_QLineEdit_EchoMode(long __this__nativeId, int arg__1); /** *

See QLineEdit::setFrame(bool)

*/ @QtPropertyWriter(name="frame") @QtUninvokable public final void setFrame(boolean arg__1){ setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setFrame_native_bool(long __this__nativeId, boolean arg__1); /** *

See QLineEdit::setInputMask(QString)

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

See QLineEdit::setMaxLength(int)

*/ @QtPropertyWriter(name="maxLength") @QtUninvokable public final void setMaxLength(int arg__1){ setMaxLength_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setMaxLength_native_int(long __this__nativeId, int arg__1); /** *

See QLineEdit::setModified(bool)

*/ @QtPropertyWriter(name="modified") @QtUninvokable public final void setModified(boolean arg__1){ setModified_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native void setModified_native_bool(long __this__nativeId, boolean arg__1); /** *

See QLineEdit::setPlaceholderText(QString)

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

See QLineEdit::setReadOnly(bool)

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

See QLineEdit::setSelection(int,int)

*/ @QtUninvokable public final void setSelection(int arg__1, int arg__2){ setSelection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, arg__2); } @QtUninvokable private native void setSelection_native_int_int(long __this__nativeId, int arg__1, int arg__2); /** *

See QLineEdit::setText(QString)

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

See QLineEdit::setTextMargins(QMargins)

*/ @QtUninvokable public final void setTextMargins(io.qt.core.@NonNull QMargins margins){ setTextMargins_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native void setTextMargins_native_cref_QMargins(long __this__nativeId, long margins); /** *

See QLineEdit::setTextMargins(int,int,int,int)

*/ @QtUninvokable public final void setTextMargins(int left, int top, int right, int bottom){ setTextMargins_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), left, top, right, bottom); } @QtUninvokable private native void setTextMargins_native_int_int_int_int(long __this__nativeId, int left, int top, int right, int bottom); /** *

See QLineEdit::setValidator(const QValidator*)

*/ @QtUninvokable public final void setValidator(io.qt.gui.@Nullable QValidator arg__1){ setValidator_native_const_QValidator_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); __rcValidator = arg__1; } @QtUninvokable private native void setValidator_native_const_QValidator_ptr(long __this__nativeId, long arg__1); /** *

See QLineEdit::text()const

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

See QLineEdit::textMargins()const

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

See QLineEdit::undo()

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

See QLineEdit::validator()const

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

See QWidget::changeEvent(QEvent*)

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

See QWidget::contextMenuEvent(QContextMenuEvent*)

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

See QWidget::dragEnterEvent(QDragEnterEvent*)

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

See QWidget::dragLeaveEvent(QDragLeaveEvent*)

*/ @QtUninvokable @Override 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 @Override 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 @Override protected void dropEvent(io.qt.gui.@Nullable QDropEvent arg__1){ dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void dropEvent_native_QDropEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::event(QEvent*)

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

See QWidget::focusInEvent(QFocusEvent*)

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

See QWidget::focusOutEvent(QFocusEvent*)

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

See QLineEdit::initStyleOption(QStyleOptionFrame*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionFrame option){ initStyleOption_native_QStyleOptionFrame_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionFrame_ptr_constfct(long __this__nativeId, long option); /** *

See QWidget::inputMethodEvent(QInputMethodEvent*)

*/ @QtUninvokable @Override 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 arg__1){ return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int arg__1); /** *

See QWidget::keyPressEvent(QKeyEvent*)

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

See QWidget::keyReleaseEvent(QKeyEvent*)

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

See QWidget::minimumSizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize minimumSizeHint(){ return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId); /** *

See QWidget::mouseDoubleClickEvent(QMouseEvent*)

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

See QWidget::mouseMoveEvent(QMouseEvent*)

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

See QWidget::mousePressEvent(QMouseEvent*)

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

See QWidget::mouseReleaseEvent(QMouseEvent*)

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

See QWidget::paintEvent(QPaintEvent*)

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

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** *

See QObject::timerEvent(QTimerEvent*)

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

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

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

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

*/ public QLineEdit() { this((io.qt.widgets.QWidget)null); } /** *

Overloaded function for {@link #addAction(io.qt.gui.QIcon, io.qt.widgets.QLineEdit.ActionPosition)}.

*/ @QtUninvokable public final io.qt.gui.@Nullable QAction addAction(io.qt.gui.@NonNull QPixmap icon, io.qt.widgets.QLineEdit.@NonNull ActionPosition position) { return addAction(new io.qt.gui.QIcon(icon), position); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getAlignment() { return alignment(); } /** *

Overloaded function for {@link #cursorBackward(boolean, int)} * with steps = 1.

*/ @QtUninvokable public final void cursorBackward(boolean mark) { cursorBackward(mark, (int)1); } /** *

Overloaded function for {@link #cursorForward(boolean, int)} * with steps = 1.

*/ @QtUninvokable public final void cursorForward(boolean mark) { cursorForward(mark, (int)1); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull CursorMoveStyle getCursorMoveStyle() { return cursorMoveStyle(); } /** * @hidden *

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

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

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

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

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.widgets.QLineEdit.@NonNull EchoMode getEchoMode() { return echoMode(); } /** * @hidden *

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

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

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

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

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

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

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

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

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getModified() { return isModified(); } /** * @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 #isRedoAvailable()} instead.

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy