QLineEdit's like those used in Find and Replace do not have a setCursorWidth setting at all, so a QStyledProxy is needed to try something like that in things like that.
I did get setCursorWidth to work in a QPlainTextEdit (CodeView) finally. It is undocumented but it must be set every time a new QTextDocument is set. So I can get a double width insert point text cursor working in CodeView but no luck so far in QTreeViews, QComboBoxes, QLineEdits and other major widgets types.
I am still investigating.
Last edited by KevinH; 04-11-2024 at 06:30 PM.
|