Commit Graph

343 Commits

Author SHA1 Message Date
Magne Sjaastad
d1cc482355 Use same collection type for source cases and statistics cases in RimIdenticalGridCaseGroup
p4#: 21053
2013-03-22 11:47:46 +01:00
Magne Sjaastad
d85b0d4619 More checking on null pointers
p4#: 21052
2013-03-22 11:46:54 +01:00
Magne Sjaastad
4101c3cd85 Removed obsolete file
p4#: 21048
2013-03-22 10:10:34 +01:00
Magne Sjaastad
6c8d5ff631 Rename of statistics related classes and method names
p4#: 21047
2013-03-22 10:03:51 +01:00
Magne Sjaastad
3cd92973af Missed one file in previous rename
p4#: 21046
2013-03-22 09:44:41 +01:00
Magne Sjaastad
21065176f2 Rename of functions in RigActiveCellInfo
p4#: 21045
2013-03-22 09:32:42 +01:00
Magne Sjaastad
0bb4d5ddc3 Set selected results to None and rebuild display geometry
p4#: 21043
2013-03-22 09:16:50 +01:00
Jacob Støren
326cd79754 Result Storage: Finally things have come together, and seems to behave.
Refactored the loadProject system to make loading of statistical cases work as they should.
Got the update of references regarding grid and unionActive cells work
Introduced a bool to keep track of what cell results to store.
Introduced a clear method in ActiveCellInfo.
Renamed a bit
p4#: 21036
2013-03-21 15:31:47 +01:00
Magne Sjaastad
d0d96ba145 Fixed layout
p4#: 21031
2013-03-21 14:03:37 +01:00
Magne Sjaastad
7548e9c1bb Do not add same case more than once in a grid case group
p4#: 21030
2013-03-21 13:56:50 +01:00
Magne Sjaastad
b0503cabba Added drag and drop support.
Implemented our own insertRows/deleteRows to avoid bug caused by default drag and drop behaviour of Qt

