QtBase  v6.3.1
Classes | Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
QWidgetLineControl Class Reference

#include <qwidgetlinecontrol_p.h>

Inheritance diagram for QWidgetLineControl:
Inheritance graph
[legend]
Collaboration diagram for QWidgetLineControl:
Collaboration graph
[legend]

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)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 

Public Member Functions

 QWidgetLineControl (const QString &txt=QString())
 
 ~QWidgetLineControl ()
 
void setAccessibleObject (QObject *object)
 
QObjectaccessibleObject ()
 
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 start, int length)
 
QString selectedText () const
 
QString textBeforeSelection () const
 
QString textAfterSelection () const
 
int selectionStart () const
 
int selectionEnd () const
 
bool inSelection (int x) const
 
void removeSelection ()
 
int start () const
 
int end () const
 
void copy (QClipboard::Mode mode=QClipboard::Clipboard) const
 
void paste (QClipboard::Mode mode=QClipboard::Clipboard)
 
int cursor () const
 
int preeditCursor () const
 
int cursorWidth () const
 
void setCursorWidth (int value)
 
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 x, 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 enable)
 
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 mode)
 
int maxLength () const
 
void setMaxLength (int maxLength)
 
const QValidatorvalidator () const
 
void setValidator (const QValidator *v)
 
int cursorPosition () const
 
void setCursorPosition (int pos)
 
bool hasAcceptableInput () const
 
bool fixup ()
 
QString inputMask () const
 
void setInputMask (const QString &mask)
 
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 *event)
 
void processKeyEvent (QKeyEvent *ev)
 
void setBlinkingCursorEnabled (bool enable)
 
void updateCursorBlinking ()
 
void resetCursorBlinkTimer ()
 
bool cursorBlinkStatus () const
 
QString cancelText () const
 
void setCancelText (const QString &text)
 
const QPalettepalette () const
 
void setPalette (const QPalette &p)
 
void draw (QPainter *, const QPoint &, const QRect &, int flags=DrawAll)
 
void processShortcutOverrideEvent (QKeyEvent *ke)
 
QTextLayouttextLayout () const
 
- Public Member Functions inherited from QInputControl
 QInputControl (Type type, QObject *parent=nullptr)
 
