KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QLineEdit

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QLineEdit

Class hierarchy: QLineEdit » QWidget » QObject

Sub-classes: ActionPosition, QFlags_ActionPosition, EchoMode, QFlags_EchoMode

Public constructors

new QLineEditnew(QWidget ptr parent = nullptr)Constructor QLineEdit::QLineEdit(QWidget *parent)
new QLineEditnew(string arg1,
QWidget ptr parent = nullptr)
Constructor QLineEdit::QLineEdit(const QString &, QWidget *parent)

Public methods

[const]QLineEdit ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]boolacceptableInputMethod bool QLineEdit::hasAcceptableInput()
voidaddAction(QAction ptr action)Method void QLineEdit::addAction(QAction *action)
voidaddAction(QAction ptr action,
const QLineEdit_ActionPosition position)
Method void QLineEdit::addAction(QAction *action, QLineEdit::ActionPosition position)
QAction ptraddAction(const QIcon icon,
const QLineEdit_ActionPosition position)
Method QAction *QLineEdit::addAction(const QIcon &icon, QLineEdit::ActionPosition position)
[const]Qt_QFlags_AlignmentFlagalignmentMethod QFlags<Qt::AlignmentFlag> QLineEdit::alignment()
voidalignment=(Qt_QFlags_AlignmentFlag flag)Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag)
voidbackspaceMethod void QLineEdit::backspace()
voidclearMethod void QLineEdit::clear()
[const]boolclearButtonEnabledMethod bool QLineEdit::isClearButtonEnabled()
voidclearButtonEnabled=(bool enable)Method void QLineEdit::setClearButtonEnabled(bool enable)
[const]QCompleter ptrcompleterMethod QCompleter *QLineEdit::completer()
voidcompleter=(QCompleter ptr completer)Method void QLineEdit::setCompleter(QCompleter *completer)
[const]voidcopyMethod void QLineEdit::copy()
QMenu ptrcreateStandardContextMenuMethod QMenu *QLineEdit::createStandardContextMenu()
voidcursorBackward(bool mark,
int steps = 1)
Method void QLineEdit::cursorBackward(bool mark, int steps)
voidcursorForward(bool mark,
int steps = 1)
Method void QLineEdit::cursorForward(bool mark, int steps)
[const]Qt_CursorMoveStylecursorMoveStyleMethod Qt::CursorMoveStyle QLineEdit::cursorMoveStyle()
voidcursorMoveStyle=(const Qt_CursorMoveStyle style)Method void QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle style)
[const]intcursorPositionMethod int QLineEdit::cursorPosition()
voidcursorPosition=(int arg1)Method void QLineEdit::setCursorPosition(int)
intcursorPositionAt(const QPoint pos)Method int QLineEdit::cursorPositionAt(const QPoint &pos)
[signal]voidcursorPositionChanged(int arg1,
int arg2)
Signal declaration for QLineEdit::cursorPositionChanged(int, int)
voidcursorWordBackward(bool mark)Method void QLineEdit::cursorWordBackward(bool mark)
voidcursorWordForward(bool mark)Method void QLineEdit::cursorWordForward(bool mark)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QLineEdit::customContextMenuRequested(const QPoint &pos)
voidcutMethod void QLineEdit::cut()
voiddelMethod void QLineEdit::del()
voiddeselectMethod void QLineEdit::deselect()
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QLineEdit::destroyed(QObject *)
[const]stringdisplayTextMethod QString QLineEdit::displayText()
[const]booldragEnabledMethod bool QLineEdit::dragEnabled()
voiddragEnabled=(bool b)Method void QLineEdit::setDragEnabled(bool b)
[const]QLineEdit_EchoModeechoModeMethod QLineEdit::EchoMode QLineEdit::echoMode()
voidechoMode=(const QLineEdit_EchoMode arg1)Method void QLineEdit::setEchoMode(QLineEdit::EchoMode)
[signal]voideditingFinishedSignal declaration for QLineEdit::editingFinished()
voidemit_cursorPositionChanged(int arg1,
int arg2)
Emitter for signal void QLineEdit::cursorPositionChanged(int, int)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QLineEdit::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QLineEdit::destroyed(QObject *)
voidemit_editingFinishedEmitter for signal void QLineEdit::editingFinished()
voidemit_inputRejectedEmitter for signal void QLineEdit::inputRejected()
voidemit_objectNameChanged(string objectName)Emitter for signal void QLineEdit::objectNameChanged(const QString &objectName)
voidemit_returnPressedEmitter for signal void QLineEdit::returnPressed()
voidemit_selectionChangedEmitter for signal void QLineEdit::selectionChanged()
voidemit_textChanged(string arg1)Emitter for signal void QLineEdit::textChanged(const QString &)
voidemit_textEdited(string arg1)Emitter for signal void QLineEdit::textEdited(const QString &)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QLineEdit::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QLineEdit::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QLineEdit::windowTitleChanged(const QString &title)
voidend(bool mark)Method void QLineEdit::end(bool mark)
boolevent(QEvent ptr arg1)Virtual method bool QLineEdit::event(QEvent *)
booleventFilter(QObject ptr watched,
QEvent ptr event)
Virtual method bool QLineEdit::eventFilter(QObject *watched, QEvent *event)
[const]boolframeMethod bool QLineEdit::hasFrame()
voidframe=(bool arg1)Method void QLineEdit::setFrame(bool)
[const]voidgetTextMargins(int ptr left,
int ptr top,
int ptr right,
int ptr bottom)
Method void QLineEdit::getTextMargins(int *left, int *top, int *right, int *bottom)
[const]boolhasAcceptableInputMethod bool QLineEdit::hasAcceptableInput()
[const]boolhasFrameMethod bool QLineEdit::hasFrame()
[const]boolhasHeightForWidthVirtual method bool QLineEdit::hasHeightForWidth()
[const]boolhasSelectedTextMethod bool QLineEdit::hasSelectedText()
[const]intheightForWidth(int arg1)Virtual method int QLineEdit::heightForWidth(int)
voidhome(bool mark)Method void QLineEdit::home(bool mark)
[const]stringinputMaskMethod QString QLineEdit::inputMask()
voidinputMask=(string inputMask)Method void QLineEdit::setInputMask(const QString &inputMask)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery)
[signal]voidinputRejectedSignal declaration for QLineEdit::inputRejected()
voidinsert(string arg1)Method void QLineEdit::insert(const QString &)
[const]boolisClearButtonEnabled?Method bool QLineEdit::isClearButtonEnabled()
[const]boolisModified?Method bool QLineEdit::isModified()
[const]boolisReadOnly?Method bool QLineEdit::isReadOnly()
[const]boolisRedoAvailable?Method bool QLineEdit::isRedoAvailable()
[const]boolisUndoAvailable?Method bool QLineEdit::isUndoAvailable()
[const]intmaxLengthMethod int QLineEdit::maxLength()
voidmaxLength=(int arg1)Method void QLineEdit::setMaxLength(int)
[const]QSizeminimumSizeHintVirtual method QSize QLineEdit::minimumSizeHint()
[const]boolmodifiedMethod bool QLineEdit::isModified()
voidmodified=(bool arg1)Method void QLineEdit::setModified(bool)
[signal]voidobjectNameChanged(string objectName)Signal declaration for QLineEdit::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QLineEdit::paintEngine()
voidpasteMethod void QLineEdit::paste()
[const]stringplaceholderTextMethod QString QLineEdit::placeholderText()
voidplaceholderText=(string arg1)Method void QLineEdit::setPlaceholderText(const QString &)
[const]boolreadOnlyMethod bool QLineEdit::isReadOnly()
voidreadOnly=(bool arg1)Method void QLineEdit::setReadOnly(bool)
voidredoMethod void QLineEdit::redo()
[const]boolredoAvailableMethod bool QLineEdit::isRedoAvailable()
[signal]voidreturnPressedSignal declaration for QLineEdit::returnPressed()
voidselectAllMethod void QLineEdit::selectAll()
[const]stringselectedTextMethod QString QLineEdit::selectedText()
[signal]voidselectionChangedSignal declaration for QLineEdit::selectionChanged()
[const]intselectionEndMethod int QLineEdit::selectionEnd()
[const]intselectionLengthMethod int QLineEdit::selectionLength()
[const]intselectionStartMethod int QLineEdit::selectionStart()
voidsetAlignment(Qt_QFlags_AlignmentFlag flag)Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag)
voidsetClearButtonEnabled(bool enable)Method void QLineEdit::setClearButtonEnabled(bool enable)
voidsetCompleter(QCompleter ptr completer)Method void QLineEdit::setCompleter(QCompleter *completer)
voidsetCursorMoveStyle(const Qt_CursorMoveStyle style)Method void QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle style)
voidsetCursorPosition(int arg1)Method void QLineEdit::setCursorPosition(int)
voidsetDragEnabled(bool b)Method void QLineEdit::setDragEnabled(bool b)
voidsetEchoMode(const QLineEdit_EchoMode arg1)Method void QLineEdit::setEchoMode(QLineEdit::EchoMode)
voidsetFrame(bool arg1)Method void QLineEdit::setFrame(bool)
voidsetInputMask(string inputMask)Method void QLineEdit::setInputMask(const QString &inputMask)
voidsetMaxLength(int arg1)Method void QLineEdit::setMaxLength(int)
voidsetModified(bool arg1)Method void QLineEdit::setModified(bool)
voidsetPlaceholderText(string arg1)Method void QLineEdit::setPlaceholderText(const QString &)
voidsetReadOnly(bool arg1)Method void QLineEdit::setReadOnly(bool)
voidsetSelection(int arg1,
int arg2)
Method void QLineEdit::setSelection(int, int)
voidsetText(string arg1)Method void QLineEdit::setText(const QString &)
voidsetTextMargins(int left,
int top,
int right,
int bottom)
Method void QLineEdit::setTextMargins(int left, int top, int right, int bottom)
voidsetTextMargins(const QMargins margins)Method void QLineEdit::setTextMargins(const QMargins &margins)
voidsetValidator(const QValidator ptr arg1)Method void QLineEdit::setValidator(const QValidator *)
voidsetVisible(bool visible)Virtual method void QLineEdit::setVisible(bool visible)
[const]QSizesizeHintVirtual method QSize QLineEdit::sizeHint()
[const]stringtextMethod QString QLineEdit::text()
voidtext=(string arg1)Method void QLineEdit::setText(const QString &)
[signal]voidtextChanged(string arg1)Signal declaration for QLineEdit::textChanged(const QString &)
[signal]voidtextEdited(string arg1)Signal declaration for QLineEdit::textEdited(const QString &)
[const]QMarginstextMarginsMethod QMargins QLineEdit::textMargins()
voidtextMargins=(const QMargins margins)Method void QLineEdit::setTextMargins(const QMargins &margins)
voidundoMethod void QLineEdit::undo()
[const]boolundoAvailableMethod bool QLineEdit::isUndoAvailable()
[const]const QValidator ptrvalidatorMethod const QValidator *QLineEdit::validator()
voidvalidator=(const QValidator ptr arg1)Method void QLineEdit::setValidator(const QValidator *)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QLineEdit::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QLineEdit::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QLineEdit::windowTitleChanged(const QString &title)

