Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can I make CSV file record function by QT5??



  • 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?



  • @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.



  • @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.



  • Thank you for your advice!

    I`ll try that :)


  • Lifetime Qt Champion

    @Dragocitch

    Hi and welcome to the forums

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


Log in to reply