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. Insert Qt Charts in QTextEdit
QtWS25 Last Chance

Insert Qt Charts in QTextEdit

Scheduled Pinned Locked Moved Solved General and Desktop
qchartqtexteditinput
6 Posts 3 Posters 2.2k Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello all!

    Is it possible to Show a qchart in qtextedit?

    Thank you,
    Henrik

    ? 1 Reply Last reply
    0
    • ? A Former User

      Hello all!

      Is it possible to Show a qchart in qtextedit?

      Thank you,
      Henrik

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @HenrikSt. Hi! No, it onyl supports a subset of HTML, including tables and images.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @Wieland
        HI, thank you.

        Topic is solved!

        ? 1 Reply Last reply
        0
        • ? A Former User

          @Wieland
          HI, thank you.

          Topic is solved!

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @HenrikSt. How did you solve it?

          ? 1 Reply Last reply
          0
          • ? A Former User

            @HenrikSt. How did you solve it?

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @Wieland
            I solved with the Statement, that it is not possible :)

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

              Hi,

              It might be not possible to insert a QChart object directly but a possible alternative might be to generate your chart, render it on a QImage and then put that QImage your QTextDocument.

              Hope it helps

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

              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