Jacob Støren
f174615098
Replaced use of capability template with convenience
2015-08-20 15:24:49 +02:00
Jacob Støren
0ac86aeff3
Fwk: Added convenience methods to access the ui/xml capabilities in objects
2015-08-20 15:22:43 +02:00
Jacob Støren
0fda6ef6fb
( #370 ) Bugfixes regarding using several project trees
...
SelectionManager is now updated whenever focus enters the treeview.
The main project tree now has turned on SelectionManager updates
2015-08-20 14:49:18 +02:00
Jacob Støren
04368bd8a3
( #349 ) Removed updateConnectedUIEditors
2015-08-20 10:43:55 +02:00
Jacob Støren
f0ee19d8f7
Some renaming and comments
2015-08-20 09:58:27 +02:00
Jacob Støren
f7ef9c575e
Added missing headers to CMake files
2015-08-20 09:57:38 +02:00
Jacob Støren
f8dce724f6
( #370 ) Wip: NewProjectTreeAndPropertyView command works.
...
Missing context menu
2015-08-20 08:03:38 +02:00
Jacob Støren
302f46b61b
( #372 ) First step in Reimplemented drag and drop support
2015-08-18 11:23:53 +02:00
Jacob Støren
4606a3de8b
Fwl: Always update action look when retreiving it.
2015-08-18 10:52:13 +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
e805c893c6
( #378 ) Added an tree view expansion interface
2015-08-14 18:03:51 +02:00
Jacob Støren
5cd416ce6b
( #357 ) Renamed PdmUiObjectHandle::owner() to objectHandle()
2015-08-14 16:15:49 +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
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
0670403c1d
Select to Application Global and not Current for SelectionManager
2015-08-14 08:35:57 +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
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
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
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
f8518037fe
cafPdm: Re-Added PdmObjectHandle::firstAncestorOfType()
2015-08-13 11:38:29 +02:00
Magne Sjaastad
fd5bd534f6
Added dummy static class to fix issue with single macro in cpp
...
The implementation of this dummy class is put in the file with the
single macro defining the UI editor. This will cause the cpp file to
always be compiled.
2015-08-12 21:51:02 +02:00
Magne Sjaastad
c2fe5f3a16
Added PdmGuardedObjects and use this container from UiListView
2015-08-12 18:27:59 +02:00
Magne Sjaastad
711cc16da1
Added firstAncestorOfType
2015-08-12 11:10:20 +02:00
Magne Sjaastad
005114cc3e
Fixed several todo for RimEclipseStatisticsCaseCollection::parentCaseGroup(), removed comments
2015-08-11 18:42:44 +02:00
Magne Sjaastad
c7fca88bdc
Allow invalid PdmUiTreeOrdering objects, and display message in Debug
2015-08-11 11:15:30 +02:00
Magne Sjaastad
e3bfca8174
Revert "Improved default parsing of visible items to establish root items in the tree view"
...
This reverts commit 550eccc521
.
2015-08-10 21:44:50 +02:00
Pål Hagen
319d9a1aa7
Added new method index()
2015-08-10 16:57:16 +02:00
Magne Sjaastad
550eccc521
Improved default parsing of visible items to establish root items in the tree view
2015-08-09 10:56:52 +02:00
Magne Sjaastad
28aee8ef0d
Reintroduced asserts
2015-08-07 12:41:03 +02:00
Magne Sjaastad
abbe591d7b
Added virtual destructor to execute command base class
2015-08-07 09:00:56 +02:00
Magne Sjaastad
ac45fb111b
Added missing childObjects() for PtrField and fixed legend tree view visibility for PtrFields
2015-08-06 08:08:15 +02:00
Magne Sjaastad
57e363896f
Replaced uiField() and xmlField() with uiCapability() and xmlCapability()
2015-08-05 12:34:07 +02:00
Magne Sjaastad
c09143e706
Intermediate fixes to avoid noise from asserts
2015-08-04 15:57:37 +02:00
Magne Sjaastad
392876dcaa
Intermediate fix for fields with multiple parents. Asserts must be reintroduced later.
2015-08-04 14:32:18 +02:00
Magne Sjaastad
7039deed44
Added helper class for read/write to QSettings
2015-08-04 11:46:46 +02:00
Magne Sjaastad
62308340ee
Improved comments
2015-08-04 09:26:58 +02:00
Magne Sjaastad
0113d2bd24
Removed obsolete file
2015-08-04 08:42:15 +02:00
Magne Sjaastad
31b3e506e9
Changed container from PdmChildArrayField to std::vector
2015-08-01 23:16:01 +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
93654de7d7
Added missing include
2015-07-31 18:48:13 +02:00