You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,13 @@
17
17
Library is based on Qt 5 and C++17. It uses Zlib and QuaZip projects.
18
18
19
19
# Building
20
-
Clone and use Cmake directly or via QtCreator. Cmake**should**:
20
+
Clone and use CMake directly or via Qt Creator. CMake**should**:
21
21
+ configure everything automatically,
22
22
+ compile library and create binaries.
23
23
24
-
**TIP**: remember to set properly `CMAKE_PREFIX_PATH` env variable. It should have Qt installation path to let Cmake command `find_package` command.
24
+
**TIP**: remember to set properly `CMAKE_PREFIX_PATH` env variable. It should have Qt installation path to let CMake command `find_package` command.
25
25
26
-
As a result of compilation dynamic lib should be created along with headers dir.
26
+
As a result of compilation, dynamic lib should be created along with headers dir.
27
27
28
28
Check my other project called Volbx to familiarize yourself how to use it via CMake.
29
29
@@ -35,13 +35,13 @@ Check my other project called Volbx to familiarize yourself how to use it via CM
35
35
| CMake | 3.25.0 | 3.25.0 |
36
36
| Git | 2.38.1 | 2.34.1 |
37
37
| Qt | 5.15.2 | 5.15.2 |
38
-
|QtCreator| 9.0.0 |9.0.0 |
38
+
|Qt Creator| 9.0.0 |9.0.0 |
39
39
| Zlib | 1.2.13 | 1.2.13 |
40
40
| QuaZip | 0.9 | 0.9 |
41
41
42
42
# Usage
43
-
Easiest way is to check examples subproject where you can find how to create and interact with each class included in this library.
44
-
Alternatively tests subproject can be checked. Usage also can be found in my other project called Volbx where classes from this library are used for exporting and importing data.
43
+
The easiest way is to check examples subproject, where you can find how to create and interact with each class included in this library.
44
+
Alternatively, tests subproject can be checked. Usage also can be found in my other project called Volbx where classes from this library are used for exporting and importing data.
Class for exporting data to DSV (Delimiter Separated Values) files. Delimiter is set in constructor and can be any char (comma, tab, semicolon, ...). CSV or TSV files can be created using this class.
99
99
Three additional method can be used to customize output:
100
-
+ `setDateFormat(Qt::DateFormat)` - for setting output date format to Qt defined one,
101
-
+ `setDateFormat(QString)` - for setting output date format to one given as string (for example "dd/MM/yy"),
102
-
+ `setNumbersLocale(QLocale)`- for setting locale used for output numbers in case different than default one is needed.
100
+
+ `setDateFormat(Qt::DateFormat)` - for setting output date format to a given one,
101
+
+ `setDateFormat(QString)` - for setting output date format to one given as string (for example, "dd/MM/yy"),
102
+
+ `setNumbersLocale(QLocale)`- for setting locale used for output numbers in case different from default one is needed.
103
103
104
104
Basic usage:
105
105
```cpp
@@ -119,4 +119,4 @@ QTableWidget tableWidget;
119
119
ExportXlsx exportXlsx;
120
120
exportXlsx.exportView(tableWidget, outFile);
121
121
```
122
-
Xlsx files are created using template file `template.xlsx` included into project via resource collection file `resources.qrc`.
122
+
XLSX files are created using template file `template.xlsx` included into project via resource collection file `resources.qrc`.
0 commit comments