Commit Graph
1310 Commits
Author SHA1 Message Date
Magne Sjaastad 32614152a6 Memory Management : Fix memory leak in bounding box tree 2022-03-03 14:39:41 +01:00
Magne Sjaastad 0e57cfe201 Memory Management : Adjustment and fixes
Add release of several static singleton objects
Fix several minor memory leaks
2022-03-03 14:39:41 +01:00
Magne Sjaastad 7a2a297648 #8592: Temporary workaround for crash seen on RHEL7 2022-03-02 17:32:39 +01:00
jonjenssen 0cd965dd5b Summary plot crash fixes (#8595)
Disable assert for duplicated signal connections for now, just ignore everyone but the first one
Temp. workaround for crash when duplicating plot axis properties.
Update test
2022-03-01 17:27:46 +01:00
Magne Sjaastad 5706c433d0 #8580 cafSignal : Assert if signal is connected twice to the same object 2022-02-26 16:35:59 +01:00
Magne Sjaastadandmagnesj 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
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