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. Excel to QT (importing to QT)

Excel to QT (importing to QT)

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 5.0k 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.
  • C Offline
    C Offline
    cacahuatita
    wrote on last edited by
    #1

    First of all, I'm not developing content really but the company I work for uses a QT based software. I work as a translator for them and I'm having a bit of a problem here.

    They sent me an excel file (.CSV format) to work on...because there were many things to correct on previous translations, I'm translating from English to Spanish so special characters are a must. I converted the file to an XLSX so that I could use some filters and colors. Now they are telling me that I need to upload every change I make manually...and doing that would take an eternity.

    I thought, and understood form emails and I guess just assumed, that as they could send the

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      This "link":http://qt-project.org/wiki/Handling_Microsoft_Excel_file_format will help you how to deal with excel files.

      Concerning .CSV files, I have implemented a reader/parser months ago and you can find it in "QtSimplify":http://qtsimplify.blogspot.com/2013/02/dealing-with-csv-files-easy-way.html . Dealing with CSV files is a bit difficult with QString::split() or QRegExp as they violate the rules in CSV parsing so I created a different approach. I think it will maintain special characters since it was based in QTextStream and QChar, just modify it.

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      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