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
Forum Updated to NodeBB v4.3 + New Features

Insert Qt Charts in QTextEdit

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

    Hello all!

    Is it possible to Show a qchart in qtextedit?

    Thank you,
    Henrik

    ? 1 Reply Last reply 11 Jun 2016, 09:13
    0
    • ? A Former User
      11 Jun 2016, 09:08

      Hello all!

      Is it possible to Show a qchart in qtextedit?

      Thank you,
      Henrik

      ? Offline
      ? Offline
      A Former User
      wrote on 11 Jun 2016, 09:13 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 11 Jun 2016, 13:29 last edited by
        #3

        @Wieland
        HI, thank you.

        Topic is solved!

        ? 1 Reply Last reply 11 Jun 2016, 16:26
        0
        • ? A Former User
          11 Jun 2016, 13:29

          @Wieland
          HI, thank you.

          Topic is solved!

          ? Offline
          ? Offline
          A Former User
          wrote on 11 Jun 2016, 16:26 last edited by
          #4

          @HenrikSt. How did you solve it?

          ? 1 Reply Last reply 12 Jun 2016, 11:49
          0
          • ? A Former User
            11 Jun 2016, 16:26

            @HenrikSt. How did you solve it?

            ? Offline
            ? Offline
            A Former User
            wrote on 12 Jun 2016, 11:49 last edited by
            #5

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

            1 Reply Last reply
            1
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 12 Jun 2016, 21:12 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

              1/6

              11 Jun 2016, 09:08

              • Login

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