Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to embed a standalone text editor like Notepad++ into QT application
Forum Updated to NodeBB v4.3 + New Features

How to embed a standalone text editor like Notepad++ into QT application

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NiagarerN Offline
    NiagarerN Offline
    Niagarer
    wrote on last edited by Niagarer
    #1

    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!

    jsulmJ 1 Reply Last reply
    0
    • CarlavillaC Offline
      CarlavillaC Offline
      Carlavilla
      wrote on last edited by
      #2

      @Niagarer something like that: http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html

      1 Reply Last reply
      1
      • NiagarerN 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!

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Niagarer You can't embed external applications like Notepad++ as widget into your app.
        What about https://www.riverbankcomputing.com/software/qscintilla/intro ?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @Niagarer you may also want to take a look at KTextEditor

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved