memo.text = root["field1"]memo.text = root."field1"memo.text = root.field1
memo.text = root.value("field1")
memo.text = root."field1"memo.text = root.field1memo.text =root.value("field1")
m_reportCore->print(reportUrl);
m_reportCore->print(ReportInterface* report);
DatasetInterface * myDataset = reportCore->createDatasetObject(myReport, "Model");myDataset->setProperty(propertyName, value);myReport->addDataset(myDataset);m_reportCore->print(myReport);
CuteReport::ReportPreview *reportPreview = new CuteReport::ReportPreview(); ((CuteReport::ReportPreview*)reportPreview)->setReportCore(m_coreReport); ((CuteReport::ReportPreview*)reportPreview)->connectReport(m_reportObject); ((CuteReport::ReportPreview*)reportPreview)->setMinimumWidth(1200); ((CuteReport::ReportPreview*)reportPreview)->run(); ((CuteReport::ReportPreview*)reportPreview)->showFullScreen(); QEventLoop waitLoop; QTimer::singleShot(2000, &waitLoop, SLOT(quit())); waitLoop.exec(); ((CuteReport::ReportPreview*)reportPreview)->slotFitWidth(); m_coreReport->print(m_reportObject); ((CuteReport::ReportPreview*)reportPreview)->close();
CuteReport::ReportPreview *reportPreview = new CuteReport::ReportPreview(); ((CuteReport::ReportPreview*)reportPreview)->setReportCore(m_coreReport);...