Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Widgets inside a text-editor
Ramin last edited by
What's the best way in Qt to have another widget (e.g. a dropbox) embedded inside a texteditor but also "inline" with the standard text?
For example, this [drop box [v]] is inline with this line of text. As I insert text behind the dropbox, it would move along with the text as if it were just another character.
Would you know any such widget/component that implements such functionality using Qt? I can imagine implementing it from scratch would be text rendering nightmare...
Have a look at
and the "Text Object Example"
It seems possible to create your own widget to support such feature but
I have no tested it and do not know if object would receive events.
also docs says
"Copy and Paste operations ignore custom text objects."