Public static methods and constants

[static,const]QLineEdit_ActionPositionLeadingPositionEnum constant QLineEdit::LeadingPosition
[static,const]QLineEdit_EchoModeNoEchoEnum constant QLineEdit::NoEcho
[static,const]QLineEdit_EchoModeNormalEnum constant QLineEdit::Normal
[static,const]QLineEdit_EchoModePasswordEnum constant QLineEdit::Password
[static,const]QLineEdit_EchoModePasswordEchoOnEditEnum constant QLineEdit::PasswordEchoOnEdit
[static,const]QLineEdit_ActionPositionTrailingPositionEnum constant QLineEdit::TrailingPosition
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QLineEdit::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QLineEdit::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QLineEdit::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QLineEdit::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr event)Virtual method void QLineEdit::childEvent(QChildEvent *event)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QLineEdit::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QLineEdit::contextMenuEvent(QContextMenuEvent *)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QLineEdit::create(WId, bool initializeWindow, bool destroyOldWindow)
[const]QRectcursorRectMethod QRect QLineEdit::cursorRect()
voidcustomEvent(QEvent ptr event)Virtual method void QLineEdit::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QLineEdit::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QLineEdit::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QLineEdit::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr e)Virtual method void QLineEdit::dragLeaveEvent(QDragLeaveEvent *e)
voiddragMoveEvent(QDragMoveEvent ptr e)Virtual method void QLineEdit::dragMoveEvent(QDragMoveEvent *e)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QLineEdit::dropEvent(QDropEvent *)
voidenterEvent(QEvent ptr event)Virtual method void QLineEdit::enterEvent(QEvent *event)
voidfocusInEvent(QFocusEvent ptr arg1)Virtual method void QLineEdit::focusInEvent(QFocusEvent *)
boolfocusNextChildMethod bool QLineEdit::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QLineEdit::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr arg1)Virtual method void QLineEdit::focusOutEvent(QFocusEvent *)
boolfocusPreviousChildMethod bool QLineEdit::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QLineEdit::hideEvent(QHideEvent *event)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QLineEdit::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QLineEdit::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QLineEdit::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QLineEdit::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QLineEdit::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QLineEdit::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QLineEdit::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QLineEdit::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QLineEdit::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QLineEdit::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QLineEdit::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QLineEdit::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QLineEdit::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QLineEdit::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QLineEdit::paintEvent(QPaintEvent *)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QLineEdit::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QLineEdit::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QLineEdit::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QLineEdit::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr event)Virtual method void QLineEdit::resizeEvent(QResizeEvent *event)
[const]QObject ptrsenderMethod QObject *QLineEdit::sender()
[const]intsenderSignalIndexMethod int QLineEdit::senderSignalIndex()
[const]QPainter ptrsharedPainterVirtual method QPainter *QLineEdit::sharedPainter()
voidshowEvent(QShowEvent ptr event)Virtual method void QLineEdit::showEvent(QShowEvent *event)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QLineEdit::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr event)Virtual method void QLineEdit::timerEvent(QTimerEvent *event)
voidupdateMicroFocusMethod void QLineEdit::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr event)Virtual method void QLineEdit::wheelEvent(QWheelEvent *event)

