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. Turn qt application form into text file

Turn qt application form into text file

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 136 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.
  • S Offline
    S Offline
    Safer
    wrote on last edited by
    #1

    Hi everyone, I need some advice: I created a qt application form with a series of fields to insert data (they are above all lineEdit and checkbox objects). Once the insertion is finished, I would like to create a text file, or a pdf or a docx file that contains all these fields including checked or unchecked checkboxes. How can I do?

    JonBJ 1 Reply Last reply
    0
    • S Safer

      Hi everyone, I need some advice: I created a qt application form with a series of fields to insert data (they are above all lineEdit and checkbox objects). Once the insertion is finished, I would like to create a text file, or a pdf or a docx file that contains all these fields including checked or unchecked checkboxes. How can I do?

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

      @Safer
      There is nothing automatic in Qt to do this. You must visit each of your widgets and output whatever you want from them. You might look at QTextDocument (https://doc.qt.io/qt-5/qtextdocument.html) as the means to export.

      1 Reply Last reply
      1

      • Login

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