11 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
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 42e0e3b70b Fix missed uses in the demo 2017-04-08 21:44:52 -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