Update documentation

This commit is contained in:
Debao Zhang
2013-11-05 13:57:26 +08:00
parent 9263894eed
commit e369d98275
14 changed files with 28 additions and 20 deletions
+10 -8
View File
@@ -1,20 +1,22 @@
/*!
\example hello
\title Xlsx Hello Example
\brief This is a simplest xlsx examples.
\title Hello QtXlsx Example
\brief This is a simplest Qt Xlsx example.
\ingroup qtxlsx-examples
This example demonstrates how to generate a
simplest .xlsx file with Qt Xlsx Library.
This example demonstrates how to create a new
.xlsx file containing some basic data and calculations
with Qt Xlsx Library. So lets see how this is achieved.
\image hello.png
Create an object of the class QXlsx::Document.
This creates a new instance of the all important Document
class which gives you access to the Excel workbook and worksheets.
\snippet hello/main.cpp 0
Set the cells of worksheet.
A default worksheet have been created by Document. Let's start
by adding some basic data.
\snippet hello/main.cpp 1
Save it.
Now save the file and all its components.
\snippet hello/main.cpp 2
*/