Detailed description

LeadingPosition

Signature: [static,const] QLineEdit_ActionPosition LeadingPosition

Description: Enum constant QLineEdit::LeadingPosition

Python specific notes:
The object exposes a readable attribute 'LeadingPosition'. This is the getter.

NoEcho

Signature: [static,const] QLineEdit_EchoMode NoEcho

Description: Enum constant QLineEdit::NoEcho

Python specific notes:
The object exposes a readable attribute 'NoEcho'. This is the getter.

Normal

Signature: [static,const] QLineEdit_EchoMode Normal

Description: Enum constant QLineEdit::Normal

Python specific notes:
The object exposes a readable attribute 'Normal'. This is the getter.

Password

Signature: [static,const] QLineEdit_EchoMode Password

Description: Enum constant QLineEdit::Password

Python specific notes:
The object exposes a readable attribute 'Password'. This is the getter.

PasswordEchoOnEdit

Signature: [static,const] QLineEdit_EchoMode PasswordEchoOnEdit

Description: Enum constant QLineEdit::PasswordEchoOnEdit

Python specific notes:
The object exposes a readable attribute 'PasswordEchoOnEdit'. This is the getter.

TrailingPosition

Signature: [static,const] QLineEdit_ActionPosition TrailingPosition

Description: Enum constant QLineEdit::TrailingPosition

