Setting a different cursortype for lineedit
Any ideas how to set a different cursor type to QLineedit.
I tried th efollowing,Doesn't work.
class a:public Qlineedit
[edit: Mark up code, Tobias Hunger]
As far as I know, it's not possible, at least there is no public API.
setCursor() only changes the mouse cursor:
bq. "QWidget::setCursor() ":http://doc.qt.nokia.com/stable/qwidget.html#cursor-prop
The mouse cursor will assume this shape when it's over this widget.
is it possible to add QTextCursor to display a custom cursor in QLineEdit
QTextCursor is not about visual appearance but only about positions and selections in a text document.