I have a desktop application, where I want to display and edit the text and the text is in HTML format.
For editing that text, I wanted to create a editor same as that of QT's Edit Text Dialog (Dialog which is invoked when text property of QLabel or QTextEdit needs to be edited from Qt Designer) see screen shots below.

Sample Editor1.PNGSample Editor2.PNG

So my question is as QT has already implemented the above dialog, can I reuse it in my application? If yes then how?