Jacob Støren
c4aed9c487
( #166 ) Geomech cross sections in place. Refactor of frame/scene/model usage on top level.
2015-11-23 11:25:47 +01:00
Jacob Støren
4d0c1d17b4
cafViewer: Add static model(s) to mainScene as well.
2015-11-23 11:21:58 +01:00
Magne Sjaastad
9a25a71cde
Fwk : Added support for more characters in axis labels
...
Moved drawing of axis cross slightly closer to left edge of available
viewport
2015-11-23 09:56:48 +01: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
13c5dbfbd2
[Fwk] Do not show children if object hides children
2015-11-18 15:55:23 +01:00
Jacob Storen
7d60b8e90d
Fix Linux warning
2015-11-18 06:33:54 -08:00
Magne Sjaastad
08c04f5052
( #656 ) Added text effect to effect generator
2015-11-17 16:26:07 +01:00
Magne Sjaastad
98bdb6ea6e
( #266 ) Move far clipping plane further away
2015-11-17 13:19:32 +01:00
Magne Sjaastad
c6454300d8
( #266 ) Added static model interface
2015-11-17 13:19:15 +01:00
Magne Sjaastad
6e56ee28c2
( #266 ) Functions to be called from a constructor cannot be virtual
...
Improved immediate mode to be applied on all renderings
2015-11-17 13:18:30 +01:00
Magne Sjaastad
121ee80295
( #266 ) Cleaned up access to boundingBox
2015-11-17 13:18:27 +01:00
Magne Sjaastad
963220dd37
( #632 ) Added support for creation of mesh part from a single cell
2015-11-09 19:05:31 +01:00
Magne Sjaastad
9eb5c73842
Fwk: Emit data changed for all model indices recursively when executing updateSubTree()
2015-11-02 09:50:44 +01:00
Magne Sjaastad
572601c3db
Do not allow changing checked state if an item is read only
2015-11-02 09:50:43 +01:00
Magne Sjaastad
58693f49dc
Removed obsolete tree model
2015-10-26 11:25:17 +01:00
Magne Sjaastad
fb55b469a0
System : Replaced tab with four spaces in AppFwk
2015-10-23 15:21:45 +02:00
Magne Sjaastad
e063518460
System : Performance improvements for TableViewModel
2015-10-23 11:25:59 +02:00
Magne Sjaastad
c4f3870cc9
System : Header cleanup
2015-10-23 11:22:36 +02:00
Magne Sjaastad
5a1e244b2a
System : Renamed classes and function names relaed to drag and drop
2015-10-23 11:03:23 +02:00
Magne Sjaastad
d2b5d7ae92
System : Added iterators and at() to ChildArrayField
2015-10-23 09:45:32 +02:00
Magne Sjaastad
e378d5637e
System : Added support for disable of lighting for surface effect generator
2015-10-23 09:34:47 +02:00
Magne Sjaastad
0383c35be6
System : Improved performance when converting from enum value to ui text
2015-10-23 09:19:17 +02:00
Magne Sjaastad
5b99439ed8
( #573 ) Added new copy method for PdmObjects
...
Added copy method to XmlObjectHandle, and use this method from
PasteEclipseCases
2015-10-23 09:00:17 +02:00
Pål Hagen
1b83bfb7f0
( #467 ) Handling drag move events to get the proposed drop action
...
The tree view model's drag & drop handle is notified about the proposed
action in drag move events.
2015-10-22 14:42:05 +02:00
Pål Hagen
f4bbbcb7a2
( #467 ) Using subclassed treeview to notify the model about drag end
...
Using new class PdmUiTreeViewWidget instead of QTreeView in
PdmUiTreeViewEditor. PdmUiTreeViewWidget handles drag leave events and
calls endDrag() on the model.
2015-10-21 17:20:12 +02:00
Magne Sjaastad
bcb4919f3d
Rename and more comments
2015-10-16 10:08:25 +02:00
Magne Sjaastad
91b100b8cc
( #566 ) Make sure layoutChanged signal is emitted only for existing item changes
...
If layoutChanged is emitted for new inserted items also, the items below
inserted item is collapsed and the expanded state of the tree is changed
2015-10-16 09:20:40 +02:00
Magne Sjaastad
aeeb445dae
Delete items from existing tree before building the map from pdmUiTreeOrdering to index
2015-10-15 19:19:47 +02:00
Magne Sjaastad
5f92e87070
Fixed issue causing a pdmUiTreeOrdering item having wrong (and deleted) parent
2015-10-15 09:22:49 +02:00
Jacob Storen
10046eed4a
Linux fixes
2015-10-14 07:13:45 -07:00
Magne Sjaastad
8698291e7d
( #566 ) Major rewrite of how to build and update PdmUiTreeOrdering items
...
Removed findChildItemIndex() which caused performance issues for large
models. Replaced with a new algorithm using std::map. Added unit tests
2015-10-14 13:32:35 +02:00
Magne Sjaastad
bcc5d636f8
( #566 ) Performance: Use set to detect if an object already has been inserted in UiTreeOrdering
2015-10-14 13:23:54 +02:00
Magne Sjaastad
8e03c38901
Return root if reference is empty
2015-10-06 16:12:17 +02:00
Magne Sjaastad
edc6e427ec
[System] Revert test code
2015-10-06 15:26:22 +02:00
Magne Sjaastad
bbc6fb1511
Minor refactor of ReferenceHelper
...
Removed some asserts
Added more unit tests
2015-10-06 15:03:55 +02:00
Jacob Støren
49ab79219e
Fixed crashes regarding general handling of NULL pointers in Child Arrays
2015-09-25 15:24:21 +02:00
Jacob Støren
644a4529d3
Experimental: Avoid QProcessEvent during progress dialog.
...
By having a non modal progress dialog and calling repaint directly.
2015-09-21 18:54:35 +02:00
Magne Sjaastad
53f1765fd7
Fixed wrong index guarding
2015-09-18 19:39:17 +02:00
Magne Sjaastad
a4b57a11a4
Added display of class names to preferences
...
Use flag in pdmUiTreeViewEditor to control display of class names
2015-09-18 19:24:02 +02:00
Magne Sjaastad
dcf9ac9b50
Check if index is valid when resolving child objects
2015-09-18 18:49:53 +02:00
Magne Sjaastad
6be5be4746
Added macro for pure virtual classes
2015-09-18 13:46:17 +02:00
Magne Sjaastad
cc59cb84af
Show class name as debug info in project tree
2015-09-18 08:04:13 +02:00
Magne Sjaastad
2807a8d2f8
Added support for icons in combo box editor
2015-09-07 13:51:49 +02:00
Magne Sjaastad
89fa5ecef7
Added possibility to setCurrentFrame without emitting a signal
2015-09-04 11:40:44 +02:00
Magne Sjaastad
1f2a5a8c08
( #395 ) Fixed missing calls to navigationPolicyUpdate
2015-09-03 13:06:10 +02:00
Magne Sjaastad
4730e10319
Created navigationPolicyUpdate to be used from navigation policies
2015-09-01 18:04:35 +02:00
Jacob Støren
8b5ea1aeb3
Excluded user input events from progressbar process events.
...
They are not needed, and might cause problems.
2015-09-01 17:19:01 +02:00
Magne Sjaastad
33d5b9b63b
Early exit if no frames are present
2015-09-01 11:31:32 +02:00
Magne Sjaastad
3086ab10bc
( #395 ) Fixed bug in viewer
2015-09-01 11:31:32 +02:00
Magne Sjaastad
854c47500b
Clamp frameindex instead of doing nothing
2015-09-01 11:31:31 +02:00
Magne Sjaastad
e5d5543cd9
Ovveride update() and find all linked views to be updated
2015-08-28 21:32:51 +02:00
Magne Sjaastad
dc7735a67d
Fixed missing code changes related to previous commit
2015-08-27 11:56:52 +02: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
4f5f50fb4f
Fixed up unit tests
2015-08-27 11:00:49 +02:00
Magne Sjaastad
792793b6ed
Generalized update
2015-08-26 14:52:35 +02:00
Magne Sjaastad
90b6dd44ee
Created infrastructure used to resolve references for ptrFields
2015-08-26 14:48:20 +02:00
Magne Sjaastad
08f570f4ed
Minor test application mainwindow changes after AppFwk updates
2015-08-24 18:22:16 +02:00
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