How to embed a standalone text editor like Notepad++ into QT application
-
wrote on 25 Nov 2017, 13:01 last edited by Niagarer
Hi,
I think it is not possible to embed it like a widget really inside my program, but at least as a new opening window.
So that I can click a button in my application, a new standalone text editor-window (like Atom or Notepad++) opens, I type in some code, click on a button again, the editor window closes and my application got everything, I typed in.
Because I can't write such a good text editor myself and it would not make sence, while there are many good text editors out there.
Is this possible?
Thanks for answers! -
wrote on 25 Nov 2017, 13:56 last edited by
@Niagarer something like that: http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html
-
Hi,
I think it is not possible to embed it like a widget really inside my program, but at least as a new opening window.
So that I can click a button in my application, a new standalone text editor-window (like Atom or Notepad++) opens, I type in some code, click on a button again, the editor window closes and my application got everything, I typed in.
Because I can't write such a good text editor myself and it would not make sence, while there are many good text editors out there.
Is this possible?
Thanks for answers!@Niagarer You can't embed external applications like Notepad++ as widget into your app.
What about https://www.riverbankcomputing.com/software/qscintilla/intro ? -
wrote on 27 Nov 2017, 13:58 last edited by
@Niagarer you may also want to take a look at KTextEditor
1/4