Results 1 to 3 of 3

Thread: How to convert data in QTableWidget into an Excel file (URGENT)

  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question How to convert data in QTableWidget into an Excel file (URGENT)

    Hi,
    I am Working on an application where I have some data inserted in a QTableWidget on dailog window.
    Now I want to add a pushbutton "Convert to Excel", which helps the user to convert the data in QTablewidget to an excel file(.xml or csv format)
    Kindly help how can i achieve this in Qt3 version.
    Its very urgent, can any one plz help..


    Thanks!!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to convert data in QTableWidget into an Excel file (URGENT)

    Hh, make to nested for loops over the rows and columns and save the data to an xml file? Where is the problem?

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to convert data in QTableWidget into an Excel file (URGENT)

    If you can be sure Excel is present on the machine then you can also use:

Similar Threads

  1. Replies: 16
    Last Post: 28th April 2020, 14:40
  2. Replies: 0
    Last Post: 29th September 2011, 08:32
  3. Replies: 3
    Last Post: 1st February 2011, 11:57
  4. urgent!!!!!......sharing data
    By alphajoseph in forum Newbie
    Replies: 9
    Last Post: 16th September 2010, 11:42
  5. Excel data import
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 21st May 2010, 11:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.