QXlsx icon indicating copy to clipboard operation
QXlsx copied to clipboard

[K] Question aboutQXlsx : Docs, or how to autofit column

Open j2doll opened this issue 6 years ago • 0 comments

Hello Jay Two,

My name is K. [remove personal Info] I am redoing a Visual C++ big project in Qt, and I had to find a way to process data in Excel (read ans write).

I have found a link of QXsls on the QT Web pages, I have downloaded your examples, and I find that this is an excellent way to answer my need.

I would like to understand the code a little bit more in depth, is there any documentation for me to dig into it?

Currently, I am wondering if there is a way to emulate an autofit for a column (double click on the column separator, and the column size will auto fit to the largest item in the column). I have looked into the Format and only found a ShrinkToFit. Is it available somewhere, or shall i need to code it myself? In the latter case, what would be the easiest way to have the size of the content of a Cell?

I thank you by advance if you find the time to answer me.

I also thank you for the very good work that you did, and that will allow me to fix my need anyway.

from K. [remove personal Info]

j2doll avatar Sep 27 '19 00:09 j2doll