io.qt.widgets.QLineEdit Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
/**
* One-line text editor
* Java wrapper for Qt class QLineEdit
*/
public class QLineEdit extends io.qt.widgets.QWidget
{
@io.qt.QtPropertyMember(enabled=false)
private Object __rcCompleter = null;
@io.qt.QtPropertyMember(enabled=false)
private Object __rcValidator = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLineEdit.class);
/**
* Java wrapper for Qt enum QLineEdit::ActionPosition
*/
public enum ActionPosition implements io.qt.QtEnumerator {
LeadingPosition(0),
TrailingPosition(1);
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 ActionPosition resolve(int value) {
switch (value) {
case 0: return LeadingPosition;
case 1: return TrailingPosition;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLineEdit::EchoMode
*/
public enum EchoMode implements io.qt.QtEnumerator {
Normal(0),
NoEcho(1),
Password(2),
PasswordEchoOnEdit(3);
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 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 io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QLineEdit::cursorPositionChanged(int,int)
*/
public final Signal2<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> cursorPositionChanged = new Signal2<>();
/**
* See QLineEdit::editingFinished()
*/
public final Signal0 editingFinished = new Signal0();
/**
* See QLineEdit::inputRejected()
*/
public final Signal0 inputRejected = new Signal0();
/**
* See QLineEdit::returnPressed()
*/
public final Signal0 returnPressed = new Signal0();
/**
* See QLineEdit::selectionChanged()
*/
public final Signal0 selectionChanged = new Signal0();
/**
* See QLineEdit::textChanged(QString)
*/
@io.qt.QtPropertyNotify(name="text")
public final Signal1 textChanged = new Signal1<>();
/**
* See QLineEdit::textEdited(QString)
*/
public final Signal1 textEdited = new Signal1<>();
/**
* Overloaded constructor for {@link #QLineEdit(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QLineEdit() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QLineEdit::QLineEdit(QWidget*)
*/
public QLineEdit(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QLineEdit instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QLineEdit(java.lang.String, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QLineEdit(java.lang.String arg__1) {
this(arg__1, (io.qt.widgets.QWidget)null);
}
/**
* See QLineEdit::QLineEdit(QString,QWidget*)
*/
public QLineEdit(java.lang.String arg__1, io.qt.widgets.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::addAction(QIcon,QLineEdit::ActionPosition)
*/
@io.qt.QtUninvokable
public final io.qt.gui.QAction addAction(io.qt.gui.QIcon icon, io.qt.widgets.QLineEdit.ActionPosition position){
return addAction_native_cref_QIcon_QLineEdit_ActionPosition(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon), position.value());
}
@io.qt.QtUninvokable
private native io.qt.gui.QAction addAction_native_cref_QIcon_QLineEdit_ActionPosition(long __this__nativeId, long icon, int position);
/**
* See QLineEdit::alignment()const
*/
@io.qt.QtPropertyReader(name="alignment")
@io.qt.QtUninvokable
public final io.qt.core.Qt.Alignment alignment(){
return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int alignment_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void backspace(){
backspace_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void backspace_native(long __this__nativeId);
/**
*
*/
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void clear_native(long __this__nativeId);
/**
* See QLineEdit::completer()const
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QCompleter completer(){
return completer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QCompleter completer_native_constfct(long __this__nativeId);
/**
*
*/
public final void copy(){
copy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void copy_native_constfct(long __this__nativeId);
/**
* See QLineEdit::createStandardContextMenu()
*/
@io.qt.QtUninvokable
public final io.qt.widgets.QMenu createStandardContextMenu(){
return createStandardContextMenu_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.widgets.QMenu createStandardContextMenu_native(long __this__nativeId);
/**
* Overloaded function for {@link #cursorBackward(boolean, int)}
* with steps = 1
.
*/
@io.qt.QtUninvokable
public final void cursorBackward(boolean mark) {
cursorBackward(mark, (int)1);
}
/**
* See QLineEdit::cursorBackward(bool,int)
*/
@io.qt.QtUninvokable
public final void cursorBackward(boolean mark, int steps){
cursorBackward_native_bool_int(QtJambi_LibraryUtilities.internal.nativeId(this), mark, steps);
}
@io.qt.QtUninvokable
private native void cursorBackward_native_bool_int(long __this__nativeId, boolean mark, int steps);
/**
* Overloaded function for {@link #cursorForward(boolean, int)}
* with steps = 1
.
*/
@io.qt.QtUninvokable
public final void cursorForward(boolean mark) {
cursorForward(mark, (int)1);
}
/**
* See QLineEdit::cursorForward(bool,int)
*/
@io.qt.QtUninvokable
public final void cursorForward(boolean mark, int steps){
cursorForward_native_bool_int(QtJambi_LibraryUtilities.internal.nativeId(this), mark, steps);
}
@io.qt.QtUninvokable
private native void cursorForward_native_bool_int(long __this__nativeId, boolean mark, int steps);
/**
* See QLineEdit::cursorMoveStyle()const
*/
@io.qt.QtPropertyReader(name="cursorMoveStyle")
@io.qt.QtUninvokable
public final io.qt.core.Qt.CursorMoveStyle cursorMoveStyle(){
return io.qt.core.Qt.CursorMoveStyle.resolve(cursorMoveStyle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int cursorMoveStyle_native_constfct(long __this__nativeId);
/**
* See QLineEdit::cursorPosition()const
*/
@io.qt.QtPropertyReader(name="cursorPosition")
@io.qt.QtUninvokable
public final int cursorPosition(){
return cursorPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int cursorPosition_native_constfct(long __this__nativeId);
/**
* See QLineEdit::cursorPositionAt(QPoint)
*/
@io.qt.QtUninvokable
public final int cursorPositionAt(io.qt.core.QPoint pos){
return cursorPositionAt_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@io.qt.QtUninvokable
private native int cursorPositionAt_native_cref_QPoint(long __this__nativeId, long pos);
/**
* See QLineEdit::cursorRect()const
*/
@io.qt.QtUninvokable
protected final io.qt.core.QRect cursorRect(){
return cursorRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect cursorRect_native_constfct(long __this__nativeId);
/**
* See QLineEdit::cursorWordBackward(bool)
*/
@io.qt.QtUninvokable
public final void cursorWordBackward(boolean mark){
cursorWordBackward_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark);
}
@io.qt.QtUninvokable
private native void cursorWordBackward_native_bool(long __this__nativeId, boolean mark);
/**
* See QLineEdit::cursorWordForward(bool)
*/
@io.qt.QtUninvokable
public final void cursorWordForward(boolean mark){
cursorWordForward_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark);
}
@io.qt.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()
*/
@io.qt.QtUninvokable
public final void del(){
del_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void del_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void deselect(){
deselect_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void deselect_native(long __this__nativeId);
/**
* See QLineEdit::displayText()const
*/
@io.qt.QtPropertyReader(name="displayText")
@io.qt.QtUninvokable
public final java.lang.String displayText(){
return displayText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String displayText_native_constfct(long __this__nativeId);
/**
* See QLineEdit::dragEnabled()const
*/
@io.qt.QtPropertyReader(name="dragEnabled")
@io.qt.QtUninvokable
public final boolean dragEnabled(){
return dragEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean dragEnabled_native_constfct(long __this__nativeId);
/**
* See QLineEdit::echoMode()const
*/
@io.qt.QtPropertyReader(name="echoMode")
@io.qt.QtUninvokable
public final io.qt.widgets.QLineEdit.EchoMode echoMode(){
return io.qt.widgets.QLineEdit.EchoMode.resolve(echoMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int echoMode_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void end(boolean mark){
end_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark);
}
@io.qt.QtUninvokable
private native void end_native_bool(long __this__nativeId, boolean mark);
/**
* See QLineEdit::hasAcceptableInput()const
*/
@io.qt.QtPropertyReader(name="acceptableInput")
@io.qt.QtUninvokable
public final boolean hasAcceptableInput(){
return hasAcceptableInput_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasAcceptableInput_native_constfct(long __this__nativeId);
/**
* See QLineEdit::hasFrame()const
*/
@io.qt.QtPropertyReader(name="frame")
@io.qt.QtUninvokable
public final boolean hasFrame(){
return hasFrame_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasFrame_native_constfct(long __this__nativeId);
/**
* See QLineEdit::hasSelectedText()const
*/
@io.qt.QtPropertyReader(name="hasSelectedText")
@io.qt.QtUninvokable
public final boolean hasSelectedText(){
return hasSelectedText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasSelectedText_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void home(boolean mark){
home_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), mark);
}
@io.qt.QtUninvokable
private native void home_native_bool(long __this__nativeId, boolean mark);
/**
* See QLineEdit::inputMask()const
*/
@io.qt.QtPropertyReader(name="inputMask")
@io.qt.QtUninvokable
public final java.lang.String inputMask(){
return inputMask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String inputMask_native_constfct(long __this__nativeId);
public final java.lang.Object inputMethodQuery(io.qt.core.Qt.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)
*/
@io.qt.QtUninvokable
public final void insert(java.lang.String arg__1){
insert_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void insert_native_cref_QString(long __this__nativeId, java.lang.String arg__1);
/**
* See QLineEdit::isClearButtonEnabled()const
*/
@io.qt.QtPropertyReader(name="clearButtonEnabled")
@io.qt.QtUninvokable
public final boolean isClearButtonEnabled(){
return isClearButtonEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isClearButtonEnabled_native_constfct(long __this__nativeId);
/**
* See QLineEdit::isModified()const
*/
@io.qt.QtPropertyReader(name="modified")
@io.qt.QtPropertyDesignable("false")
@io.qt.QtUninvokable
public final boolean isModified(){
return isModified_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isModified_native_constfct(long __this__nativeId);
/**
* See QLineEdit::isReadOnly()const
*/
@io.qt.QtPropertyReader(name="readOnly")
@io.qt.QtUninvokable
public final boolean isReadOnly(){
return isReadOnly_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isReadOnly_native_constfct(long __this__nativeId);
/**
* See QLineEdit::isRedoAvailable()const
*/
@io.qt.QtPropertyReader(name="redoAvailable")
@io.qt.QtUninvokable
public final boolean isRedoAvailable(){
return isRedoAvailable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isRedoAvailable_native_constfct(long __this__nativeId);
/**
* See QLineEdit::isUndoAvailable()const
*/
@io.qt.QtPropertyReader(name="undoAvailable")
@io.qt.QtUninvokable
public final boolean isUndoAvailable(){
return isUndoAvailable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isUndoAvailable_native_constfct(long __this__nativeId);
/**
* See QLineEdit::maxLength()const
*/
@io.qt.QtPropertyReader(name="maxLength")
@io.qt.QtUninvokable
public final int maxLength(){
return maxLength_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int maxLength_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 QLineEdit::placeholderText()const
*/
@io.qt.QtPropertyReader(name="placeholderText")
@io.qt.QtUninvokable
public final java.lang.String placeholderText(){
return placeholderText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String placeholderText_native_constfct(long __this__nativeId);
/**
*
*/
public final void redo(){
redo_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void redo_native(long __this__nativeId);
/**
*
*/
public final void selectAll(){
selectAll_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void selectAll_native(long __this__nativeId);
/**
* See QLineEdit::selectedText()const
*/
@io.qt.QtPropertyReader(name="selectedText")
@io.qt.QtUninvokable
public final java.lang.String selectedText(){
return selectedText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String selectedText_native_constfct(long __this__nativeId);
/**
* See QLineEdit::selectionEnd()const
*/
@io.qt.QtUninvokable
public final int selectionEnd(){
return selectionEnd_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int selectionEnd_native_constfct(long __this__nativeId);
/**
* See QLineEdit::selectionLength()const
*/
@io.qt.QtUninvokable
public final int selectionLength(){
return selectionLength_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int selectionLength_native_constfct(long __this__nativeId);
/**
* See QLineEdit::selectionStart()const
*/
@io.qt.QtUninvokable
public final int selectionStart(){
return selectionStart_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int selectionStart_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.
*/
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.AlignmentFlag ... flag){
setAlignment(new io.qt.core.Qt.Alignment(flag));
}
/**
* See QLineEdit::setAlignment(Qt::Alignment)
*/
@io.qt.QtPropertyWriter(name="alignment")
@io.qt.QtUninvokable
public final void setAlignment(io.qt.core.Qt.Alignment flag){
setAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), flag.value());
}
@io.qt.QtUninvokable
private native void setAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int flag);
/**
* See QLineEdit::setClearButtonEnabled(bool)
*/
@io.qt.QtPropertyWriter(name="clearButtonEnabled")
@io.qt.QtUninvokable
public final void setClearButtonEnabled(boolean enable){
setClearButtonEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@io.qt.QtUninvokable
private native void setClearButtonEnabled_native_bool(long __this__nativeId, boolean enable);
/**
* See QLineEdit::setCompleter(QCompleter*)
*/
@io.qt.QtUninvokable
public final void setCompleter(io.qt.widgets.QCompleter completer){
setCompleter_native_QCompleter_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(completer));
__rcCompleter = completer;
}
@io.qt.QtUninvokable
private native void setCompleter_native_QCompleter_ptr(long __this__nativeId, long completer);
/**
* See QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle)
*/
@io.qt.QtPropertyWriter(name="cursorMoveStyle")
@io.qt.QtUninvokable
public final void setCursorMoveStyle(io.qt.core.Qt.CursorMoveStyle style){
setCursorMoveStyle_native_Qt_CursorMoveStyle(QtJambi_LibraryUtilities.internal.nativeId(this), style.value());
}
@io.qt.QtUninvokable
private native void setCursorMoveStyle_native_Qt_CursorMoveStyle(long __this__nativeId, int style);
/**
* See QLineEdit::setCursorPosition(int)
*/
@io.qt.QtPropertyWriter(name="cursorPosition")
@io.qt.QtUninvokable
public final void setCursorPosition(int arg__1){
setCursorPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setCursorPosition_native_int(long __this__nativeId, int arg__1);
/**
* See QLineEdit::setDragEnabled(bool)
*/
@io.qt.QtPropertyWriter(name="dragEnabled")
@io.qt.QtUninvokable
public final void setDragEnabled(boolean b){
setDragEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), b);
}
@io.qt.QtUninvokable
private native void setDragEnabled_native_bool(long __this__nativeId, boolean b);
/**
* See QLineEdit::setEchoMode(QLineEdit::EchoMode)
*/
@io.qt.QtPropertyWriter(name="echoMode")
@io.qt.QtUninvokable
public final void setEchoMode(io.qt.widgets.QLineEdit.EchoMode arg__1){
setEchoMode_native_QLineEdit_EchoMode(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native void setEchoMode_native_QLineEdit_EchoMode(long __this__nativeId, int arg__1);
/**
*
*/
@io.qt.QtPropertyWriter(name="frame")
@io.qt.QtUninvokable
public final void setFrame(boolean arg__1){
setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setFrame_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QLineEdit::setInputMask(QString)
*/
@io.qt.QtPropertyWriter(name="inputMask")
@io.qt.QtUninvokable
public final void setInputMask(java.lang.String inputMask){
setInputMask_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), inputMask);
}
@io.qt.QtUninvokable
private native void setInputMask_native_cref_QString(long __this__nativeId, java.lang.String inputMask);
/**
* See QLineEdit::setMaxLength(int)
*/
@io.qt.QtPropertyWriter(name="maxLength")
@io.qt.QtUninvokable
public final void setMaxLength(int arg__1){
setMaxLength_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setMaxLength_native_int(long __this__nativeId, int arg__1);
/**
* See QLineEdit::setModified(bool)
*/
@io.qt.QtPropertyWriter(name="modified")
@io.qt.QtUninvokable
public final void setModified(boolean arg__1){
setModified_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setModified_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QLineEdit::setPlaceholderText(QString)
*/
@io.qt.QtPropertyWriter(name="placeholderText")
@io.qt.QtUninvokable
public final void setPlaceholderText(java.lang.String arg__1){
setPlaceholderText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setPlaceholderText_native_cref_QString(long __this__nativeId, java.lang.String arg__1);
/**
* See QLineEdit::setReadOnly(bool)
*/
@io.qt.QtPropertyWriter(name="readOnly")
@io.qt.QtUninvokable
public final void setReadOnly(boolean arg__1){
setReadOnly_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@io.qt.QtUninvokable
private native void setReadOnly_native_bool(long __this__nativeId, boolean arg__1);
/**
* See QLineEdit::setSelection(int,int)
*/
@io.qt.QtUninvokable
public final void setSelection(int arg__1, int arg__2){
setSelection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, arg__2);
}
@io.qt.QtUninvokable
private native void setSelection_native_int_int(long __this__nativeId, int arg__1, int arg__2);
/**
* See QLineEdit::setText(QString)
*/
@io.qt.QtPropertyWriter(name="text")
public final void setText(java.lang.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)
*/
@io.qt.QtUninvokable
public final void setTextMargins(io.qt.core.QMargins margins){
setTextMargins_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
}
@io.qt.QtUninvokable
private native void setTextMargins_native_cref_QMargins(long __this__nativeId, long margins);
/**
* See QLineEdit::setTextMargins(int,int,int,int)
*/
@io.qt.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);
}
@io.qt.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*)
*/
@io.qt.QtUninvokable
public final void setValidator(io.qt.gui.QValidator arg__1){
setValidator_native_const_QValidator_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
__rcValidator = arg__1;
}
@io.qt.QtUninvokable
private native void setValidator_native_const_QValidator_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtPropertyReader(name="text")
@io.qt.QtPropertyUser
@io.qt.QtUninvokable
public final java.lang.String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* See QLineEdit::textMargins()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QMargins textMargins(){
return textMargins_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QMargins textMargins_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 QLineEdit::validator()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QValidator validator(){
return validator_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QValidator validator_native_constfct(long __this__nativeId);
/**
* See QWidget::changeEvent(QEvent*)
*/
@io.qt.QtUninvokable
protected void changeEvent(io.qt.core.QEvent arg__1){
changeEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void changeEvent_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::contextMenuEvent(QContextMenuEvent*)
*/
@io.qt.QtUninvokable
protected void contextMenuEvent(io.qt.gui.QContextMenuEvent arg__1){
contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::dragEnterEvent(QDragEnterEvent*)
*/
@io.qt.QtUninvokable
protected void dragEnterEvent(io.qt.gui.QDragEnterEvent arg__1){
dragEnterEvent_native_QDragEnterEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void dragEnterEvent_native_QDragEnterEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::dragLeaveEvent(QDragLeaveEvent*)
*/
@io.qt.QtUninvokable
protected void dragLeaveEvent(io.qt.gui.QDragLeaveEvent e){
dragLeaveEvent_native_QDragLeaveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void dragLeaveEvent_native_QDragLeaveEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::dragMoveEvent(QDragMoveEvent*)
*/
@io.qt.QtUninvokable
protected void dragMoveEvent(io.qt.gui.QDragMoveEvent e){
dragMoveEvent_native_QDragMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e));
}
@io.qt.QtUninvokable
private native void dragMoveEvent_native_QDragMoveEvent_ptr(long __this__nativeId, long e);
/**
* See QWidget::dropEvent(QDropEvent*)
*/
@io.qt.QtUninvokable
protected void dropEvent(io.qt.gui.QDropEvent arg__1){
dropEvent_native_QDropEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void dropEvent_native_QDropEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent arg__1){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::focusInEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusInEvent(io.qt.gui.QFocusEvent arg__1){
focusInEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void focusInEvent_native_QFocusEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::focusOutEvent(QFocusEvent*)
*/
@io.qt.QtUninvokable
protected void focusOutEvent(io.qt.gui.QFocusEvent arg__1){
focusOutEvent_native_QFocusEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void focusOutEvent_native_QFocusEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QLineEdit::initStyleOption(QStyleOptionFrame*)const
*/
@io.qt.QtUninvokable
protected void initStyleOption(io.qt.widgets.QStyleOptionFrame option){
initStyleOption_native_QStyleOptionFrame_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void initStyleOption_native_QStyleOptionFrame_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionFrame option);
/**
* See QWidget::inputMethodEvent(QInputMethodEvent*)
*/
@io.qt.QtUninvokable
protected void inputMethodEvent(io.qt.gui.QInputMethodEvent arg__1){
inputMethodEvent_native_QInputMethodEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void inputMethodEvent_native_QInputMethodEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::inputMethodQuery(Qt::InputMethodQuery)const
*/
@io.qt.QtUninvokable
public java.lang.Object inputMethodQuery(io.qt.core.Qt.InputMethodQuery arg__1){
return inputMethodQuery_native_Qt_InputMethodQuery_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native java.lang.Object inputMethodQuery_native_Qt_InputMethodQuery_constfct(long __this__nativeId, int arg__1);
/**
* See QWidget::keyPressEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyPressEvent(io.qt.gui.QKeyEvent arg__1){
keyPressEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void keyPressEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::keyReleaseEvent(QKeyEvent*)
*/
@io.qt.QtUninvokable
protected void keyReleaseEvent(io.qt.gui.QKeyEvent arg__1){
keyReleaseEvent_native_QKeyEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void keyReleaseEvent_native_QKeyEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::minimumSizeHint()const
*/
@io.qt.QtUninvokable
public io.qt.core.QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget::mouseDoubleClickEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseDoubleClickEvent(io.qt.gui.QMouseEvent arg__1){
mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent arg__1){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent arg__1){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent arg__1){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* See QObject::timerEvent(QTimerEvent*)
*/
@io.qt.QtUninvokable
protected void timerEvent(io.qt.core.QTimerEvent arg__1){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.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
.
*/
@io.qt.NativeAccess
protected QLineEdit(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QLineEdit(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QLineEdit instance, QDeclarativeConstructor constructor);
}