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. Can I make CSV file record function by QT5??
Forum Updated to NodeBB v4.3 + New Features

Can I make CSV file record function by QT5??

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

    Hellow!

    I'm very new about qt.

    So, I was using the HyperTerminal program maned 'RealTerm'.
    That program has a record function of incoming data.

    In that function, you need to choose which directory you want to save the file.
    Then you press the record button, the program keeps generating .csv file.
    If you press the stop button, it stops the record.

    So, my question is can I make the record function by QT Designer?
    If so, which function or library I need to find?

    JonBJ 1 Reply Last reply
    0
    • D Dragocitch

      Hellow!

      I'm very new about qt.

      So, I was using the HyperTerminal program maned 'RealTerm'.
      That program has a record function of incoming data.

      In that function, you need to choose which directory you want to save the file.
      Then you press the record button, the program keeps generating .csv file.
      If you press the stop button, it stops the record.

      So, my question is can I make the record function by QT Designer?
      If so, which function or library I need to find?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Dragocitch
      Qt Designer allows you to design the visuals of an application. You have to write code to implement whatever functionality you want from some terminal emulator, with recording of whatever.

      You can save data as CSV/comma-separated text, writing your own code to generate the text of what you want saved. Qt provides the ability to save stuff to file, and offers the UI you talk about to prompt the user for a filename to save to (QFileDialog Class).

      So the simple answer is, yes, you can do what you asking about, but you have to write the code to do it, using bits of Qt functionality where needed.

      1 Reply Last reply
      5
      • D Offline
        D Offline
        Dragocitch
        wrote on last edited by
        #3

        Thank you for your advice!

        I`ll try that :)

        mrjjM 1 Reply Last reply
        1
        • D Dragocitch

          Thank you for your advice!

          I`ll try that :)

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Dragocitch

          Hi and welcome to the forums

          I was wondering where data would come from ?
          Also from serialport as with RealTerm ?

          1 Reply Last reply
          0

          • Login

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