g*******0 发帖数: 127 | 1 I would like to have a QLineEdit that can display a cursor position when it
is not focused. Something like the Linux terminal window - when it is
focused, the cursor becomes active (black square) and start to blink; when
it is not focused, the cursor becomes a white square with black edge.
However, by default the QLineEdit does not display any cursor when not be
focused.
Anyone has the experience on how to display a cursor in QLineEdit when it is
not focused? |
|