Commit Graph

1405 Commits

Author SHA1 Message Date
Magne Sjaastad
64bed86f8f
Intersection : Add Python support for triangle and result values (#8505)
#8508 Python : Make sure an empty list will be received as empty list in Python

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2022-02-07 17:38:19 +00:00
jonjenssen
a3ad9d2c1e
Merge pull request #8524 from OPM/tree_filter
Add Project Tree filter support
2022-02-04 15:49:22 +01:00
jonjenssen
66fd79175c
Project Tree updates (#8490)
Split project tree into multiple dockable tree views for plots, keeping one for 3d views.
2022-01-28 13:19:52 +01:00
Magne Sjaastad
2d2bf0bbc7
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Magne Sjaastad
d5b17976ed
Merge pull request #8459 from OPM/8458-summary-drop-target
Closes #8458
2022-01-21 14:32:51 +01:00
Kristian Bendiksen
99fde63af1 Janitor: remove assert(this) warnings.
The c++ standard guarantees that "this" is nonnull in valid programs.
So this check is unneccessary, and gcc warns in debug mode.
2022-01-20 12:53:26 +01:00
jonjenssen
55ba4bc802
Intersection depthfilter (#8408)
* Implement a simple depth filter to cut all geometry below a certain level for intersections
* Add option to override all curve intersection cut depths from collection.
* Add support for showing intersection above or below threshold. Update label texts.
2022-01-05 15:52:04 +01:00
Magne Sjaastad
34fb7d7e84 #8345 Summary Plot Manager : Several improvements
Add checkboxes for individual plots for vectors/addresses and creation of multiplots.
Moved code into RicSummaryPlotBuilder.
Allow UiComboBoxEditor to disable autocomplete.
Create plot using Enter key without modifiers.
2021-12-07 09:53:02 +01:00
Magne Sjaastad
5fcb81980d #8310 Summary Plot Manager : Add data source filtering 2021-11-19 15:42:26 +01:00
Magne Sjaastad
7b1c780a77 AppFwk : Do not use deprecated feature in Qt 5.15 2021-11-17 16:26:47 +01:00
Magne Sjaastad
7dfa84b0d9 AppFwk : Support notification when key is pressed in Line/ComboBox editors 2021-11-17 16:26:47 +01:00
Magne Sjaastad
1b869a9356 #8250 AppFwk : Introduce variadic macros
Use variadic macros to to support optional parameters in initialization macros
2021-11-14 15:26:09 +01:00
Magne Sjaastad
549118b6ad #7974 Progress Bar : Always delay display and increase threshold duration
Some users experience crash/hang situations related to display of Progress Bar dialog. This is related to implicit repaint of windows due to display or hide of a progress dialog.

To reduce the probability for error situations the following is improved:
- Increase the delay before the dialog is displayed
- Do not show the progress dialog immediately, wait until the delay duration is reached
2021-11-01 15:13:38 +01:00
Magne Sjaastad
13a91aef51 #8186 Table view : Add copy to clipboard using Ctrl-C 2021-11-01 11:14:48 +01:00
Magne Sjaastad
e1dea1d34d #8197 AppEnum : Add alias list to support backwards compatibility 2021-10-27 08:38:38 +02:00
Magne Sjaastad
e711d94d49 Scripting : Show script errors in message window
When assigning values from Python to a Pdm object, make sure the errors are displayed in the message window.
2021-10-25 12:22:36 +02:00
Magne Sjaastad
e4d84675c5 #8180 Python : Make orientation scriptable 2021-10-25 12:22:36 +02:00
Magne Sjaastad
fbc8300210 #8180 Python : Generate enum texts for documentation 2021-10-25 12:22:36 +02:00
Magne Sjaastad
841da58f10 #8187 Multiple object edit : Improve identification of selected items at multiple levels
Find all selected items at one level starting from the largest level. This is required to be able to modify multiple rows in the table editor. Items in the table editor use by default SelectionManager::FIRST_LEVEL
2021-10-25 11:39:32 +02:00
Kristian Bendiksen
0db0cbe8ac Fwk: separate uiTreeHidden and uiHidden properties for PdmUiItem. 2021-10-24 09:11:20 +02:00
Magne Sjaastad
98c4dda145 #6163 Match fields in child objects for multi-object selections 2021-10-14 19:50:29 +02:00
jonjenssen
0c69cdf203
Use only one implementation of lineIndicesFromQuadVertexArray (#7980)
* Use only one implementation of lineIndicesFromQuadVertexArray
2021-09-10 06:19:44 +00:00
Magne Sjaastad
b397c230ac #7940 Python : Traverse inheritance stack to find correct script class name 2021-09-02 08:55:35 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Magne Sjaastad
264e1decdc #7909 Surface Extraction : Updates based on review 2021-08-30 13:28:40 +02:00
Magne Sjaastad
1afba6c436 #7909 : Add helper function to get edge vertices of a cell 2021-08-30 13:28:40 +02:00
Magne Sjaastad
2fc65a3b62
#7892 Basic support for display of surface lines and bands on intersections
Guard divide by zero issues
2D Intersection View: Do not add parts with wrong coordinates
Add bounding box search tree
Add support display of intersection lines for selected surfaces
Show band between two first intersection lines
2021-08-26 08:13:03 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Magne Sjaastad
3af8d32928 #7829 AppEnum : Make sure text used in XML serialization is trimmed
If the AppEnum text used to serialize the AppEnum contains whitespace at start or end, the serialization will fail and the AppEnum value will end up with a default value. 

This commit will make sure that this field is always trimmed ( text coming from the application, from xml parsing, text from scripting).
2021-06-29 20:54:40 +02:00
Magne Sjaastad
eb3c52aeb1 Python adjustments (#7809)
* #7797 Well Targets: Add scripting capability
* #7794 Python : Do not update childField or childFieldArray
* #7797: Python - Add scripting to well path collection
- Extend the pdmobject.py with method add_object()
- allow objects to be created from Python in well path collections
- add well targets to modelled well path

* #7795 Python : Make sure referenced generated classes are defined
* #7810 StimPlanModel: clean-up python generation
* Python : Always use empty string as default value for ptrFieldValue
It can happen that a ptrField is assigned to a pointer on object construction. (FaciesProperties) Make sure that constructor always assigns an empty string.

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2021-06-25 14:44:52 +02:00
Magne Sjaastad
5c1b08a05b #7656 AppFwk : Make it possible to create a custom uiTreeOrdering 2021-05-11 09:27:55 +02:00
Magne Sjaastad
e04c761752 #7672 AppFwk : Reroute update of UI node in TreeView 2021-05-11 09:27:55 +02:00
Magne Sjaastad
65afd84db5 Documentation : Add line breaks to make sure Sphinx produce correct doc 2021-05-04 15:24:01 +02:00
Magne Sjaastad
fa0ca687cd #7636 Native CheckBox : Simplify use of native checkbox 2021-04-29 09:06:33 +02:00
Håkon Hægland
76f8a484e8 Fixes issue #7623 2021-04-27 08:07:33 +02:00
Magne Sjaastad
2d9ac615f2 Add MacOS build support 2021-04-05 09:39:12 -07:00
Magne Sjaastad
5d45a8cec9 #7520 Undo framework: Improve local disabling of undo framework 2021-03-29 09:59:26 +02:00
Magne Sjaastad
4099662cbc #7481 Usability : Open grid model from summary case and summary curve 2021-03-10 21:44:39 +01:00
Magne Sjaastad
44bae5dad6 VFP Plots : Select one or multiple files when creating VFP plots 2021-03-03 13:19:34 +01:00
Magne Sjaastad
8bab748fa6 Improve MSW export including multi lateral wells
Based on branch https://github.com/OPM/ResInsight/tree/system-msw-refactor

- Move completion settings to property of well path
- Rename to RimFishbones
- Export implicit COMPSEGS for fishbones main bore
- Add valve for each branch
- Increase version number to be able to handle import of legacy project files
2021-02-26 14:59:57 +01:00
Magne Sjaastad
3c07989c51 Janitor : Remove obsolete code related to Qt 4 2021-02-22 13:37:05 +01:00
Magne Sjaastad
6c672d9c9c #7376 Data Source Stepping : Improve icons
Icons
2021-02-18 18:55:04 +01:00
Magne Sjaastad
4cb59aa1d0 #7347 Property Editor : Check if current field is part of selection
When using toggle buttons in tree view, the current field changed might be outside of the current selection. Only apply multiple field changed if current field is part of the current selection.
2021-02-16 08:25:45 +01:00
Magne Sjaastad
bcdba1bb8f #7347 Property Editor : Enable undo/redo of field changed operations 2021-02-10 15:08:35 +01:00
Magne Sjaastad
14c09f30cf #7342 Property Editor : Support multi-select of objects of same type 2021-02-10 15:08:35 +01:00
Gaute Lindkvist
78c4a1568e #7198 Fix crash in new_summary_plot.py 2021-01-13 15:38:11 +01:00
Gaute Lindkvist
72614b0c00
Create Well Path Laterals from existing well paths
* Add cmakebuild/ to .gitignore
* Create Well Path Laterals from existing well paths
* Move ValidRegExpValidator to RiaValidRegExpValidator.h|cpp
* Minor code review fixups
* More minor code review fixups
* Another set of minor code review fixups
2021-01-04 11:09:01 +01:00
Gaute Lindkvist
49ffe9b53a Removal of new/delete from RiaApplication 2020-12-11 10:56:25 +01:00
Gaute Lindkvist
558bee72af New functions for creating cvf::refs to avoid "naked new" in App code 2020-12-11 10:56:25 +01:00
Ruben Thoms
c6e10c9c5d Added option to hide spin box for sliders. 2020-12-10 12:40:16 +01:00
Gaute Lindkvist
c30f930886 Explicitly remove default constructor for caf::Signal 2020-12-08 09:27:29 +01:00
magnesj
d11e109c7e Fixes by clang-format 2020-11-06 06:18:34 -05:00
github-actions[bot]
223fe756fe
Fixes by cmake-format (#6874) 2020-10-30 12:31:16 +01:00
Kristian Bendiksen
c7d860d888 Remove pragma once from cpp file. 2020-10-22 09:07:27 +02:00
Gaute Lindkvist
069b427d10 Require CMake 3.12 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
2110323be7 Swap use of deprecated auto_ptr for unique_ptr in cvfMutex.h 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
f7aed637f8 Require CMake 3.6 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
6a1f6ade49 Remove unused cafPdmUiObjectViewerCapability.h 2020-10-19 10:25:02 +02:00
Gaute Lindkvist
81b2f79a7b Center step icon for curves and plots in tree view 2020-10-13 10:06:20 +02:00
Magne Sjaastad
1642370928 #6476 AppFwk : Add support for moving selected items to top list 2020-10-06 02:17:58 -04:00
Gaute Lindkvist
b7ac99e53b Many new icons and minor CSS changes 2020-10-05 02:48:14 -04:00
Ruben Thoms
0f92ad13ad Style sheet now applied to PdmUiTreeViewEditor.
Move some classes from PdmUiTreeViewEditor.cpp to the header file in order to make them available in RiuGuiTheme to adjust the style of tree views and keep the drag&drop styling. 
Removed getStyleSheet function.
2020-09-29 23:26:59 -07:00
Ruben Thoms
440767d876 New checkbox icons as svgs and adjusted background colors. 2020-09-29 02:32:01 -07:00
Gaute Lindkvist
13025e92fb Remove /W3 warning in cvf (already use /W4) 2020-09-25 14:32:27 +02:00
rubenthoms
719feac15e Implemented 'Change color of list view #6512'. Style of list widget can now be changed in style sheet by using the dynamic property state="ExternalInput". 2020-09-25 14:32:06 +02:00
Ruben Manuel Thoms
87bc6acd65 Added a GUI theme selector in preferences and a new class for handling GUI changes.
Added a new feature for editing style sheets and variable colors and see immediately the result.
Made Qwt plots (and items) stylable.
Added icons, improved styling possibilities of QMinimizePanel, fixed minor bugs in RicThemeColorEditorFeature.
2020-09-25 14:32:06 +02:00
Ruben Manuel Thoms
85f2b3faf0 Removed cafUiStyleSheet and all references to it. 2020-09-20 15:26:46 +02:00
Gaute Lindkvist
93baf776a1 Fix crashes when dropping analysis plots into Multiplots 2020-09-20 15:26:46 +02:00
Gaute Lindkvist
59bc8b1f43 Make signals non-copyable 2020-09-17 08:22:00 +02:00
Gaute Lindkvist
1649d27d0f Remove superfluous Signal::disconnect() calls 2020-09-17 08:22:00 +02:00
Gaute Lindkvist
c65157277a Disconnect field owner from all signals when removing from ptr field 2020-09-17 08:22:00 +02:00
Gaute Lindkvist
15ae290f1d Disconnect parent from all signals when detaching from parent 2020-09-17 08:22:00 +02:00
Gaute Lindkvist
d3152f5030 Get rid of caf::DeleteSignal 2020-09-17 08:22:00 +02:00
Magne Sjaastad
81b2bd1720
Avoid using native file dialog on Linux (#6505) 2020-09-15 14:13:08 +02:00
Magne Sjaastad
0d43000100
Color Dialog : Use Qt color dialog, not native color dialog (#6504) 2020-09-15 13:54:08 +02:00
Kristian Bendiksen
de7d425474 #6491 Add override keyword in cafPdm* to silence clang warnings. 2020-09-14 21:46:27 +02:00
Kristian Bendiksen
519bbf3174 #6491 Fix incomplete type caf::PdmUiItem when building with clang 2020-09-14 21:46:27 +02:00
Magne Sjaastad
22c098368d #5315 Category Cell Results: Use color legend values 2020-09-08 14:37:19 +02:00
Gaute Lindkvist
5ae0e6a511 Fix build issues with test app by making CAF CVF-datatype scripting optional 2020-09-08 13:44:55 +02:00
Gaute Lindkvist
2e1bf89bff #6417 Fix update of cvf::Vec3d from Python 2020-09-08 13:44:55 +02:00
Gaute Lindkvist
d08444ec77 #6437 Fix Signal crash and improve signal code
* The crash fix is ensuring we don't loop through m_disconnectCallbacks
  in DeleteSignal::send()
* This is because the callback will end up calling disconnect
  which in turn erases the entry from m_disconnectCallbacks,
  invalidating the iterators used in the loop.
2020-09-04 19:37:45 +02:00
Gaute Lindkvist
69f13b1015 #6360 Fix stacking issues 2020-08-31 08:33:55 +02:00
Magne Sjaastad
f074ca7a09 #6398 System : Add unity build to PdmScripting 2020-08-29 10:30:56 +02:00
Magne Sjaastad
2901ad2c54 #6398 System : Remove cotire 2020-08-29 10:30:56 +02:00
github-actions[bot]
c4d2488d31
Fixes by clang-format (#6362)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-25 08:44:08 +02:00
Gaute Lindkvist
f82b2f73ec #6320 Refactor of PdmScripting
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
Gaute Lindkvist
454e7f17a0 #6322 Fix Python 3.8 problems
* Change base PdmObject class name to PdmObjectBase to avoid name conflicts
* Make all import paths relative
2020-08-24 09:40:36 +02:00
Kristian Bendiksen
1e42a2f690 #6232 Pointer adresses are not quoted in PdmFieldIOScriptability.
The pointers come in as ModeledWellPath:12345 without quotes.
2020-08-18 10:12:10 +02:00
Magne Sjaastad
d276d0eefe #6252 Category Colors : Name and corresponding color do not match
Set category data directly to the category mapper with no reverse ordering
When drawing the color legend, always draw categories with lower index first
2020-08-14 11:00:36 +02:00
Magne Sjaastad
bd8afb1f69 AppFwk : Allow copy of text from a file path line edit when read only 2020-08-13 14:17:08 +02:00
Gaute Lindkvist
86a4f5613c Major improvements to D&D of curves. 2020-08-10 12:58:53 +02:00
Gaute Lindkvist
9393c27b13 Improved naming following review 2020-08-10 09:17:46 +02:00
Gaute Lindkvist
1ad1f7cc05 #6258 General way of reordering child items in the tree view 2020-08-10 09:17:46 +02:00
Gaute Lindkvist
31246b59f3 #6266 Fix unwanted selection change when changing window focus 2020-08-10 09:17:46 +02:00
Gaute Lindkvist
12c264b2a6 Update some comments in PdmObjectMethod 2020-08-07 13:01:29 +02:00
Magne Sjaastad
6a6a093d05 #5961 Color Legend : Improve default color legend for contour plots 2020-08-06 11:20:17 +02:00
Gaute Lindkvist
d861af44b6 Temp work 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
f202f4b8a7 Add caf::Signal::observerCount() and unit test for it 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
dd2917e4af caf::Signal unit tests 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
99762831bd Handle deletion of SignalObservers
Add a beingDeleted signal called in the SignalObserver destructor.
2020-07-27 08:47:01 +02:00
Gaute Lindkvist
088f48f41d Make it possible to block signals 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
beaf4ebd5a Implement signal handler 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
6856597770 Implement stacked well log curves 2020-07-27 08:47:01 +02:00
Kristian Bendiksen
4eb483a549 Fixes by clang-format 2020-06-22 14:36:35 +02:00
Gaute Lindkvist
1d16b55fdc caf: implement checking if a color is in a color table 2020-06-22 11:02:33 +02:00
Magne Sjaastad
eba2c7320e Fix line endings 2020-06-19 08:09:51 +02:00
github-actions[bot]
b2043f7fe4 Fixes by clang-format 2020-06-19 08:05:33 +02:00
Magne Sjaastad
bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Magne Sjaastad
e2ef6a910b #6106 Use clang-format on AppFwk 2020-06-19 07:59:10 +02:00
Magne Sjaastad
e3960f13f1 AppFwk : Add border to icons with one color 2020-06-18 09:01:44 +02:00
Magne Sjaastad
4ff1f54e16 AppFwk : Add border to color gradient icons 2020-06-17 14:37:14 +02:00
Magne Sjaastad
8cc167568c #6033 Surface Properties : Add legend and adjust update functions 2020-06-11 15:03:08 +02:00
Gaute Lindkvist
8f359d8a92 Fix problem with storing font sizes 2020-06-10 09:10:24 +02:00
Gaute Lindkvist
0f60bed64a Add 6 point font and enable it. 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
664dc03c5b Set a lower limit to available font size 2020-06-08 12:32:52 +02:00
Kristian Bendiksen
23202c9f15 #6018 Remove unnecessary caf::FilePath assignement operator
In C++11 implicit generation of the copy constructor is deprecated if the
class has a user-declared copy assignment operator or a user-declared destructor.
2020-06-03 22:06:30 +02:00
Kristian Bendiksen
8f5edbf5b0 #6029 Fix unsigned/signed comparison in Fwk tests. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen
16c3ce1ca2 #6029 Update test helper to new gtest version. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen
2eb18d8151 #6029 Upgrade gtest to v1.10 for Fwk/. 2020-06-03 22:06:30 +02:00
Gaute Lindkvist
4627e542ba Move caf::FontTools enum setups into caf namespace 2020-06-03 14:16:45 +02:00
Gaute Lindkvist
2c1ee33d54 Enable setting preferred size in caf::IconProvider 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
9130030d7b #5882 Add color gradient as icon for legend palettes. 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
d6be12bf02 Improved Bounding Box tree for ill-formed grids 2020-05-25 15:30:45 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +02:00
Kristian Bendiksen
30cec3e280 Fix comparison between signed and unsigned integer expressions. 2020-05-20 14:23:22 +02:00
Gaute Lindkvist
6d5216f794 AABB Tree: Cache bounding box center in leaf nodes and calculate bounding box while assigning leaves. 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
96fe8b07e2 Stop using node pool for AABB tree because it interferes with parallelism.
(still using the leaf pool)
2020-05-19 16:14:08 +02:00
Gaute Lindkvist
a486f4ac76 Minor tree improvements 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
d04bf2da8a Add quicker method for adding bounding boxes to bounding boxes. 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
8bfcaa0341 Bounding box clearing 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
99aa65c611 Other improvements to bounding box calculation 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
64b0687dee Parallel AABB tree 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
0922b68302 Simplified AABB tree 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Gaute Lindkvist
641d6e2384 #5902 Fix missing labels due to IconProvider 2020-05-11 12:28:47 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad
a1eb707b02 Add test project including cvf and fix compile issues 2020-05-08 11:28:55 +02:00
Gaute Lindkvist
27600fa57a Working click matrix to change correlation plots 2020-05-07 08:30:39 +02:00
Magne Sjaastad
dfaf595551 Fix line endings 2020-05-06 19:02:50 +02:00
Magne Sjaastad
28aafed44b #5883 Update test project with icon colors from field value 2020-05-06 19:02:50 +02:00
Magne Sjaastad
e422618138 #5883 Icons : Add support for overlay pixmap 2020-05-06 19:02:50 +02:00
Kristian Bendiksen
f735d19c2c Remove incorrect null pointer check in Object::release.
"this" should never be null here, and warns about it.
2020-04-30 12:46:50 +02:00
Kristian Bendiksen
6de9288597 Silence warnings about unused "type" variable in cafPdm*. 2020-04-30 12:46:50 +02:00
Magne Sjaastad
ff1ecdf38e AppFwk Test : Add prototype code for color category triplets 2020-04-27 07:24:31 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +02:00
Gaute Lindkvist
7e3fc1c886 Parameter result cross plot 2020-04-17 19:24:12 +02:00
Magne Sjaastad
3c05fff768 Output field keyword alias names 2020-04-17 13:55:49 +02:00
Magne Sjaastad
8662ff90d2 #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-17 13:54:19 +02:00
Magne Sjaastad
f076749dab Adjustments after review 2020-04-17 13:54:13 +02:00
Magne Sjaastad
bd5ce912fb #5538 Python : Add methods at correct inheritance level 2020-04-17 13:54:10 +02:00
Magne Sjaastad
66081790dd Move cafPdmField 2020-04-17 13:54:10 +02:00
Magne Sjaastad
77ce1d9fc5 #5749 Python : Add support for std::vector as return value of a function 2020-04-17 13:54:10 +02:00
Kristian Bendiksen
42ca07d2cd Disable PdmUiColorEditor correctly when set to read-only. 2020-04-17 13:54:09 +02:00
Magne Sjaastad
185e4c15ef #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-15 21:58:18 +02:00
Magne Sjaastad
a99a32e8f3
Merge pull request #5760 from OPM/summary-data-python
Python support for summary data
2020-04-07 10:37:53 +02:00
Magne Sjaastad
f16185a652 Adjustments after review 2020-04-07 10:01:03 +02:00
Kristian Bendiksen
2b28bbc0b6 Disable PdmUiColorEditor correctly when set to read-only. 2020-04-07 08:42:29 +02:00
Magne Sjaastad
6267257896 #5538 Python : Add methods at correct inheritance level 2020-04-01 09:03:45 +02:00
Magne Sjaastad
32daa567ed Move cafPdmField 2020-04-01 07:21:49 +02:00
Magne Sjaastad
bc56c807c1 #5749 Python : Add support for std::vector as return value of a function 2020-03-31 14:03:14 +02:00
Jacob Støren
adb06f229c Merge dev into feature-analysis-plots-initial 2020-03-31 13:13:47 +02:00
Magne Sjaastad
001afc33dd AppFwk : Allow text filter in single selection mode 2020-03-30 08:57:59 +02:00
Kristian Bendiksen
568a135d82 #5448 Remove warnings about uninitialized values in cvf::Vec2/Vec3. 2020-03-29 22:19:34 +02:00
Magne Sjaastad
502b08ea61 Fix AppFwk dependencies 2020-03-15 19:18:22 +01:00
Magne Sjaastad
30eafceef4 Fix generation of Attributes header 2020-03-14 10:13:34 +01:00
Magne Sjaastad
7d3bd85777 Fix AppFwk dependencies 2020-03-13 21:32:18 +01:00
Gaute Lindkvist
ba0ded23c3 #5671 Move caf::PdmFieldScriptability<cvf::Color3f> into cafPdmCvf 2020-03-13 17:12:05 +01:00
Gaute Lindkvist
2853308a4a Python: Create summary plot from string 2020-03-13 14:18:41 +01:00
Magne Sjaastad
40ac705db0
Fix cmake build issues (#5670)
* Fix cmake build issues
* Temporary force linking of external object
2020-03-12 11:24:59 +01:00
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
Magne Sjaastad
f131ad77e1 Merge branch 'dev' into feature-analysis-plots-initial 2020-03-06 08:06:48 +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
Jacob Støren
591e5ab503 Caf: Add PdmUiActionPushButtonEditor as a simpler and more intuitive editor for action buttons 2020-03-03 09:52:53 +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