Commit Graph

338 Commits

Author SHA1 Message Date
Magne Sjaastad
2f6bd07ff0 (#641) Added support for copy / paste of points 2015-12-01 15:25:55 +01:00
Magne Sjaastad
19d156e8ff [Fwk] Fixed missing rename in test app 2015-12-01 15:25:54 +01:00
Magne Sjaastad
709d993cc6 (#641) Use color in QListView to indicate input point mode 2015-12-01 12:34:31 +01:00
Magne Sjaastad
bf5de93113 [Fwk] Improved static initializer naming 2015-11-27 10:38:23 +01:00
Magne Sjaastad
563aa95abf [Fwk] Static initializer must be placed at file global scope in order to always call the constructor in the cpp file 2015-11-27 10:38:22 +01:00
Magne Sjaastad
eb4fefce7c Removed obsolete file 2015-11-26 18:42:07 +01:00
Magne Sjaastad
147580e342 Linux fix 2015-11-26 05:54:43 -08:00
Magne Sjaastad
8e85c4e8fb [Fwk] Created test project for Cvf specialization 2015-11-26 14:22:53 +01:00
Magne Sjaastad
5093b559d2 [Fwk] Set default editor for std::vector of Vec3d 2015-11-26 14:22:52 +01:00
Magne Sjaastad
3a3d28003b [Fwk] Use PdmValueFieldSpecialization instead of QVariant constructor 2015-11-26 14:22:52 +01:00
Magne Sjaastad
3e9e5779ab [Fwk] Updated headers and added unit tests, fixed minor issues related to text stream operator overload 2015-11-26 14:22:51 +01:00
Magne Sjaastad
1bdb68e3d7 [Fwk] Moved ProjectDataModel unit test 2015-11-26 14:22:50 +01:00
Magne Sjaastad
6cecdf7fc3 [Fwk] Added new top level cmakefile for both AppFwk and VizFwk 2015-11-26 14:22:50 +01:00
Magne Sjaastad
941d117fbf [Fwk] Updated Cvf test application 2015-11-26 14:22:49 +01:00
Magne Sjaastad
469ffdf920 Fwk : Fixed typo 2015-11-23 13:31:28 +01:00
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
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