From 9720c7bc4f2e7b78c8a0834ac577dda01f4dad45 Mon Sep 17 00:00:00 2001 From: Sergey Popovichev Date: Wed, 17 Feb 2016 10:07:26 +0300 Subject: [PATCH] readme.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f43b9f4..a48c426 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ -# LimeReport \ No newline at end of file +# LimeReport + +##How to use it +* Build limereport.pro. It will create a limereport shared library +* In your project connect the limereport library then in source code add: + +```C + #include "lrreportengine.h" to add report engine + #include "lrcallbackdatasourceintf.h" if you want use callback datasources + + report = new LimeReport::ReportEngine(this); to create reportengine + report->dataManager()->addModel("string_list",stringListModel,true); to add datasource to report engine + report->loadFromFile("File name"); to load report template file + report->previewReport(); to generate report and preview + report->printReport(); to print report + +``` +For more samples see a demo\r1 \ No newline at end of file