Python specific notes:
The object exposes a readable attribute 'TrailingPosition'. This is the getter.

_const_cast

Signature: [const] QLineEdit ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

acceptableInput

Signature: [const] bool acceptableInput

Description: Method bool QLineEdit::hasAcceptableInput()

Python specific notes:
The object exposes a readable attribute 'acceptableInput'. This is the getter.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QLineEdit::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

addAction

(1) Signature: void addAction (QAction ptr action)

Description: Method void QLineEdit::addAction(QAction *action)

(2) Signature: void addAction (QAction ptr action, const QLineEdit_ActionPosition position)

Description: Method void QLineEdit::addAction(QAction *action, QLineEdit::ActionPosition position)

(3) Signature: QAction ptr addAction (const QIcon icon, const QLineEdit_ActionPosition position)

Description: Method QAction *QLineEdit::addAction(const QIcon &icon, QLineEdit::ActionPosition position)

alignment

Signature: [const] Qt_QFlags_AlignmentFlag alignment

Description: Method QFlags<Qt::AlignmentFlag> QLineEdit::alignment()

Python specific notes:
The object exposes a readable attribute 'alignment'. This is the getter.

alignment=

Signature: void alignment= (Qt_QFlags_AlignmentFlag flag)

Description: Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag)

Python specific notes:
The object exposes a writable attribute 'alignment'. This is the setter.

backspace

Signature: void backspace

Description: Method void QLineEdit::backspace()

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QLineEdit::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr event)

Description: Virtual method void QLineEdit::childEvent(QChildEvent *event)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QLineEdit::clear()

clearButtonEnabled

Signature: [const] bool clearButtonEnabled

Description: Method bool QLineEdit::isClearButtonEnabled()

Python specific notes:
The object exposes a readable attribute 'clearButtonEnabled'. This is the getter.

clearButtonEnabled=

Signature: void clearButtonEnabled= (bool enable)

Description: Method void QLineEdit::setClearButtonEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'clearButtonEnabled'. This is the setter.

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QLineEdit::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

completer

Signature: [const] QCompleter ptr completer

Description: Method QCompleter *QLineEdit::completer()

Python specific notes:
The object exposes a readable attribute 'completer'. This is the getter.

completer=

Signature: void completer= (QCompleter ptr completer)

Description: Method void QLineEdit::setCompleter(QCompleter *completer)

Python specific notes:
The object exposes a writable attribute 'completer'. This is the setter.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QLineEdit::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

copy

Signature: [const] void copy

Description: Method void QLineEdit::copy()

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QLineEdit::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

createStandardContextMenu

Signature: QMenu ptr createStandardContextMenu

Description: Method QMenu *QLineEdit::createStandardContextMenu()

cursorBackward

Signature: void cursorBackward (bool mark, int steps = 1)

Description: Method void QLineEdit::cursorBackward(bool mark, int steps)

cursorForward

Signature: void cursorForward (bool mark, int steps = 1)

Description: Method void QLineEdit::cursorForward(bool mark, int steps)

