Ismailtaktak / freemedforms

Automatically exported from code.google.com/p/freemedforms
Other
0 stars 0 forks source link

FormIODescription, XmlIO: read screenshot only when requiered, add 'extrafiles' management (PDF, HTML, QML...) #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Actually XmlIO plugin populated the FormIoDescription pointer in 
(Form::FormIODescription *XmlFormContentReader::readFileInformation(const 
QString &formUidOrFullAbsPath, const Form::FormIOQuery &query)) with 
screenshots.

-> So:
1) remove this
2) populate with screenshot filenames ONLY (instead of QPixmap)
3) to get the screenshot pixmap use Form::IFormIO::screenShot(), also code 
Form::IFormIO::screenshots()

Original issue reported on code.google.com by eric.mae...@gmail.com on 30 Dec 2012 at 9:31

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 338da9bfcc13.

Update the XmlIO::getScreenshots() && the database related member.

Original comment by eric.mae...@gmail.com on 30 Dec 2012 at 1:55

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9c434a403d3c.

Original comment by eric.mae...@gmail.com on 30 Dec 2012 at 1:55