Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. looking for a code editor widget for Qt for Python
Qt 6.12 LTS is out! See what's new in the release blog

looking for a code editor widget for Qt for Python

Scheduled Pinned Locked Moved Unsolved Qt for Python
13 Posts 6 Posters 4.7k Views 3 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.
  • 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
    3
    • 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...

      M 1 Reply Last reply
      1
      • 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
            1
            • N nutrx

              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.

              RokeJulianLockhartR Offline
              RokeJulianLockhartR Offline
              RokeJulianLockhart
              wrote on last edited by
              #9

              @nutrx, work is being made toward this at invent.kde.org/frameworks/ktexteditor/-/issues/24 and its superordinate issue.

              When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

              1 Reply Last reply
              0
              • N nutrx

                doesn't seem to have Python bindings...

                M Offline
                M Offline
                milahu
                wrote on last edited by milahu
                #10

                @nutrx said in looking for a code editor widget for Qt for Python:

                doesn't seem to have Python bindings...

                implemented in my github.com/milahu/ktexteditor-pyside6

                SGaistS 1 Reply Last reply
                0
                • M milahu referenced this topic on
                • M milahu

                  @nutrx said in looking for a code editor widget for Qt for Python:

                  doesn't seem to have Python bindings...

                  implemented in my github.com/milahu/ktexteditor-pyside6

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #11

                  @milahu said in looking for a code editor widget for Qt for Python:

                  @nutrx said in looking for a code editor widget for Qt for Python:

                  doesn't seem to have Python bindings...

                  implemented in my github.com/milahu/ktexteditor-pyside6

                  Hi,

                  Did you consider contributing to KDE directly ? There's an ongoing effort to build bindings for their extensive set of classes.

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

                  RokeJulianLockhartR 1 Reply Last reply
                  2
                  • SGaistS SGaist

                    @milahu said in looking for a code editor widget for Qt for Python:

                    @nutrx said in looking for a code editor widget for Qt for Python:

                    doesn't seem to have Python bindings...

                    implemented in my github.com/milahu/ktexteditor-pyside6

                    Hi,

                    Did you consider contributing to KDE directly ? There's an ongoing effort to build bindings for their extensive set of classes.

                    RokeJulianLockhartR Offline
                    RokeJulianLockhartR Offline
                    RokeJulianLockhart
                    wrote on last edited by
                    #12

                    Indeed; the effort is possible to subscribe to, at invent.kde.org/teams/goals/streamlined-application-development-experience/-/work_items/9.

                    When using a forum, remember to tag the person you are responding to, in case they are not subscribed to the thread.

                    1 Reply Last reply
                    1
                    • D Offline
                      D Offline
                      dpriimak
                      wrote last edited by
                      #13

                      Hi.

                      I made this gizmo

                      https://brainless-software.github.io/qppte/

                      Not sure if it fits but it works for my use case.

                      1 Reply Last reply
                      1

                      • Login

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