Details

    • Technical task
    • Resolution: Fixed
    • P2: Important
    • 6.5.0, 6.6.0
    • None
    • None
    • 48a1a5564 (dev), 17f0590e0 (6.5)

    Description

      The example only shows how to put one widget into another widget, and how to use QTextBlock to paint the contents of a QPlainTextEdit in a subclass.

      However, the architecture of the example is quite horrible; using a separate widget to paint the line numbers overcomplicates the code, to the point where it becomes a hack to circumvent that some functionality is protected.

      The only useful part of the example is the painting of the text document, which could be a snippet in e.g. QTextBlock.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vhilshei Volker Hilsheimer
              vhilshei Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes