![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwidgetlinecontrol_p.h>
Public Types | |
| enum | DrawFlags { DrawText = 0x01 , DrawSelections = 0x02 , DrawCursor = 0x04 , DrawAll = DrawText | DrawSelections | DrawCursor } |
| Public Types inherited from QInputControl | |
| enum | Type { LineEdit , TextEdit } |
Signals | |
| void | cursorPositionChanged (int, int) |
| void | selectionChanged () |
| void | displayTextChanged (const QString &) |
| void | textChanged (const QString &) |
| void | textEdited (const QString &) |
| void | resetInputContext () |
| void | updateMicroFocus () |
| void | accepted () |
| void | editingFinished () |
| void | updateNeeded (const QRect &) |
| void | inputRejected () |
| Signals inherited from QObject | |
| void | destroyed (QObject *=nullptr) |
| This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked. | |
| void | objectNameChanged (const QString &objectName, QPrivateSignal) |
| This signal is emitted after the object's name has been changed. | |
Public Member Functions | |
| QWidgetLineControl (const QString &txt=QString()) | |
| ~QWidgetLineControl () | |
| void | setAccessibleObject (QObject *objectobject) |
| QObject * | accessibleObject () |
| int | nextMaskBlank (int pos) |
| int | prevMaskBlank (int pos) |
| bool | isUndoAvailable () const |
| bool | isRedoAvailable () const |
| void | clearUndo () |
| bool | isModified () const |
| void | setModified (bool modified) |
| bool | allSelected () const |
| bool | hasSelectedText () const |
| int | width () const |
| int | height () const |
| int | ascent () const |
| qreal | naturalTextWidth () const |
| void | setSelection (int startstart, int lengthlength) |
| QString | selectedText () const |
| QString | textBeforeSelection () const |
| QString | textAfterSelection () const |
| int | selectionStart () const |
| int | selectionEnd () const |
| bool | inSelection (int xx) const |
| void | removeSelection () |
| int | start () const |
| int | end () const |
| void | copy (QClipboard::Mode modemode=QClipboard::Clipboard) const |
| void | paste (QClipboard::Mode mode=QClipboard::Clipboard) |
| int | cursor () const |
| int | preeditCursor () const |
| int | cursorWidth () const |
| void | setCursorWidth (int valuevalue) |
| Qt::CursorMoveStyle | cursorMoveStyle () const |
| void | setCursorMoveStyle (Qt::CursorMoveStyle style) |
| void | moveCursor (int pos, bool mark=false) |
| void | cursorForward (bool mark, int steps) |
| void | cursorWordForward (bool mark) |
| void | cursorWordBackward (bool mark) |
| void | home (bool mark) |
| void | end (bool mark) |
| int | xToPos (int xx, QTextLine::CursorPosition=QTextLine::CursorBetweenCharacters) const |
| QRect | rectForPos (int pos) const |
| QRect | cursorRect () const |
| QRect | anchorRect () const |
| qreal | cursorToX (int cursor) const |
| qreal | cursorToX () const |
| bool | isReadOnly () const |
| void | setReadOnly (bool enableenable) |
| QString | text () const |
| void | setText (const QString &txt) |
| void | commitPreedit () |
| QString | displayText () const |
| QString | surroundingText () const |
| void | backspace () |
| void | del () |
| void | deselect () |
| void | selectAll () |
| void | insert (const QString &) |
| void | clear () |
| void | undo () |
| void | redo () |
| void | selectWordAtPos (int) |
| uint | echoMode () const |
| void | setEchoMode (uint modemode) |
| int | maxLength () const |
| void | setMaxLength (int maxLengthmaxLength) |
| const QValidator * | validator () const |
| void | setValidator (const QValidator *vv) |
| int | cursorPosition () const |
| void | setCursorPosition (int pos) |
| bool | hasAcceptableInput () const |
| bool | fixup () |
| QString | inputMask () const |
| void | setInputMask (const QString &maskmask) |
| bool | composeMode () const |
| void | setPreeditArea (int cursor, const QString &text) |
| QString | preeditAreaText () const |
| void | updatePasswordEchoEditing (bool editing) |
| bool | passwordEchoEditing () const |
| QChar | passwordCharacter () const |
| void | setPasswordCharacter (QChar character) |
| int | passwordMaskDelay () const |
| void | setPasswordMaskDelay (int delay) |
| Qt::LayoutDirection | layoutDirection () const |
| void | setLayoutDirection (Qt::LayoutDirection direction) |
| void | setFont (const QFont &font) |
| void | processInputMethodEvent (QInputMethodEvent *eventevent) |
| void | processKeyEvent (QKeyEvent *ev) |
| void | setBlinkingCursorEnabled (bool enableenable) |
| void | updateCursorBlinking () |
| void | resetCursorBlinkTimer () |
| bool | cursorBlinkStatus () const |
| QString | cancelText () const |
| void | setCancelText (const QString &text) |
| const QPalette & | palette () const |
| void | setPalette (const QPalette &pp) |
| void | draw (QPainter *, const QPoint &, const QRect &, int flagsflags=DrawAll) |
| void | processShortcutOverrideEvent (QKeyEvent *ke) |
| QTextLayout * | textLayout () const |
| Public Member Functions inherited from QInputControl | |
| QInputControl (Type typetype, QObject *parent=nullptr) | |
| bool | isAcceptableInput (const QKeyEvent *eventevent) const |
| Public Member Functions inherited from QObject | |
| Q_INVOKABLE | QObject (QObject *parent=nullptr) |
| Constructs an object with parent object parent. | |
| virtual | ~QObject () |
| Destroys the object, deleting all its child objects. | |
| virtual bool | event (QEvent *event) |
| This virtual function receives events to an object and should return true if the event e was recognized and processed. | |
| virtual bool | eventFilter (QObject *watched, QEvent *eventevent) |
| Filters events if this object has been installed as an event filter for the watched object. | |
| QString | objectName () const |
| Q_WEAK_OVERLOAD void | setObjectName (const QString &namename) |
| Sets the object's name to name. | |
| void | setObjectName (QAnyStringView namename) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| QBindable< QString > | bindableObjectName () |
| bool | isWidgetType () const |
Returns true if the object is a widget; otherwise returns false. | |
| bool | isWindowType () const |
Returns true if the object is a window; otherwise returns false. | |
| bool | isQuickItemType () const |
Returns true if the object is a QQuickItem; otherwise returns false. | |
| bool | isQmlExposed () const noexcept |
| Returns whether the object has been created by the QML engine or ownership has been explicitly set via QJSEngine::setObjectOwnership(). | |
| bool | signalsBlocked () const noexcept |
Returns true if signals are blocked; otherwise returns false. | |
| bool | blockSignals (bool b) noexcept |
| If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it). | |
| QThread * | thread () const |
| Returns the thread in which the object lives. | |
| bool | moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL) |
Changes the thread affinity for this object and its children and returns true on success. | |
| int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
| This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds. | |
| int | startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer) |
| void | killTimer (int idid) |
| Kills the timer with timer identifier, id. | |
| void | killTimer (Qt::TimerId idid) |
| template<typename T> | |
| T | findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object. | |
| template<typename T> | |
| QList< T > | findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects. | |
| template<typename T> | |
| T | findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| template<typename T> | |
| QList< T > | findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| const QObjectList & | children () const |
| Returns a list of child objects. | |
| void | setParent (QObject *parent) |
| Makes the object a child of parent. | |
| void | installEventFilter (QObject *filterObj) |
| Installs an event filter filterObj on this object. | |
| void | removeEventFilter (QObject *objobj) |
| Removes an event filter object obj from this object. | |
| QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType typetype=Qt::AutoConnection) const |
| bool | disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const |
| bool | disconnect (const QObject *receiver, const char *member=nullptr) const |
| void | dumpObjectTree () const |
| Dumps a tree of children to the debug output. | |
| void | dumpObjectInfo () const |
| Dumps information about signal connections, etc. | |
| bool | setProperty (const char *namename, const QVariant &valuevalue) |
| Sets the value of the object's name property to value. | |
| bool | setProperty (const char *namename, QVariant &&valuevalue) |
| QVariant | property (const char *namename) const |
| Returns the value of the object's name property. | |
| QList< QByteArray > | dynamicPropertyNames () const |
| QBindingStorage * | bindingStorage () |
| const QBindingStorage * | bindingStorage () const |
| QObject * | parent () const |
| Returns a pointer to the parent object. | |
| bool | inherits (const char *classname) const |
Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false. | |
Protected Member Functions | |
| virtual void | timerEvent (QTimerEvent *eventevent) override |
| This event handler can be reimplemented in a subclass to receive timer events for the object. | |
| Protected Member Functions inherited from QInputControl | |
| QInputControl (Type typetype, QObjectPrivate &dd, QObject *parent=nullptr) | |
| Protected Member Functions inherited from QObject | |
| QObject * | sender () const |
| Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr. | |
| int | senderSignalIndex () const |
| int | receivers (const char *signal) const |
| Returns the number of receivers connected to the signal. | |
| bool | isSignalConnected (const QMetaMethod &signal) const |
| virtual void | childEvent (QChildEvent *eventevent) |
| This event handler can be reimplemented in a subclass to receive child events. | |
| virtual void | customEvent (QEvent *eventevent) |
| This event handler can be reimplemented in a subclass to receive custom events. | |
| virtual void | connectNotify (const QMetaMethod &signal) |
| virtual void | disconnectNotify (const QMetaMethod &signal) |
| QObject (QObjectPrivate &dd, QObject *parent=nullptr) | |
Friends | |
| class | QLineEdit |
Additional Inherited Members | |
| Public Slots inherited from QObject | |
| void | deleteLater () |
| \threadsafe | |
| Static Public Member Functions inherited from QInputControl | |
| static bool | isCommonTextEditShortcut (const QKeyEvent *ke) |
| static QVariant | selectionWrapper (QMimeData *mimeData) |
| static QMimeData * | mimeDataForInputEvent (QInputMethodEvent *eventevent) |
| Static Public Member Functions inherited from QObject | |
| static QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| \threadsafe | |
| static QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType typetype=Qt::AutoConnection) |
| template<typename Func1, typename Func2> | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType typetype=Qt::AutoConnection) |
| template<typename Func1, typename Func2> | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot) |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| \threadsafe | |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| static bool | disconnect (const QMetaObject::Connection &) |
| Disconnects connection and resets it to \l{QMetaObject::Connection::operator bool()}{invalid}. | |
| static bool | disconnect (QMetaObject::Connection &) |
| static bool | disconnect (QMetaObject::Connection &&conn) |
| Disconnect a connection. | |
| template<typename Func1, typename Func2> | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot) |
| template<typename Func1> | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero) |
| Protected Attributes inherited from QObject | |
| QScopedPointer< QObjectData > | d_ptr |
| Properties inherited from QObject | |
| QString | objectName |
| the name of this object | |
| Related Symbols inherited from QObject | |
| template< class T > T | qobject_cast (const QObject *objectobject) |
| Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns \nullptr. | |
| QObjectList | |
| \macro Q_CLASSINFO(Name, Value) | |
Definition at line 47 of file qwidgetlinecontrol_p.h.
| Enumerator | |
|---|---|
| DrawText | |
| DrawSelections | |
| DrawCursor | |
| DrawAll | |
Definition at line 351 of file qwidgetlinecontrol_p.h.
Definition at line 52 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 71 of file qwidgetlinecontrol_p.h.
|
signal |
|
inline |
Definition at line 86 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 114 of file qwidgetlinecontrol_p.h.
| QRect QWidgetLineControl::anchorRect | ( | ) | const |
Returns the bounds of the current anchor
Definition at line 407 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 119 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::backspace | ( | ) |
Handles the behavior for the backspace key or function. Removes the current selection if there is a selection, otherwise removes the character prior to the cursor position.
Definition at line 177 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 345 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::clear | ( | ) |
Clears the line control text.
Definition at line 243 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 109 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::commitPreedit | ( | ) |
Definition at line 150 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 302 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::copy | ( | QClipboard::Mode | mode = QClipboard::Clipboard | ) | const |
Copies the currently selected text into the clipboard using the given mode.
Definition at line 119 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 156 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 343 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 166 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 162 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 275 of file qwidgetlinecontrol_p.h.
|
signal |
| QRect QWidgetLineControl::cursorRect | ( | ) | const |
Returns the bounds of the current cursor, as defined as a between characters cursor.
Definition at line 397 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 193 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 192 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 159 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 182 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 181 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::del | ( | ) |
Handles the behavior for the delete key or function. Removes the current selection if there is a selection, otherwise removes the character after the cursor position.
Definition at line 210 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 229 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 220 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::draw | ( | QPainter * | painter, |
| const QPoint & | offset, | ||
| const QRect & | clip, | ||
| int | flags = DrawAll ) |
Draws the display text for the line control using the given painter, clip, and offset. Which aspects of the display text are drawn is specified by the given flags.
If the flags contain DrawSelections, then the selection or input mask backgrounds and foregrounds will be applied before drawing the text.
If the flags contain DrawCursor a cursor of the current cursorWidth() will be drawn after drawing the text.
The display text will only be drawn if the flags contain DrawText
Definition at line 608 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 238 of file qwidgetlinecontrol_p.h.
|
signal |
|
inline |
Definition at line 149 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 185 of file qwidgetlinecontrol_p.h.
| bool QWidgetLineControl::fixup | ( | ) |
Fixes the current text so that it is valid given any set validators.
Returns true if the text was changed. Otherwise returns false.
Definition at line 421 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 278 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 115 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 118 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 184 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 281 of file qwidgetlinecontrol_p.h.
|
signal |
|
inline |
Definition at line 133 of file qwidgetlinecontrol_p.h.
Inserts the given newText at the current cursor position. If there is any selected text it is removed prior to insertion of the new text.
Definition at line 230 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 111 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 201 of file qwidgetlinecontrol_p.h.
| bool QWidgetLineControl::isRedoAvailable | ( | ) | const |
Definition at line 1913 of file qwidgetlinecontrol.cpp.
| bool QWidgetLineControl::isUndoAvailable | ( | ) | const |
Definition at line 1905 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 321 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 254 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::moveCursor | ( | int | pos, |
| bool | mark = false ) |
Moves the cursor to the given position pos. If mark is true will adjust the currently selected text.
Definition at line 444 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 120 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 93 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 348 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 315 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 309 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 318 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::paste | ( | QClipboard::Mode | clipboardMode = QClipboard::Clipboard | ) |
Inserts the text stored in the application clipboard into the line control.
Definition at line 135 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 306 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 157 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 100 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::processInputMethodEvent | ( | QInputMethodEvent * | event | ) |
Applies the given input method event event to the text of the line control
Definition at line 481 of file qwidgetlinecontrol.cpp.
Definition at line 1600 of file qwidgetlinecontrol.cpp.
Definition at line 1546 of file qwidgetlinecontrol.cpp.
| QRect QWidgetLineControl::rectForPos | ( | int | pos | ) | const |
Returns the bounds of the given text position.
Definition at line 379 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 235 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 141 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::resetCursorBlinkTimer | ( | ) |
Definition at line 1517 of file qwidgetlinecontrol.cpp.
|
signal |
|
inline |
Definition at line 230 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 124 of file qwidgetlinecontrol_p.h.
|
signal |
|
inline |
Definition at line 129 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 128 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::selectWordAtPos | ( | int | cursor | ) |
Sets the selection to cover the word at the given cursor position. The word boundaries are defined by the behavior of QTextLayout::SkipWords cursor mode.
Definition at line 649 of file qwidgetlinecontrol.cpp.
Definition at line 80 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::setBlinkingCursorEnabled | ( | bool | enable | ) |
Definition at line 1487 of file qwidgetlinecontrol.cpp.
Definition at line 346 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 163 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 276 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 160 of file qwidgetlinecontrol_p.h.
Definition at line 239 of file qwidgetlinecontrol_p.h.
Definition at line 334 of file qwidgetlinecontrol_p.h.
Definition at line 293 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 326 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 255 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 112 of file qwidgetlinecontrol_p.h.
Definition at line 349 of file qwidgetlinecontrol_p.h.
Definition at line 316 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 319 of file qwidgetlinecontrol_p.h.
Definition at line 303 of file qwidgetlinecontrol_p.h.
| void QWidgetLineControl::setReadOnly | ( | bool | enable | ) |
Definition at line 1478 of file qwidgetlinecontrol.cpp.
| void QWidgetLineControl::setSelection | ( | int | start, |
| int | length ) |
Sets length characters from the given start position as selected. The given start position must be within the current text for the line control. If length characters cannot be selected, then the selection will extend to the end of the current text.
Definition at line 278 of file qwidgetlinecontrol.cpp.
Definition at line 210 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 265 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 148 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 222 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 204 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 126 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 125 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 363 of file qwidgetlinecontrol_p.h.
|
overrideprotectedvirtual |
This event handler can be reimplemented in a subclass to receive timer events for the object.
QChronoTimer provides higher-level interfaces to the timer functionality, and also more general information about timers. The timer event is passed in the event parameter.
Reimplemented from QObject.
Definition at line 1528 of file qwidgetlinecontrol.cpp.
| void QWidgetLineControl::undo | ( | ) |
Undoes the previous operation.
Definition at line 258 of file qwidgetlinecontrol.cpp.
| void QWidgetLineControl::updateCursorBlinking | ( | ) |
Definition at line 1502 of file qwidgetlinecontrol.cpp.
|
signal |
| void QWidgetLineControl::updatePasswordEchoEditing | ( | bool | editing | ) |
Sets the password echo editing to editing. If password echo editing is true, then the text of the password is displayed even if the echo mode is set to QLineEdit::PasswordEchoOnEdit. Password echoing editing does not affect other echo modes.
Definition at line 355 of file qwidgetlinecontrol.cpp.
|
inline |
Definition at line 264 of file qwidgetlinecontrol_p.h.
|
inline |
Definition at line 117 of file qwidgetlinecontrol_p.h.
| int QWidgetLineControl::xToPos | ( | int | x, |
| QTextLine::CursorPosition | betweenOrOn = QTextLine::CursorBetweenCharacters ) const |
Returns the cursor position of the given x pixel value in relation to the displayed text. The given betweenOrOn specified what kind of cursor position is requested.
Definition at line 369 of file qwidgetlinecontrol.cpp.
|
friend |
Definition at line 510 of file qwidgetlinecontrol_p.h.