cursorMoveStyle

Signature: [const] Qt_CursorMoveStyle cursorMoveStyle

Description: Method Qt::CursorMoveStyle QLineEdit::cursorMoveStyle()

Python specific notes:
The object exposes a readable attribute 'cursorMoveStyle'. This is the getter.

cursorMoveStyle=

Signature: void cursorMoveStyle= (const Qt_CursorMoveStyle style)

Description: Method void QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle style)

Python specific notes:
The object exposes a writable attribute 'cursorMoveStyle'. This is the setter.

cursorPosition

Signature: [const] int cursorPosition

Description: Method int QLineEdit::cursorPosition()

Python specific notes:
The object exposes a readable attribute 'cursorPosition'. This is the getter.

cursorPosition=

Signature: void cursorPosition= (int arg1)

Description: Method void QLineEdit::setCursorPosition(int)

Python specific notes:
The object exposes a writable attribute 'cursorPosition'. This is the setter.

cursorPositionAt

Signature: int cursorPositionAt (const QPoint pos)

Description: Method int QLineEdit::cursorPositionAt(const QPoint &pos)

cursorPositionChanged

Signature: [signal] void cursorPositionChanged (int arg1, int arg2)

Description: Signal declaration for QLineEdit::cursorPositionChanged(int, int)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'cursorPositionChanged'. This is the getter.
The object exposes a writable attribute 'cursorPositionChanged'. This is the setter.

cursorRect

Signature: [const] QRect cursorRect

Description: Method QRect QLineEdit::cursorRect()

This method is protected and can only be called from inside a derived class.

cursorWordBackward

Signature: void cursorWordBackward (bool mark)

Description: Method void QLineEdit::cursorWordBackward(bool mark)

cursorWordForward

Signature: void cursorWordForward (bool mark)

Description: Method void QLineEdit::cursorWordForward(bool mark)

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QLineEdit::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QLineEdit::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

cut

Signature: void cut

Description: Method void QLineEdit::cut()

del

Signature: void del

Description: Method void QLineEdit::del()

Python specific notes:
This attribute is available as 'del_' in Python.

deselect

Signature: void deselect

Description: Method void QLineEdit::deselect()

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QLineEdit::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QLineEdit::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QLineEdit::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

displayText

Signature: [const] string displayText

Description: Method QString QLineEdit::displayText()

Python specific notes:
The object exposes a readable attribute 'displayText'. This is the getter.

dragEnabled

Signature: [const] bool dragEnabled

Description: Method bool QLineEdit::dragEnabled()

Python specific notes:
The object exposes a readable attribute 'dragEnabled'. This is the getter.

dragEnabled=

Signature: void dragEnabled= (bool b)

Description: Method void QLineEdit::setDragEnabled(bool b)

Python specific notes:
The object exposes a writable attribute 'dragEnabled'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QLineEdit::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr e)

Description: Virtual method void QLineEdit::dragLeaveEvent(QDragLeaveEvent *e)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr e)

Description: Virtual method void QLineEdit::dragMoveEvent(QDragMoveEvent *e)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QLineEdit::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

echoMode

Signature: [const] QLineEdit_EchoMode echoMode

Description: Method QLineEdit::EchoMode QLineEdit::echoMode()

Python specific notes:
The object exposes a readable attribute 'echoMode'. This is the getter.

echoMode=

Signature: void echoMode= (const QLineEdit_EchoMode arg1)

Description: Method void QLineEdit::setEchoMode(QLineEdit::EchoMode)

Python specific notes:
The object exposes a writable attribute 'echoMode'. This is the setter.

editingFinished

Signature: [signal] void editingFinished

Description: Signal declaration for QLineEdit::editingFinished()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'editingFinished'. This is the getter.
The object exposes a writable attribute 'editingFinished'. This is the setter.

emit_cursorPositionChanged

Signature: void emit_cursorPositionChanged (int arg1, int arg2)

Description: Emitter for signal void QLineEdit::cursorPositionChanged(int, int)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QLineEdit::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QLineEdit::destroyed(QObject *)

Call this method to emit this signal.

emit_editingFinished

Signature: void emit_editingFinished

Description: Emitter for signal void QLineEdit::editingFinished()

Call this method to emit this signal.

emit_inputRejected

Signature: void emit_inputRejected

Description: Emitter for signal void QLineEdit::inputRejected()

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QLineEdit::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_returnPressed

Signature: void emit_returnPressed

Description: Emitter for signal void QLineEdit::returnPressed()

Call this method to emit this signal.

emit_selectionChanged

Signature: void emit_selectionChanged

Description: Emitter for signal void QLineEdit::selectionChanged()

Call this method to emit this signal.

emit_textChanged

