Commit Graph
2206 Commits
Author SHA1 Message Date
Pål Hagen e4e7c0fa71 Removed obsolete source file 2015-08-17 14:35:30 +02:00
Pål Hagen 03fcd1ad9d Commented out command ids that are not implemented yet 2015-08-17 14:27:21 +02:00
Pål Hagen fc959c94ae (#366) Renamed command classes and files 2015-08-17 13:32:50 +02:00
Pål Hagen b5726e1051 Added comments for obsolete treeview slots (added to new project tree) 2015-08-17 11:45:37 +02:00
Jacob Støren b9343fd21e Made the menu builder in RimProject handle separators.
Also rigging for Script commands and generic toggle
2015-08-17 10:51:13 +02:00
Jacob Støren 48cef84069 Added some OBSOLETE comments 2015-08-17 10:01:39 +02:00
Jacob Støren bb2eda3e73 (#379)(#377) Moved store/restore of tree view state to new tree
Also refactored slotCreateCommandObject
2015-08-17 09:38:27 +02:00
Jacob Støren 2f49415d3f (#376) Made new treeview follow window selection 2015-08-16 10:06:10 +02:00
Jacob Støren 6d7bf0ae9e Made translation between PdmUiItem and QModelIndex available in PdmUiTreeView
After considering the different options, I concluded that it is important to
support the Qt way of doing things.
If the App programmer wants to do things the Qt way, it should be possible.
2015-08-16 09:57:57 +02:00
Jacob Støren 6ca74621ef (#378) Refactored Expansion in MainWindow,
Removed some use of the obsolete tree view model
2015-08-14 18:06:22 +02:00
Jacob Støren e805c893c6 (#378) Added an tree view expansion interface 2015-08-14 18:03:51 +02:00
Jacob Støren 6244cf98bf Fixed bug discovered by doing (#357) 2015-08-14 16:19:31 +02:00
Jacob Støren 5cd416ce6b (#357) Renamed PdmUiObjectHandle::owner() to objectHandle() 2015-08-14 16:15:49 +02:00
Jacob Storen f3810640ca Fixed Linux compile issues 2015-08-14 06:42:12 -07:00
Jacob Støren 15917d0044 Fix of update on Delete All Well Paths 2015-08-14 15:22:09 +02:00
Jacob Støren a8a1b61646 (#373) Fixed update after delete.
Removed the editors used to update after delete, and did all the updating from
the command directly.
Less code easier to follow, not as generic.
2015-08-14 15:20:50 +02:00
Jacob Støren fc146bb554 Fix of compiler warning 2015-08-14 15:17:30 +02:00
Jacob Støren d3b1af3724 firstAnchestorOrThisOfType : Initialize returnvalue to NULL 2015-08-14 15:17:03 +02:00
Jacob Støren f5d15c19e1 firstAnchestorOfType now considers the object itself as well.
It is thus renamed to firstAnchestorOrThisOfType
2015-08-14 14:04:47 +02:00
Jacob Støren 1719a10954 Fixed crash when deleting Geomech Range filters 2015-08-14 13:27:31 +02:00
Jacob Støren 85ea085c4e (#371) RiuViewerCommands: Used the new exec commands 2015-08-14 13:27:26 +02:00
Jacob Støren 930760eb47 Removed wrong usage of owner() 2015-08-14 13:27:21 +02:00
Jacob Støren d371da246f Renamed uiPdmModel() to uiPdmModel_OBSOLETE()
To make it easier to see what code is using the obsolete stuff.
2015-08-14 13:27:17 +02:00
Magne Sjaastad d0e1bedd8c Removed obsolete command features 2015-08-14 12:57:36 +02:00
Magne Sjaastad 6a28ea2070 Show only paste command if selection contains multiple objects 2015-08-14 12:08:56 +02:00
Magne Sjaastad 50ea7a0808 Removed header from tree view and added support for ExtendedSelection 2015-08-14 12:08:30 +02:00
Magne Sjaastad 15f3e793f8 Added paste of geo mech views feature 2015-08-14 10:50:08 +02:00
Magne Sjaastad d466624e45 Added command features for paste of Eclipse view and Eclipse case 2015-08-14 10:17:32 +02:00
Magne Sjaastad 9cae0e09ff Fixed copyOfTypedObjects 2015-08-14 10:17:32 +02:00
Magne Sjaastad a1ecc50605 Added CopyReferencesToClipboardFeature 2015-08-14 10:17:31 +02:00
Jacob Støren 69243076b2 Fixing wrong headers on new files 2015-08-14 09:45:57 +02:00
Jacob Støren 3e3b1a2480 (#369) Refix updating of propertyview on selection of none-object 2015-08-14 08:38:17 +02:00
Jacob Støren 0670403c1d Select to Application Global and not Current for SelectionManager 2015-08-14 08:35:57 +02:00
Jacob Støren 343e4dcc1c (#369) Started to use the new selection method in PdmUiTreeView 2015-08-13 23:47:04 +02:00
Jacob Støren 8052a1c672 (#369) Added selectAsCurrentItem to the PdmUiTreeView
Cleaned up the responsibilities between Editor, model and View
Now model exposes translation between QModelIndex and PdmUiItem
Selection inteface implementation is handled by editor, and forwarded to View
Also started renaming of SlectionManager update enabeling
2015-08-13 23:45:34 +02:00
Jacob Støren 235e024533 (#354) Called updateConnectedEditors everywhere updateUiSubTree is called 2015-08-13 21:28:09 +02:00
Jacob Støren 3d47e5795b (#368) Made current view change when changing the selection in the new tree view 2015-08-13 17:05:41 +02:00
Jacob Støren a1774d3b14 (#353) Removed the last MODTODO (except Eclipse View commands impl) 2015-08-13 15:43:17 +02:00
Jacob Storen 47819812bf Fix of Linux compile errors and warnings 2015-08-13 06:23:51 -07:00
Magne Sjaastad 7e3b8c87dd Fixed update of 3D view after delete of all wells 2015-08-13 15:13:09 +02:00
Magne Sjaastad 412c07ae33 Include well name in summary page 2015-08-13 15:09:43 +02:00
Magne Sjaastad 2162a67b4a Hide children of wells to avoid dispaly of wells when selecting oil fields 2015-08-13 14:51:21 +02:00
Magne Sjaastad fa622acb72 Renamed functions in effect generator and use cached effects instead of uncached 2015-08-13 14:35:30 +02:00
Magne Sjaastad b9b7d77fc6 Updates from RPM 2015-08-13 14:16:41 +02:00
Magne Sjaastad e12a5b62de Renamed to PdmObjectCollection 2015-08-13 13:06:57 +02:00
Magne Sjaastad 2b47793d68 Integrated fix for undo framework. Added virtual destructors. 2015-08-13 13:06:56 +02:00
Magne Sjaastad fdcee2dd42 Delete object before notifying editors 2015-08-13 13:06:56 +02:00
Magne Sjaastad 82903afa25 Do not assert when a field editor cannot be created 2015-08-13 13:06:55 +02:00
Jacob Støren 8ad3f9b8c3 Fixed missing parent = NULL, if parentField() is NULL 2015-08-13 11:47:04 +02:00
Jacob Støren 369797b3d8 Re-introduced firstAnchestorOfType 2015-08-13 11:38:32 +02:00