FWIW, I played around with setCursorWidth in a QPlainTextEdit (ie. CodeViewEditor) but it would not change the thickness or width of the I-beam text insertion point cursor at all. It seems to be set by the QStyle property it inherits from the OS and appears to be unchangeable (at least on macOS). That said, MacOS Accessiblity features do seem to have an impact on it and using a larger font does seem to increase its size to make it easier to see.
Using the highlight line colour to increase the contrast seems to be the best way to make it more readily apparent.
So there would be no easy way to increase the I-beam insertion point visual thickness as it is determined by both the OS style setting and the current font and font size used as it must sit between adjacent characters.
|