https://bugreports.qt-project.org/browse/QTBUG-26229
https://bugreports.qt-project.org/browse/QTBUG-6679
p4#: 21028
2013-03-21 13:41:44 +01:00
Magne Sjaastad
1e8d5236d1 Disable paste if no available clipboard data
p4#: 21025
2013-03-21 11:04:47 +01:00
Magne Sjaastad
359964092d Added new grid case group on case context menu
p4#: 21024
2013-03-21 10:48:46 +01:00
Magne Sjaastad
a5fb1e1764 One shared active cell info for all statistical cases
Invalidate existing statisticsCases when adding/removing source cases
Moved computation of active cell union from RigStatistics to RimIdenticalGridCaseGroup
Recompute active cell union when opening project file
p4#: 21023
2013-03-21 10:31:58 +01:00
Jacob Støren
92bd95d683 Added explicit load of data for StatisticsCases.
Still trouble but this removed one obstacle
p4#: 21014
2013-03-20 16:35:36 +01:00
Magne Sjaastad
53d7d62759 Made adding of objects more robust
p4#: 21009
2013-03-20 15:11:27 +01:00
Magne Sjaastad
1a113b83d3 As QModelIndex is stored on clipboard, clear after move/delete operations
Added support for multiple delete of reservoir cases
p4#: 21007
2013-03-20 15:04:28 +01:00
Jacob Støren
ad8cbfa651 Caf::Pdm: Added better Error messages and Recovery when encountering unknown field names and class types
p4#: 21001
2013-03-20 13:56:17 +01:00
Magne Sjaastad
d5b056b078 Load and update views after copy
p4#: 21000
2013-03-20 13:49:32 +01:00
Magne Sjaastad
ddade8a6cf Removed duplicate calls setupBeforeSave and initAfterRead
p4#: 20998
2013-03-20 13:40:26 +01:00
Magne Sjaastad
06a2f7e17f Added general function used to remove(and delete) pdmObject from pdmPointersField
Used when closing a grid group
p4#: 20992
2013-03-20 12:08:40 +01:00
Magne Sjaastad
9abe7a3b13 Improved handling when deleting all cases and adding new case to case group
p4#: 20990
2013-03-20 11:35:27 +01:00
Magne Sjaastad
22aee27333 Improved paste of pdm objects
p4#: 20980
2013-03-20 07:42:26 +01:00
Magne Sjaastad
45ce4097e1 Use buildViewItems instead of rebuildUiSubTree
p4#: 20979
2013-03-20 07:14:27 +01:00
Magne Sjaastad
c9b4376d8c Use -1 as argument when adding children, as they always must be appended to collection
p4#: 20978
2013-03-20 07:04:34 +01:00
Magne Sjaastad
50206b9dc4 Various linux fixes and missing includes
p4#: 20976
2013-03-20 06:11:45 +01:00
Magne Sjaastad
27dee4d4e2 Added paste on gridcollection, case collection and cases
Moved creation of objects into rimUiTreeModelPdm
p4#: 20968
2013-03-19 12:47:38 +01:00
Magne Sjaastad
4368a644bf No need to clear before exit as object no longer are deleted in destructor
p4#: 20966
2013-03-19 11:32:30 +01:00
Magne Sjaastad
19e2adc1bf Do not delete objects in destructor
p4#: 20965
2013-03-19 11:27:27 +01:00
Magne Sjaastad
414172cf78 Insert new case group before script item
p4#: 20964
2013-03-19 11:14:32 +01:00
Jacob Støren
75fc89e67a Rename of ...ResultsCacher to ...ResultsStorage. Hide Cacher from UI tree
p4#: 20963
2013-03-19 10:29:34 +01:00
Magne Sjaastad
051710b82f Prototype of copy/paste of reservoir case
p4#: 20962
2013-03-19 09:55:17 +01:00
Jacob Støren
5860cb2e49 Results Storage: Removed obsolete field. Stored the filename.
p4#: 20959
2013-03-19 09:48:30 +01:00
Jacob Støren
516c642cc4 Results Storage: Refined the output format. Think it is ok now
p4#: 20956
2013-03-19 09:08:37 +01:00
Magne Sjaastad
f0fa445f7a Set main grid on eclipse case and cell results
p4#: 20955
2013-03-19 08:28:25 +01:00
Magne Sjaastad
a411a8ae59 Removed obsolete code from interface
Use time steps from source case with largest time step count
p4#: 20954
2013-03-19 08:21:55 +01:00
Magne Sjaastad
da3486f881 Use size_t instead of int
p4#: 20953
2013-03-19 08:15:27 +01:00
Magne Sjaastad
5db5c14230 Added possibility to read out scalar result index having most time steps
p4#: 20952
2013-03-19 08:14:35 +01:00
Jacob Støren
9da6b0a10b Results Storage: Fixed the Previous build error by moving the RigStatistics class.
Cleaned up a bit in the ApplicationCode/CMakeList.txt
p4#: 20946
2013-03-18 14:51:31 +01:00
Jacob Støren
f7248f3999 Results Storage: A huge refactorisation to make way for storing generated properties to an internal file.
This does not yet compile due to a unfortunate mix of perforce, cmake setup and unit_test project shortcomings.
Need to move RigStatistics into ProjectDataModel and rename it before this is running again.
p4#: 20945
2013-03-18 14:34:29 +01:00
Magne Sjaastad
62e4cac4b0 Added inherited object of MimeData to carry model index list
p4#: 20926
2013-03-18 11:40:39 +01:00
Magne Sjaastad
e92ed43fc3 Added context menu for adding new case group
p4#: 20905
2013-03-14 09:50:40 +01:00
Magne Sjaastad
469c5a9657 Added initAfterRead for case group
p4#: 20904
2013-03-14 09:28:49 +01:00
Magne Sjaastad
99159cb12d Fixed missing initialization
p4#: 20903
2013-03-14 08:47:42 +01:00
Magne Sjaastad
422c4ca54b Use raw pointer instead of smart pointer
p4#: 20892
2013-03-13 14:58:36 +01:00
Magne Sjaastad
160456106a Use raw pointers instead of ref count
Added more asserts and cleanup
p4#: 20891
2013-03-13 14:43:27 +01:00
Magne Sjaastad
d33a27a082 Fixed ref counts
p4#: 20890
2013-03-13 14:41:54 +01:00
Magne Sjaastad
973eb5c8f7 Use concept of parentObjectsOfType to avoid dynamic cast in application code.
p4#: 20887
2013-03-13 13:51:26 +01:00
Jacob Støren
3c446c4018 Removed out-commented code from the ActiveCellInfo refactoring
p4#: 20886
2013-03-13 13:42:27 +01:00
Jacob Støren
ec889920d5 Removed out-commented code from the ActiveCellInfo refactoring
p4#: 20886
2013-03-13 13:41:35 +01:00