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

Printing to pop up window

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 432 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.
  • J Offline
    J Offline
    jrod2much
    wrote on last edited by
    #1

    Hello All,

    I am running a loop that acquires data and prints out to the application output window in Qt. I have finally got my program to print exactly what I want but now I would like to have each of the data I am printing to instead be displayed on a pop up window at the end of the loop. What is a good way to do this.

    Thank you

    jsulmJ 1 Reply Last reply
    0
    • J jrod2much

      Hello All,

      I am running a loop that acquires data and prints out to the application output window in Qt. I have finally got my program to print exactly what I want but now I would like to have each of the data I am printing to instead be displayed on a pop up window at the end of the loop. What is a good way to do this.

      Thank you

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jrod2much You can collect the data in the loop (in some container like QVector) and then after the loop send all these data to your window.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Yes, store the results in some variable (probably a QString) or file (some .txt). When your loop ends, display the popup with the data from variable/ file.

        (Z(:^

        1 Reply Last reply
        3

        • Login

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