bool isAcceptableInput (const QKeyEvent *event) const
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
virtual bool event (QEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=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
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 

Protected Member Functions

virtual void timerEvent (QTimerEvent *event) override
 
- Protected Member Functions inherited from QInputControl
 QInputControl (Type type, QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 
- Static Public Member Functions inherited from QInputControl
static bool isCommonTextEditShortcut (const QKeyEvent *ke)
 
- 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)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::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< QObjectDatad_ptr
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 

Detailed Description

Definition at line 83 of file qwidgetlinecontrol_p.h.

Member Enumeration Documentation

◆ DrawFlags

Enumerator
DrawText 
DrawSelections 
DrawCursor 
DrawAll 

Definition at line 388 of file qwidgetlinecontrol_p.h.

Constructor & Destructor Documentation

◆ QWidgetLineControl()

QWidgetLineControl::QWidgetLineControl ( const QString txt = QString())
inline

Definition at line 88 of file qwidgetlinecontrol_p.h.

◆ ~QWidgetLineControl()

QWidgetLineControl::~QWidgetLineControl ( )
inline

Definition at line 108 of file qwidgetlinecontrol_p.h.

Member Function Documentation

◆ accepted

void QWidgetLineControl::accepted ( )
signal

◆ accessibleObject()

QObject* QWidgetLineControl::accessibleObject ( )
inline

Definition at line 123 of file qwidgetlinecontrol_p.h.

Here is the call graph for this function:

◆ allSelected()

bool QWidgetLineControl::allSelected ( ) const
inline

Definition at line 151 of file qwidgetlinecontrol_p.h.

◆ anchorRect()

QRect QWidgetLineControl::anchorRect ( ) const

Definition at line 441 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ ascent()

int QWidgetLineControl::ascent ( ) const
inline

Definition at line 156 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ backspace()

void QWidgetLineControl::backspace ( )

Definition at line 211 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ cancelText()

QString QWidgetLineControl::cancelText ( ) const
inline

Definition at line 382 of file qwidgetlinecontrol_p.h.

◆ clear()

void QWidgetLineControl::clear ( )

Definition at line 277 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearUndo()

void QWidgetLineControl::clearUndo ( )
inline

Definition at line 146 of file qwidgetlinecontrol_p.h.

◆ commitPreedit()

void QWidgetLineControl::commitPreedit ( )

Definition at line 184 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ composeMode()

bool QWidgetLineControl::composeMode ( ) const
inline

Definition at line 339 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ copy()

void QWidgetLineControl::copy ( QClipboard::Mode  mode = QClipboard::Clipboard) const

Definition at line 153 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cursor()

int QWidgetLineControl::cursor ( ) const
inline

Definition at line 193 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ cursorBlinkStatus()

bool QWidgetLineControl::cursorBlinkStatus ( ) const
inline

Definition at line 380 of file qwidgetlinecontrol_p.h.

◆ cursorForward()

void QWidgetLineControl::cursorForward ( bool  mark,
int  steps 
)
inline

Definition at line 203 of file qwidgetlinecontrol_p.h.

◆ cursorMoveStyle()

Qt::CursorMoveStyle QWidgetLineControl::cursorMoveStyle ( ) const
inline

Definition at line 199 of file qwidgetlinecontrol_p.h.

◆ cursorPosition()

int QWidgetLineControl::cursorPosition ( ) const
inline

Definition at line 312 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ cursorPositionChanged

void QWidgetLineControl::cursorPositionChanged ( int  ,
int   
)
signal
Here is the caller graph for this function:

◆ cursorRect()

QRect QWidgetLineControl::cursorRect ( ) const

Definition at line 431 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cursorToX() [1/2]

qreal QWidgetLineControl::cursorToX ( ) const
inline

Definition at line 230 of file qwidgetlinecontrol_p.h.

◆ cursorToX() [2/2]

qreal QWidgetLineControl::cursorToX ( int  cursor) const
inline

Definition at line 229 of file qwidgetlinecontrol_p.h.

◆ cursorWidth()

int QWidgetLineControl::cursorWidth ( ) const
inline

Definition at line 196 of file qwidgetlinecontrol_p.h.

◆ cursorWordBackward()

void QWidgetLineControl::cursorWordBackward ( bool  mark)
inline

Definition at line 219 of file qwidgetlinecontrol_p.h.

◆ cursorWordForward()

void QWidgetLineControl::cursorWordForward ( bool  mark)
inline

Definition at line 218 of file qwidgetlinecontrol_p.h.

◆ del()

void QWidgetLineControl::del ( )

Definition at line 244 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ deselect()

void QWidgetLineControl::deselect ( )
inline

Definition at line 266 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ displayText()

QString QWidgetLineControl::displayText ( ) const
inline

Definition at line 257 of file qwidgetlinecontrol_p.h.

◆ displayTextChanged

void QWidgetLineControl::displayTextChanged ( const QString )
signal

◆ draw()

void QWidgetLineControl::draw ( QPainter painter,
const QPoint offset,
const QRect clip,
int  flags = DrawAll 
)

Definition at line 642 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ echoMode()

uint QWidgetLineControl::echoMode ( ) const
inline

Definition at line 275 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ editingFinished

void QWidgetLineControl::editingFinished ( )
signal

◆ end() [1/2]

int QWidgetLineControl::end ( ) const
inline

Definition at line 186 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ end() [2/2]

void QWidgetLineControl::end ( bool  mark)
inline

Definition at line 222 of file qwidgetlinecontrol_p.h.

◆ fixup()

bool QWidgetLineControl::fixup ( )

Definition at line 455 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ hasAcceptableInput()

bool QWidgetLineControl::hasAcceptableInput ( ) const
inline

Definition at line 315 of file qwidgetlinecontrol_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasSelectedText()

bool QWidgetLineControl::hasSelectedText ( ) const
inline

Definition at line 152 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ height()

int QWidgetLineControl::height ( ) const
inline

Definition at line 155 of file qwidgetlinecontrol_p.h.

Here is the call graph for this function:

◆ home()

void QWidgetLineControl::home ( bool  mark)
inline

Definition at line 221 of file qwidgetlinecontrol_p.h.

◆ inputMask()

QString QWidgetLineControl::inputMask ( ) const
inline

Definition at line 318 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ inputRejected

void QWidgetLineControl::inputRejected ( )
signal

◆ inSelection()

bool QWidgetLineControl::inSelection ( int  x) const
inline

Definition at line 170 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ insert()

void QWidgetLineControl::insert ( const QString newText)

Definition at line 264 of file qwidgetlinecontrol.cpp.

Here is the caller graph for this function:

◆ isModified()

bool QWidgetLineControl::isModified ( ) const
inline

Definition at line 148 of file qwidgetlinecontrol_p.h.

◆ isReadOnly()

bool QWidgetLineControl::isReadOnly ( ) const
inline

Definition at line 238 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ isRedoAvailable()

bool QWidgetLineControl::isRedoAvailable ( ) const

Definition at line 1981 of file qwidgetlinecontrol.cpp.

◆ isUndoAvailable()

bool QWidgetLineControl::isUndoAvailable ( ) const

Definition at line 1973 of file qwidgetlinecontrol.cpp.

◆ layoutDirection()

Qt::LayoutDirection QWidgetLineControl::layoutDirection ( ) const
inline

Definition at line 358 of file qwidgetlinecontrol_p.h.

◆ maxLength()

int QWidgetLineControl::maxLength ( ) const
inline

Definition at line 291 of file qwidgetlinecontrol_p.h.

◆ moveCursor()

void QWidgetLineControl::moveCursor ( int  pos,
bool  mark = false 
)

Definition at line 478 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ naturalTextWidth()

qreal QWidgetLineControl::naturalTextWidth ( ) const
inline

Definition at line 157 of file qwidgetlinecontrol_p.h.

◆ nextMaskBlank()

int QWidgetLineControl::nextMaskBlank ( int  pos)
inline

Definition at line 130 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ palette()

const QPalette& QWidgetLineControl::palette ( ) const
inline

Definition at line 385 of file qwidgetlinecontrol_p.h.

◆ passwordCharacter()

QChar QWidgetLineControl::passwordCharacter ( ) const
inline

Definition at line 352 of file qwidgetlinecontrol_p.h.

◆ passwordEchoEditing()

bool QWidgetLineControl::passwordEchoEditing ( ) const
inline

Definition at line 346 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ passwordMaskDelay()

int QWidgetLineControl::passwordMaskDelay ( ) const
inline

Definition at line 355 of file qwidgetlinecontrol_p.h.

◆ paste()

void QWidgetLineControl::paste ( QClipboard::Mode  mode = QClipboard::Clipboard)

Definition at line 169 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ preeditAreaText()

QString QWidgetLineControl::preeditAreaText ( ) const
inline

Definition at line 343 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ preeditCursor()

int QWidgetLineControl::preeditCursor ( ) const
inline

Definition at line 194 of file qwidgetlinecontrol_p.h.

◆ prevMaskBlank()

int QWidgetLineControl::prevMaskBlank ( int  pos)
inline

Definition at line 137 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ processInputMethodEvent()

void QWidgetLineControl::processInputMethodEvent ( QInputMethodEvent event)

Definition at line 515 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ processKeyEvent()

void QWidgetLineControl::processKeyEvent ( QKeyEvent ev)

Definition at line 1644 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ processShortcutOverrideEvent()

void QWidgetLineControl::processShortcutOverrideEvent ( QKeyEvent ke)

Definition at line 1590 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ rectForPos()

QRect QWidgetLineControl::rectForPos ( int  pos) const

Definition at line 413 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ redo()

void QWidgetLineControl::redo ( )
inline

Definition at line 272 of file qwidgetlinecontrol_p.h.

◆ removeSelection()

void QWidgetLineControl::removeSelection ( )
inline

Definition at line 178 of file qwidgetlinecontrol_p.h.

◆ resetCursorBlinkTimer()

void QWidgetLineControl::resetCursorBlinkTimer ( )

Definition at line 1558 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ resetInputContext

void QWidgetLineControl::resetInputContext ( )
signal

◆ selectAll()

void QWidgetLineControl::selectAll ( )
inline

Definition at line 267 of file qwidgetlinecontrol_p.h.

◆ selectedText()

QString QWidgetLineControl::selectedText ( ) const
inline

Definition at line 161 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ selectionChanged

void QWidgetLineControl::selectionChanged ( )
signal

◆ selectionEnd()

int QWidgetLineControl::selectionEnd ( ) const
inline

Definition at line 166 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ selectionStart()

int QWidgetLineControl::selectionStart ( ) const
inline

Definition at line 165 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ selectWordAtPos()

void QWidgetLineControl::selectWordAtPos ( int  cursor)

Definition at line 683 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ setAccessibleObject()

void QWidgetLineControl::setAccessibleObject ( QObject object)
inline

Definition at line 117 of file qwidgetlinecontrol_p.h.

◆ setBlinkingCursorEnabled()

void QWidgetLineControl::setBlinkingCursorEnabled ( bool  enable)

Definition at line 1525 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ setCancelText()

void QWidgetLineControl::setCancelText ( const QString text)
inline

Definition at line 383 of file qwidgetlinecontrol_p.h.

◆ setCursorMoveStyle()

void QWidgetLineControl::setCursorMoveStyle ( Qt::CursorMoveStyle  style)
inline

Definition at line 200 of file qwidgetlinecontrol_p.h.

◆ setCursorPosition()

void QWidgetLineControl::setCursorPosition ( int  pos)
inline

Definition at line 313 of file qwidgetlinecontrol_p.h.

◆ setCursorWidth()

void QWidgetLineControl::setCursorWidth ( int  value)
inline

Definition at line 197 of file qwidgetlinecontrol_p.h.

◆ setEchoMode()

void QWidgetLineControl::setEchoMode ( uint  mode)
inline

Definition at line 276 of file qwidgetlinecontrol_p.h.

◆ setFont()

void QWidgetLineControl::setFont ( const QFont font)
inline

Definition at line 371 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ setInputMask()

void QWidgetLineControl::setInputMask ( const QString mask)
inline

Definition at line 330 of file qwidgetlinecontrol_p.h.

◆ setLayoutDirection()

void QWidgetLineControl::setLayoutDirection ( Qt::LayoutDirection  direction)
inline

Definition at line 363 of file qwidgetlinecontrol_p.h.

◆ setMaxLength()

void QWidgetLineControl::setMaxLength ( int  maxLength)
inline

Definition at line 292 of file qwidgetlinecontrol_p.h.

◆ setModified()

void QWidgetLineControl::setModified ( bool  modified)
inline

Definition at line 149 of file qwidgetlinecontrol_p.h.

◆ setPalette()

void QWidgetLineControl::setPalette ( const QPalette p)
inline

Definition at line 386 of file qwidgetlinecontrol_p.h.

◆ setPasswordCharacter()

void QWidgetLineControl::setPasswordCharacter ( QChar  character)
inline

Definition at line 353 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ setPasswordMaskDelay()

void QWidgetLineControl::setPasswordMaskDelay ( int  delay)
inline

Definition at line 356 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ setPreeditArea()

void QWidgetLineControl::setPreeditArea ( int  cursor,
const QString text 
)
inline

Definition at line 340 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ setReadOnly()

void QWidgetLineControl::setReadOnly ( bool  enable)

Definition at line 1516 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ setSelection()

void QWidgetLineControl::setSelection ( int  start,
int  length 
)

Definition at line 312 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ setText()

void QWidgetLineControl::setText ( const QString txt)
inline

Definition at line 247 of file qwidgetlinecontrol_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setValidator()

void QWidgetLineControl::setValidator ( const QValidator v)
inline

Definition at line 302 of file qwidgetlinecontrol_p.h.

◆ start()

int QWidgetLineControl::start ( ) const
inline

Definition at line 185 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ surroundingText()

QString QWidgetLineControl::surroundingText ( ) const
inline

Definition at line 259 of file qwidgetlinecontrol_p.h.

◆ text()

QString QWidgetLineControl::text ( ) const
inline

Definition at line 241 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ textAfterSelection()

QString QWidgetLineControl::textAfterSelection ( ) const
inline

Definition at line 163 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ textBeforeSelection()

QString QWidgetLineControl::textBeforeSelection ( ) const
inline

Definition at line 162 of file qwidgetlinecontrol_p.h.

◆ textChanged

void QWidgetLineControl::textChanged ( const QString )
signal

◆ textEdited

void QWidgetLineControl::textEdited ( const QString )
signal

◆ textLayout()

QTextLayout* QWidgetLineControl::textLayout ( ) const
inline

Definition at line 400 of file qwidgetlinecontrol_p.h.

Here is the caller graph for this function:

◆ timerEvent()

void QWidgetLineControl::timerEvent ( QTimerEvent event)
overrideprotectedvirtual

This event handler can be reimplemented in a subclass to receive timer events for the object.

QTimer provides a higher-level interface to the timer functionality, and also more general information about timers. The timer event is passed in the event parameter.

See also
startTimer(), killTimer(), event()

Reimplemented from QObject.

Definition at line 1570 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ undo()

void QWidgetLineControl::undo ( )

Definition at line 292 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:

◆ updateCursorBlinking()

void QWidgetLineControl::updateCursorBlinking ( )

Definition at line 1540 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateMicroFocus

void QWidgetLineControl::updateMicroFocus ( )
signal

◆ updateNeeded

void QWidgetLineControl::updateNeeded ( const QRect )
signal
Here is the caller graph for this function:

◆ updatePasswordEchoEditing()

void QWidgetLineControl::updatePasswordEchoEditing ( bool  editing)

Definition at line 389 of file qwidgetlinecontrol.cpp.

Here is the caller graph for this function:

◆ validator()

const QValidator* QWidgetLineControl::validator ( ) const
inline

Definition at line 301 of file qwidgetlinecontrol_p.h.

◆ width()

int QWidgetLineControl::width ( ) const
inline

Definition at line 154 of file qwidgetlinecontrol_p.h.

Here is the call graph for this function:

◆ xToPos()

int QWidgetLineControl::xToPos ( int  x,
QTextLine::CursorPosition  betweenOrOn = QTextLine::CursorBetweenCharacters 
) const

Definition at line 403 of file qwidgetlinecontrol.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: