Refer to setDragEnabled in QLineEdit's detailed description.
It's currently not obvious how to drag text from a QLineEdit. Task-number: QTBUG-22413 Change-Id: I5b92ce5c7425a1cb8ee6f401c685424eb9396592 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
This commit is contained in:
parent
49d9fd1935
commit
f587d1de6b
@ -132,7 +132,8 @@ void QLineEdit::initStyleOption(QStyleOptionFrame *option) const
|
||||
|
||||
A line edit allows the user to enter and edit a single line of
|
||||
plain text with a useful collection of editing functions,
|
||||
including undo and redo, cut and paste, and drag and drop.
|
||||
including undo and redo, cut and paste, and drag and drop (see
|
||||
\l setDragEnabled()).
|
||||
|
||||
By changing the echoMode() of a line edit, it can also be used as
|
||||
a "write-only" field, for inputs such as passwords.
|
||||
|
Loading…
Reference in New Issue
Block a user