Commit Graph
255 Commits
Author SHA1 Message Date
Andy Maloney 94db98d596 Optionally monitor changes to files loaded with ReportEngine::loadFromFile()
When using the designer as a stand alone application and the renderer/preview in the
user application, the preview window would have to be closed and opened again every
time a change was made to the report.

This change adds an optional QFileSystemWatcher to monitor changes to the report file
and automatically refreshes the preview in the application when it is saved.

It may be turned on using the new parameter to ReportEngine::loadFromFile().

If the preview window is open in the application and the file name changes or the file is
removed, inform the user and close the preview window.
2017-04-19 22:43:48 -04:00
Andy Maloney e786a9a6e6 Fix spelling: slotPreviewWindowDestroed -> slotPreviewWindowDestroyed 2017-04-19 21:48:37 -04:00
fralx fae194b36f Merge pull request #72 from asmaloney/fix-crash
Fix crash when cutting an item using the context menu
2017-04-10 11:18:53 +03:00
fralx fa96013d82 Merge pull request #71 from asmaloney/missing-initialization
Add missing initializers
2017-04-10 11:18:26 +03:00
fralx a5231058ec Merge pull request #70 from asmaloney/fix-shadows
Fixes some shadowed vars & avoids string copies using const refs
2017-04-10 11:17:38 +03:00
fralx a09006125d Merge pull request #69 from asmaloney/fix-spelling
Corrects spelling of method name
2017-04-10 11:17:10 +03:00
fralx 6105051d27 Merge pull request #66 from asmaloney/fix-returning-deleted-data
Ensure we aren't returning data that has been deleted …
2017-04-10 11:15:56 +03:00
fralx 79e70adf00 Merge pull request #65 from asmaloney/fix-potential-nullptr-use
Fixes a few instances where nullptrs might be dereferenced
2017-04-10 11:14:06 +03:00
Andy Maloney 8ee7fc01e5 Fix crash when cutting an item using the context menu
page->cut() is deleting the object, which means that "this" is no longer valid, and then we're trying to call `processPopUpAction()` on it.
2017-04-09 11:43:26 -04:00
Andy Maloney aa5b4c6a66 Add missing initializers 2017-04-08 21:38:23 -04:00
Andy Maloney 6789b01e79 Fixes some shadowed vars & avoids string copies using const refs 2017-04-08 18:45:58 -04:00
Andy Maloney 64331fbaeb Corrects spelling of method name 2017-04-08 12:53:05 -04:00
Andy Maloney 942da982ca Ensure we aren't returning data that has been deleted by setting the pointer to NULL. 2017-04-08 09:42:08 -04:00
Andy Maloney 7ebc42c514 Fixes a few instances where nullptrs might be dereferenced 2017-04-08 09:35:09 -04:00
Andy Maloney 3ae754e3dd Fix a memory leak in PageDesignIntf::copy() 2017-04-08 09:31:02 -04:00
Andy Maloney 491f7b49d7 Fix "hidden overloaded virtual function" warning
I'm presuming that TearOffBand::isUnique() is supposed to override the base class's isUnique(), but it was missing a const...
2017-04-07 23:02:58 -04:00
Arin Alex 6dca8b27cb Fix #61 AutoHeight overlapping 2017-04-05 00:58:04 +03:00
Arin Alexander 97365e0f4d borderLineSize has been fixed 2017-03-09 14:00:02 +03:00
Arin Alexander d86c6f226b Group functions have been fixed 2017-03-07 19:09:13 +03:00
Arin Alexander 55364608c3 Nested groups has been fixed 2017-03-06 18:46:16 +03:00
Arin Alexander 322ded3659 Null pointer access has been fixed 2017-03-03 01:12:29 +03:00
Arin Alexander 9ab3cb5803 Fix subquery loading 2017-03-03 00:55:35 +03:00
Arin Alexander ef712cca5f Fixed the error occurred during loading a report if the report contains data sources with identical names to data sources added by application 2017-03-03 00:30:54 +03:00
Arin Alexander 84bb15802c msvc build fixed 2017-03-02 20:22:49 +03:00
Arin Alexander 915b335fb5 Qt 4.8 build fixed 2017-03-02 19:47:42 +03:00
Arin Alex 1d8178de0a New logo has been added 2017-03-01 01:32:19 +03:00
Arin Alexander ddc793f6e4 Merge branch '1.4'
# Conflicts:
#	limereport/items/lrtextitem.cpp
#	limereport/items/lrtextitem.h
#	limereport/lrdatasourcemanager.cpp
#	limereport/lrdatasourcemanager.h
2017-03-01 00:40:36 +03:00
Arin Alexander 6c9b408723 misprint has been fixed 2017-02-28 23:22:48 +03:00
Arin Alexander a2c93601d0 Items context menu has been added
Fields drag & drop init  band datasource if it empty
2017-02-24 07:13:56 +03:00
Arin Alex 117023e920 Script browser update has been fixed 2017-02-22 00:20:37 +03:00
Arin Alex 3975406487 Check connection has been fixed 2017-02-21 22:16:09 +03:00
Arin Alexander 28c8ae66e1 Esc close the preview window 2017-02-21 18:36:30 +03:00
Arin Alexander bf81d3f98c DataBrowser shows application connection 2017-02-18 17:22:04 +03:00
Arin Alexander ce3a905c55 Database connections have been refactored
keepDbCredentials property has been added to Connection
setPassPharse(QString& passPharse) method has been added to ReportEngine
IDbCredentialsProvider interface has been added
registerDbCredentialsProvider(IDbCredentialsProvider *provider) has been
added to IDataSourceManager
2017-02-16 04:24:34 +03:00
Arin Alexander fa985d7fb7 defaultConnection support has been added to LimeReport designer 2017-02-15 02:52:11 +03:00
Arin Alexander 8fb3fb5aba LimeReport will not delete external connections 2017-02-15 00:10:02 +03:00
Arin Alexander 8659818a30 Connection will be restored if server is gone away or drop limereport connection 2017-02-11 00:24:59 +03:00
Arin Alexander 034f254d5c Connection will be restored if server is gone away or drop limereport connection 2017-02-10 23:08:49 +03:00
Arin Alexander f7a3ff622b beforeRender, afterRender signals have been added to ReportPage 2017-02-04 22:15:56 +03:00
Arin Alexander 7af7a16840 fix #59 setResultEditable(bool value) has been added 2017-02-03 14:20:30 +03:00
Arin Alexander 21b3f0e912 fix #58 PDF file extension 2017-02-03 14:18:28 +03:00
Arin Alexander f409f54e8f Arabic translation has been added 2017-02-01 23:56:12 +03:00
Arin Alexander afc8ad77b2 Group functions have been refactored. From now they can use script expression in value parameter 2017-01-28 03:49:26 +03:00
Arin Alexander 887710d728 ImageItem design time label has been fixed 2017-01-23 12:11:48 +03:00
Arin Alexander f927f3a83c followTo has been fixed 2017-01-23 11:53:07 +03:00
Arin Alexander 0261a11b30 textLayoutDirection property has been added to TextItem 2017-01-20 23:26:18 +03:00
Arin Alexander e327c64fed textIndent property has been added to TextItem 2017-01-20 23:07:54 +03:00
Arin Alexander 6e895e9423 "Datasource not found" suppressed for empty data source at subdetail band 2017-01-09 18:30:20 +03:00
Arin Alexander 2af7c5c7dd Fix: #57 Callback DataSource initialized before signals/slots are connected 2017-01-05 14:46:06 +03:00
Arin Alexander f613400839 Fix: #57 Callback DataSource initialized before signals/slots are connected 2017-01-05 14:39:20 +03:00