Signature: void emit_textChanged (string arg1)

Description: Emitter for signal void QLineEdit::textChanged(const QString &)

Call this method to emit this signal.

emit_textEdited

Signature: void emit_textEdited (string arg1)

Description: Emitter for signal void QLineEdit::textEdited(const QString &)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QLineEdit::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QLineEdit::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QLineEdit::windowTitleChanged(const QString &title)

Call this method to emit this signal.

end

Signature: void end (bool mark)

Description: Method void QLineEdit::end(bool mark)

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QLineEdit::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr arg1)

Description: Virtual method bool QLineEdit::event(QEvent *)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr watched, QEvent ptr event)

Description: Virtual method bool QLineEdit::eventFilter(QObject *watched, QEvent *event)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr arg1)

Description: Virtual method void QLineEdit::focusInEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QLineEdit::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QLineEdit::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr arg1)

Description: Virtual method void QLineEdit::focusOutEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QLineEdit::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

frame

Signature: [const] bool frame

Description: Method bool QLineEdit::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

frame=

Signature: void frame= (bool arg1)

Description: Method void QLineEdit::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

getTextMargins

Signature: [const] void getTextMargins (int ptr left, int ptr top, int ptr right, int ptr bottom)

Description: Method void QLineEdit::getTextMargins(int *left, int *top, int *right, int *bottom)

hasAcceptableInput

Signature: [const] bool hasAcceptableInput

Description: Method bool QLineEdit::hasAcceptableInput()

Python specific notes:
The object exposes a readable attribute 'acceptableInput'. This is the getter.

hasFrame

Signature: [const] bool hasFrame

Description: Method bool QLineEdit::hasFrame()

Python specific notes:
The object exposes a readable attribute 'frame'. This is the getter.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QLineEdit::hasHeightForWidth()

This method can be reimplemented in a derived class.

hasSelectedText

Signature: [const] bool hasSelectedText

Description: Method bool QLineEdit::hasSelectedText()

Python specific notes:
The object exposes a readable attribute 'hasSelectedText'. This is the getter.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QLineEdit::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QLineEdit::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

home

Signature: void home (bool mark)

Description: Method void QLineEdit::home(bool mark)

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QLineEdit::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QLineEdit::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMask

Signature: [const] string inputMask

Description: Method QString QLineEdit::inputMask()

Python specific notes:
The object exposes a readable attribute 'inputMask'. This is the getter.

inputMask=

Signature: void inputMask= (string inputMask)

Description: Method void QLineEdit::setInputMask(const QString &inputMask)

Python specific notes:
The object exposes a writable attribute 'inputMask'. This is the setter.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QLineEdit::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

inputRejected

Signature: [signal] void inputRejected

Description: Signal declaration for QLineEdit::inputRejected()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'inputRejected'. This is the getter.
The object exposes a writable attribute 'inputRejected'. This is the setter.

insert

Signature: void insert (string arg1)

Description: Method void QLineEdit::insert(const QString &)

isClearButtonEnabled?

Signature: [const] bool isClearButtonEnabled?

Description: Method bool QLineEdit::isClearButtonEnabled()

Python specific notes:
The object exposes a readable attribute 'clearButtonEnabled'. This is the getter.

isModified?

Signature: [const] bool isModified?

Description: Method bool QLineEdit::isModified()

Python specific notes:
The object exposes a readable attribute 'modified'. This is the getter.

isReadOnly?

Signature: [const] bool isReadOnly?

Description: Method bool QLineEdit::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

isRedoAvailable?

Signature: [const] bool isRedoAvailable?

Description: Method bool QLineEdit::isRedoAvailable()

Python specific notes:
The object exposes a readable attribute 'redoAvailable'. This is the getter.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QLineEdit::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

isUndoAvailable?

Signature: [const] bool isUndoAvailable?

Description: Method bool QLineEdit::isUndoAvailable()

Python specific notes:
The object exposes a readable attribute 'undoAvailable'. This is the getter.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QLineEdit::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QLineEdit::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QLineEdit::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

maxLength

Signature: [const] int maxLength

Description: Method int QLineEdit::maxLength()

Python specific notes:
The object exposes a readable attribute 'maxLength'. This is the getter.

maxLength=

Signature: void maxLength= (int arg1)

Description: Method void QLineEdit::setMaxLength(int)

Python specific notes:
The object exposes a writable attribute 'maxLength'. This is the setter.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QLineEdit::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QLineEdit::minimumSizeHint()

This method can be reimplemented in a derived class.

modified

Signature: [const] bool modified

Description: Method bool QLineEdit::isModified()

Python specific notes:
The object exposes a readable attribute 'modified'. This is the getter.

modified=

Signature: void modified= (bool arg1)

