Commit Graph

1029 Commits

Author SHA1 Message Date
Magne Sjaastad
f216bf8d6a
Python doc improvements (#5669)
* Add tests to xml data type inspection
* Add baseline for testing of PdmScripting
* #5631 Generate doc for Python
2020-03-12 07:45:52 +01:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01:00
Gaute Lindkvist
6e2d87b05f Python: Fix child field retrieval 2020-03-05 13:05:04 +01:00
Gaute Lindkvist
b77c057e7d Python fixup after code review 2020-03-05 11:09:07 +01:00
Gaute Lindkvist
bd8e079e24 #5632 Generate PdmChildField and PdmChildArrayField methods 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2424d79c5d Move some more scriptability to caf 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
17ea69397a Move RicfMessages to CAF and simplify RicfFieldCapability 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
508d8806e6 Rename PdmXmlFieldHandle::childClassKeyword to dataTypeName to reflect that it will contain names for built in types 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
76019e7776 Get rid of Python class_keyword attribute and fix parameter sending for WBS 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
554f9a1758 Translate data types to Python data types for Python generation 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
b2f55a3101 Make scriptability a CAF-feature 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2cea7c0321 Implement proxy field python methods 2020-03-05 08:40:46 +01:00
Magne Sjaastad
8c485ab81c Fix several warnings and potentially uninitialized data 2020-03-03 20:22:03 +01:00
Gaute Lindkvist
1353835bd8 CAF: Move keyword aliases from PdmXmlFieldHandle to PdmFieldHandle 2020-02-25 16:04:53 +01:00
Gaute Lindkvist
d95f3a349d Move to use a static registry of scriptable classes 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
c63c7f2eac CAF: Support class keyword aliases and a scriptable feature
* Also store class keyword in fields so they can be assigned to the correct Python object
  even if the class itself is abstract.
2020-02-25 13:57:51 +01:00
Gaute Lindkvist
83a7ceb204 CAF: expose inheritance stack and make sure we can alias class keywords 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
82cf721ae8 CAF: support aliases for keywords in case of renaming 2020-02-25 13:57:51 +01:00
Magne Sjaastad
2b45a9af7f #5553 AppFwk : Add root in PtrField reference string 2020-02-17 09:11:23 +01:00
Magne Sjaastad
c31e4cbaaf #5505 Progress Bar : Control visibility of progress bar in Preferences 2020-02-11 11:43:31 +01:00
Gaute Lindkvist
5fb89f535b CAF: Add support for validators in PdmUiDoubleValueEditor 2020-02-07 08:36:37 +01:00
Kristian Bendiksen
17d0bcb49c #4669 Compute stress gradient. 2020-02-05 09:55:43 +01:00
Gaute Lindkvist
0d67a179ef #5385 Make QShortenedLabel slightly longer 2020-02-03 10:03:34 +01:00
Jacob Støren
c9dbad78de #5429 pre-allocate some more room for triangles after moving to Tet based MC 2020-01-31 15:01:53 +01:00
Jacob Støren
63771dc7ee #5429 Add tolerance in HexInterpolator to quit iterating earlier
Making less jacobi and inverse calls
2020-01-31 15:01:53 +01:00
Jacob Støren
2bca842e1b Fix missing includes 2020-01-30 13:36:00 +01:00
Jacob Støren
35a8a96b97 Increase polygon offset for surfaces to cope with GeoMech models 2020-01-30 12:04:26 +01:00
Jacob Støren
ddb5d0fd30 #5437 Use marching tets instead of marching cubes,
to make the cell border edges consistent
2020-01-30 12:03:35 +01:00
Jacob Støren
f5b59a6bd9 #5429 Improve clipPlanarTrianglesWithInPlaneTriangle performance 2020-01-29 15:45:35 +01:00
Gaute Lindkvist
e4ffa5d7b9 #5388 Add a CAF-feature to get the ancestor of a type (but not this) 2020-01-27 13:50:15 +01:00
Magne Sjaastad
4e3a894464 #5370 Unity Build : Add config for AppFwk 2020-01-23 13:37:29 +01:00
Gaute Lindkvist
954bf1e02e Support setting of child fields from Python and pass in WbsParameters if provided
Also fixes #5354
2020-01-22 09:28:46 +01:00
Magne Sjaastad
170e0ad173 #5273 Struct Grid: Add enum GridAxisType for IJK axis 2020-01-20 22:19:10 +01:00
Jacob Støren
67b47bd07e caf::HexIntersectionTools : Added gtest comparisons. 2020-01-17 13:24:25 +01:00
Jacob Støren
7ee26fa0eb caf::VizExtensions: Added method to clip triangles by a triangle
Added unit test system and a test also
2020-01-17 13:24:25 +01:00
Jacob Støren
cd6860b70f caf::HexInterpolator: Add a method to access vertex weights
Add a Cmake file to make it a library
2020-01-17 13:24:24 +01:00
Jacob Støren
1e2548c96d AppFwk: Hex interpolation: Add Combined test 2020-01-17 13:24:24 +01:00
Jacob Støren
94b6990f19 AppFwk: Add general interpolation in Hex8 elements 2020-01-17 13:24:24 +01:00
Gaute Lindkvist
2044b99818 Add support for stashing and restoring states in caf::UiStyleSheet 2020-01-16 14:33:33 +01:00
Gaute Lindkvist
6082d0dd2f Add a getter in addition to the () operator for caf::AppEnum
* The operator can be awkward to use currently with class enums
2020-01-16 14:33:33 +01:00
Magne Sjaastad
29e6b09ee9 #5339 AppFwk : Fix robustness for serialization of PdmPtrArrayField 2020-01-15 22:47:02 +01:00
Gaute Lindkvist
7391c7acfe #5220 Support setting double number format in the caf::PdmUiDoubleValueEditor 2020-01-13 15:44:37 +01:00
Jacob Støren
b01c4409f1
Merge pull request #5246 from OPM/feature-external-file-reference-list-in-project-file
Feature: #5147 External file reference list in project file
2019-12-18 15:47:50 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Jacob Støren
e4eea67a4e Fix error in cafFilePath QVariant isEqual operator 2019-12-12 16:09:20 +01:00
Gaute Lindkvist
9c458ec3ba Fixed typo in comment SFINA -> SFINAE 2019-12-06 08:13:31 +01:00
Gaute Lindkvist
c4951a5a03 Enable the use of the C++11 enum class in caf::AppEnum 2019-12-06 08:13:31 +01:00
Gaute Lindkvist
1d62d3534c Remove use of QFontMetrics width 2019-12-04 15:09:04 +01:00
Magne Sjaastad
1193a9c61e AppFwk : Guard use of front() on empty list 2019-12-02 15:02:10 +01:00
Magne Sjaastad
d68e764a8f Merge pull request #5122 from OPM/timer-improvements
Timer improvements
2019-12-02 10:22:29 +01:00