Commit Graph

18 Commits

Author SHA1 Message Date
Magne Sjaastad
41d5e498d7 Simplify PdmDocument class and move fileName to private
Remove resolveReferencesRecursively() and initAfterReadRecursively() from PdmDocument::readFile(). These functions will be called in RiaApplication::loadProject after the file paths modifications are done. This will ensure that file paths can be used in initAfterRead() functions.
2024-06-05 14:35:01 +02:00
Magne Sjaastad
4617bcc673
11402 Save copy of project file to a backup database when saving project file 2024-05-01 09:46:22 +02:00
Magne Sjaastad
bfda6519db
Cleanup includes
Use new tools in Visual Studio to help cleaning up includes and remove redundant includes.
2024-03-07 19:45:43 +01:00
Magne Sjaastad
e8f6d4819f Make sure file paths are resolved before initAfterRead() is called 2023-04-03 16:08:40 +02:00
Magne Sjaastad
bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Magne Sjaastad
1f91405c50 [Fwk] Propagate return value from QFile::open in writeFile() to caller 2015-11-20 10:49:23 +01:00
Magne Sjaastad
492bf96598 Moved Xml related functions from PdmDocument to XmlObjectHandle
Moved and renamed initAfterReadRecursively, setupBeforeSaveRecursively
and resolveReferencesRecursively to XmlObjectHandle. Updated unit tests.
Removed resolveReferences() from PdmPtrField.
2015-08-27 11:43:27 +02:00
Magne Sjaastad
90b6dd44ee Created infrastructure used to resolve references for ptrFields 2015-08-26 14:48:20 +02:00
Magne Sjaastad
005114cc3e Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments 2015-08-11 18:42:44 +02:00
Magne Sjaastad
92f0d64eaf PdmDocument inherits directly from PdmObject and not PdmObjectGroup 2015-08-01 23:04:04 +02:00
Magne Sjaastad
97c5091d71 Moved static members to public visibility temporarily 2015-07-31 18:48:54 +02:00
Magne Sjaastad
58149cbdb9 Copied in RPM/Fwk/AppFwk
Commented out use of stipple line, as VizFwk is not update yet
2015-07-29 14:19:43 +02:00
Jacob Storen
3bd9360911 Linux compile fix.
Needed to move the implementation of copyByType() out of the class definition.
2015-06-29 03:37:02 -07:00
Jacob Støren
948f4d5d58 Fwk: Added missing "setupBeforeSave" when copying.
This fixes #110 Copy view function resize/move grid in ResInsight
2015-06-29 10:48:25 +02:00
Jacob Støren
01cfed9ab7 Fixed crash after copy/paste of view and case 2014-08-28 13:37:56 +02:00
Magne Sjaastad
786f3bbd9c Fwk: Moved static functions to pdmDocument 2014-08-19 10:57:08 +02:00
Magne Sjaastad
659c90e3e9 Fwk: Created a separate update function for uiIconState 2014-08-19 10:38:35 +02:00
sigurdp
f64d9b7e64 Moved CAF to Fwk/AppFwk and moved/renamed VisualizationModules to Fwk/VizFwk 2013-09-20 16:01:20 +02:00