Description: Method void QLineEdit::setModified(bool)

Python specific notes:
The object exposes a writable attribute 'modified'. This is the setter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QLineEdit::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QLineEdit::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QLineEdit::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QLineEdit::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QLineEdit::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QLineEdit::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

(1) Signature: [static] new QLineEdit new (QWidget ptr parent = nullptr)

Description: Constructor QLineEdit::QLineEdit(QWidget *parent)

This method creates an object of class QLineEdit.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QLineEdit new (string arg1, QWidget ptr parent = nullptr)

Description: Constructor QLineEdit::QLineEdit(const QString &, QWidget *parent)

This method creates an object of class QLineEdit.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QLineEdit::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QLineEdit::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

Description: Virtual method void QLineEdit::paintEvent(QPaintEvent *)

This method can be reimplemented in a derived class.

paste

Signature: void paste

Description: Method void QLineEdit::paste()

placeholderText

Signature: [const] string placeholderText

Description: Method QString QLineEdit::placeholderText()

Python specific notes:
The object exposes a readable attribute 'placeholderText'. This is the getter.

placeholderText=

Signature: void placeholderText= (string arg1)

Description: Method void QLineEdit::setPlaceholderText(const QString &)

Python specific notes:
The object exposes a writable attribute 'placeholderText'. This is the setter.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QLineEdit::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QLineEdit::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

readOnly

Signature: [const] bool readOnly

Description: Method bool QLineEdit::isReadOnly()

Python specific notes:
The object exposes a readable attribute 'readOnly'. This is the getter.

readOnly=

Signature: void readOnly= (bool arg1)

Description: Method void QLineEdit::setReadOnly(bool)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QLineEdit::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QLineEdit::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

redo

Signature: void redo

Description: Method void QLineEdit::redo()

redoAvailable

Signature: [const] bool redoAvailable

Description: Method bool QLineEdit::isRedoAvailable()

Python specific notes:
The object exposes a readable attribute 'redoAvailable'. This is the getter.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr event)

Description: Virtual method void QLineEdit::resizeEvent(QResizeEvent *event)

This method can be reimplemented in a derived class.

returnPressed

Signature: [signal] void returnPressed

Description: Signal declaration for QLineEdit::returnPressed()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'returnPressed'. This is the getter.
The object exposes a writable attribute 'returnPressed'. This is the setter.

selectAll

Signature: void selectAll

Description: Method void QLineEdit::selectAll()

selectedText

Signature: [const] string selectedText

Description: Method QString QLineEdit::selectedText()

Python specific notes:
The object exposes a readable attribute 'selectedText'. This is the getter.

selectionChanged

Signature: [signal] void selectionChanged

Description: Signal declaration for QLineEdit::selectionChanged()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'selectionChanged'. This is the getter.
The object exposes a writable attribute 'selectionChanged'. This is the setter.

selectionEnd

Signature: [const] int selectionEnd

Description: Method int QLineEdit::selectionEnd()

selectionLength

Signature: [const] int selectionLength

Description: Method int QLineEdit::selectionLength()

selectionStart

Signature: [const] int selectionStart

Description: Method int QLineEdit::selectionStart()

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QLineEdit::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QLineEdit::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setAlignment

Signature: void setAlignment (Qt_QFlags_AlignmentFlag flag)

Description: Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag)

Python specific notes:
The object exposes a writable attribute 'alignment'. This is the setter.

setClearButtonEnabled

Signature: void setClearButtonEnabled (bool enable)

Description: Method void QLineEdit::setClearButtonEnabled(bool enable)

Python specific notes:
The object exposes a writable attribute 'clearButtonEnabled'. This is the setter.

setCompleter

Signature: void setCompleter (QCompleter ptr completer)

Description: Method void QLineEdit::setCompleter(QCompleter *completer)

Python specific notes:
The object exposes a writable attribute 'completer'. This is the setter.

setCursorMoveStyle

Signature: void setCursorMoveStyle (const Qt_CursorMoveStyle style)

Description: Method void QLineEdit::setCursorMoveStyle(Qt::CursorMoveStyle style)

Python specific notes:
The object exposes a writable attribute 'cursorMoveStyle'. This is the setter.

setCursorPosition

Signature: void setCursorPosition (int arg1)

Description: Method void QLineEdit::setCursorPosition(int)

Python specific notes:
The object exposes a writable attribute 'cursorPosition'. This is the setter.

setDragEnabled

Signature: void setDragEnabled (bool b)

Description: Method void QLineEdit::setDragEnabled(bool b)

Python specific notes:
The object exposes a writable attribute 'dragEnabled'. This is the setter.

setEchoMode

Signature: void setEchoMode (const QLineEdit_EchoMode arg1)

Description: Method void QLineEdit::setEchoMode(QLineEdit::EchoMode)

