Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. looking for a code editor widget for Qt for Python
Forum Updated to NodeBB v4.3 + New Features

looking for a code editor widget for Qt for Python

Scheduled Pinned Locked Moved Unsolved Qt for Python
8 Posts 3 Posters 1.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.
  • N Offline
    N Offline
    nutrx
    wrote on last edited by
    #1

    Hey. I am looking for a slightly more sophisticated code editor widget for Pyside2/6, but it seems hard to find something that is actually usable (which includes: can be styled, has common basic editor features, and can be easily integrated) and still maintained. The best thing I found is pyQode which, unfortunately, is also not maintained anymore and cannot be used right away with PySide2 or PySide6. While it could be easy to bring most of it to the new versions myself, I would strongly prefer a solution that is still actively maintained. Does someone know any? Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you consider Kdevelop ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      N 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you consider Kdevelop ?

        N Offline
        N Offline
        nutrx
        wrote on last edited by
        #3

        @SGaist Hi, thanks. But I'm not looking for an IDE, just some widget I can customize. (if there isn't a simple way to integrate the Kdevelop text editor into my application that I missed)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then you might be interested in KTextEditor which is used in Kdevelop but also Kate and other text processors.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          N 1 Reply Last reply
          0
          • SGaistS SGaist

            Then you might be interested in KTextEditor which is used in Kdevelop but also Kate and other text processors.

            N Offline
            N Offline
            nutrx
            wrote on last edited by
            #5

            doesn't seem to have Python bindings...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Sorry, I forgot about that constrain.

              Did you check QScintilla ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              N 1 Reply Last reply
              0
              • SGaistS SGaist

                Sorry, I forgot about that constrain.

                Did you check QScintilla ?

                N Offline
                N Offline
                nutrx
                wrote on last edited by nutrx
                #7

                I did, seems nice, but it only seems to be available for PyQt, not PySide, they don't use QtPy but I need it to run on both packages : /

                JonBJ 1 Reply Last reply
                0
                • N nutrx

                  I did, seems nice, but it only seems to be available for PyQt, not PySide, they don't use QtPy but I need it to run on both packages : /

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @nutrx
                  You probably won't find anything for PySide, there is a lot more out there written with PyQt. Unless you see it using many PyQt-specific features, in principle it should not take much to make it work for PySide. Can't you use QtPy yourself to (try to) achieve this?

                  1 Reply Last reply
                  0

                  • Login

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