Python specific notes:
The object exposes a writable attribute 'echoMode'. This is the setter.

setFrame

Signature: void setFrame (bool arg1)

Description: Method void QLineEdit::setFrame(bool)

Python specific notes:
The object exposes a writable attribute 'frame'. This is the setter.

setInputMask

Signature: void setInputMask (string inputMask)

Description: Method void QLineEdit::setInputMask(const QString &inputMask)

Python specific notes:
The object exposes a writable attribute 'inputMask'. This is the setter.

setMaxLength

Signature: void setMaxLength (int arg1)

Description: Method void QLineEdit::setMaxLength(int)

Python specific notes:
The object exposes a writable attribute 'maxLength'. This is the setter.

setModified

Signature: void setModified (bool arg1)

Description: Method void QLineEdit::setModified(bool)

Python specific notes:
The object exposes a writable attribute 'modified'. This is the setter.

setPlaceholderText

Signature: void setPlaceholderText (string arg1)

Description: Method void QLineEdit::setPlaceholderText(const QString &)

Python specific notes:
The object exposes a writable attribute 'placeholderText'. This is the setter.

setReadOnly

Signature: void setReadOnly (bool arg1)

Description: Method void QLineEdit::setReadOnly(bool)

Python specific notes:
The object exposes a writable attribute 'readOnly'. This is the setter.

setSelection

Signature: void setSelection (int arg1, int arg2)

Description: Method void QLineEdit::setSelection(int, int)

setText

Signature: void setText (string arg1)

Description: Method void QLineEdit::setText(const QString &)

Python specific notes:
The object exposes a writable attribute 'text'. This is the setter.

setTextMargins

(1) Signature: void setTextMargins (int left, int top, int right, int bottom)

Description: Method void QLineEdit::setTextMargins(int left, int top, int right, int bottom)

(2) Signature: void setTextMargins (const QMargins margins)

Description: Method void QLineEdit::setTextMargins(const QMargins &margins)

Python specific notes:
The object exposes a writable attribute 'textMargins'. This is the setter.

setValidator

Signature: void setValidator (const QValidator ptr arg1)

Description: Method void QLineEdit::setValidator(const QValidator *)

Python specific notes:
The object exposes a writable attribute 'validator'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QLineEdit::setVisible(bool visible)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QLineEdit::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr event)

Description: Virtual method void QLineEdit::showEvent(QShowEvent *event)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QLineEdit::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QLineEdit::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

text

Signature: [const] string text

Description: Method QString QLineEdit::text()

Python specific notes:
The object exposes a readable attribute 'text'. This is the getter.

text=

Signature: void text= (string arg1)

Description: Method void QLineEdit::setText(const QString &)

Python specific notes:
The object exposes a writable attribute 'text'. This is the setter.

textChanged

Signature: [signal] void textChanged (string arg1)

Description: Signal declaration for QLineEdit::textChanged(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'textChanged'. This is the getter.
The object exposes a writable attribute 'textChanged'. This is the setter.

textEdited

Signature: [signal] void textEdited (string arg1)

Description: Signal declaration for QLineEdit::textEdited(const QString &)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'textEdited'. This is the getter.
The object exposes a writable attribute 'textEdited'. This is the setter.

textMargins

Signature: [const] QMargins textMargins

Description: Method QMargins QLineEdit::textMargins()

Python specific notes:
The object exposes a readable attribute 'textMargins'. This is the getter.

textMargins=

Signature: void textMargins= (const QMargins margins)

Description: Method void QLineEdit::setTextMargins(const QMargins &margins)

Python specific notes:
The object exposes a writable attribute 'textMargins'. This is the setter.

timerEvent

Signature: void timerEvent (QTimerEvent ptr event)

Description: Virtual method void QLineEdit::timerEvent(QTimerEvent *event)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QLineEdit::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QLineEdit::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

undo

Signature: void undo

Description: Method void QLineEdit::undo()

undoAvailable

Signature: [const] bool undoAvailable

Description: Method bool QLineEdit::isUndoAvailable()

Python specific notes:
The object exposes a readable attribute 'undoAvailable'. This is the getter.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QLineEdit::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

validator

Signature: [const] const QValidator ptr validator

Description: Method const QValidator *QLineEdit::validator()

Python specific notes:
The object exposes a readable attribute 'validator'. This is the getter.

validator=

Signature: void validator= (const QValidator ptr arg1)

Description: Method void QLineEdit::setValidator(const QValidator *)

Python specific notes:
The object exposes a writable attribute 'validator'. This is the setter.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr event)

Description: Virtual method void QLineEdit::wheelEvent(QWheelEvent *event)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QLineEdit::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QLineEdit::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QLineEdit::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.