Commit Graph

84 Commits

Author SHA1 Message Date
Magne Sjaastad
818c5c0f9c
Add polygon file readers and make sure UI items are in sync
* Add polygon reader for POL file format
* Add CSV import
* Add helper function to create tag with color and text
* Show polygon color as tag, allow color edit by clicking on tag
* Support optional header in csv file
* Add Reload on polygon file
* Show warning icon if no polygons
* Improve logging text
* Do not show file polygon in view if no polygons are imported
* Use appendMenuItems
* Set default polygon color to orange
* Enter edit state when creating a new polygon
* Fix missing UI text in menu builder
2024-03-01 14:59:14 +01:00
Magne Sjaastad
a0ecdf47a5
Show git SHA for command line parameter --version 2024-02-27 12:10:19 +01:00
Magne Sjaastad
28d281e1d6
Use polygon as data source for intersection
- Use polygon as data source for intersection
- Add padlock icon
- Show padlock icon on read only polygons
- Add Fwk function appendMenuItems() to make it possible to define context menu content in a PdmObject
- Context menu "Create Polygon Intersection"
- Updates to make visualization consistent with object and object collection enabled state
2024-02-25 09:21:48 +01:00
Magne Sjaastad
8fe385adcf
Create binary artifacts for Linux
* Bundle Qt binaries and create artifacts on Linux 
* Add qt.conf for Linux
* Remove install target for unit test
2024-02-13 09:06:38 +01:00
jonjenssen
5391179e16
Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder
Add a ResInsight-tests target to run the unit tests
2024-02-11 20:04:04 +01:00
Magne Sjaastad
1703f33eb7 Set attribute to share OpenGL contexts
Setting this attribute will make sure OpenGL resources are alive when the parent widget is changed during layout changes like full screen view or changing docking configuration.
2024-02-07 10:07:18 +01:00
Magne Sjaastad
06766b3650 Add option to Preferences to flush file loggers when a signal is triggered 2024-02-02 08:30:30 +01:00
magnesj
c0921a1fce Fixes by cmake-format 2024-01-26 08:58:27 +01:00
Magne Sjaastad
de58f3dd54 Support RESINSIGHT_INSTALL_RPATH as CMake build parameter 2024-01-26 08:37:41 +01:00
Magne Sjaastad
5c096748c8
Optionally log messages to file (#11059)
* Add spdlog as submodule
* Add RiaFileLogger
* Control use of file logger from preferences
2024-01-15 17:51:03 +01:00
magnesj
caa42a89d3 Fixes by cmake-format 2024-01-15 09:13:31 +01:00
Magne Sjaastad
6eb8f75f17 Bump version to dev.09 2024-01-15 08:55:41 +01:00
jonjenssen
50a766591b
Enable INP support without ODB libraries (#10990)
Enable INP support without ODB libraries
2024-01-03 11:55:35 +01:00
Magne Sjaastad
b3865d2d4a OpenVds: Update path to latest 3.2
Previous OpenVds version was removed from server, update to latest available 3.2 version
2023-12-11 10:30:21 +01:00
Magne Sjaastad
7fb8de2204 Use a separate target to copy files to build folder
Several operations was attached to the POST_BUILD custom command of the ResInsight target. The number of characters in this command exceeded the limit on Windows, and error message "line too long" was displayed on GitHub actions.

Suggested solution to copy files into build folder
- add new target ResInsightDummyTarget used to find full path to build folder
- add new target PreBuildFileCopy for file copy
- add all copy operations as a list of cmake commands on PreBuildFileCopy
2023-12-11 10:30:21 +01:00
Kristian Bendiksen
3f6883b875 Update openssl library numbers 2023-11-27 16:16:32 +01:00
jonjenssen
2172199999
Add seismic 3d view (#10472)
* Show seismic, surfaces, annotations and wellpaths in new view not requiring a grid loaded first.
2023-08-07 16:35:59 +02:00
Magne Sjaastad
34d83efaed #10417 Use radiobuttons for single selection in lists 2023-06-26 10:17:47 +02:00
jonjenssen
803b67506a
Add basic support for calculating and showing seismic difference (#10377)
* Add basic support for calculating and showing seismic difference
2023-06-12 11:56:48 +02:00
Magne Sjaastad
91762aaeb1
RC3 adjustments
* Update icons for summary and ensemble templates

* Icons for regression and decline

* #10374 LineEditor: Hide the placeholder widget when not used

* #10376 Assign a case ID to delta summary case

* Do not show decline range text in plot
2023-06-10 16:30:34 +02:00
Magne Sjaastad
76102a8396
Maintenance issues
* Improve toggling of checked state of sub items
Toggling state is only supported for objects in an array. For example, this will ensure that faults are toggled without altering the fault result object.

* Use gray instead of black for icons

* #9719 Use delete instead of deleteLater to avoid visual artifacts
Artifacts are seen in the Property Editor related to obsolete group boxes. This seems to be related to deleteLater().

* Improve text in menu when toggling sub items

* #10011 Make sure all grid cases are visible in RFT data source

* #10354 Show more info when hovering on curves in summary plot

* #10355 Copy model text info in 3D view to clipboard

* Make sure cell filter option is propagated to new field
Make sure the previous value of  m_showFaultsOutsideFilters_obsolete is propagated into m_applyCellFilters

* Fix wrong spelling when using of stylesheet color
2023-06-06 15:45:54 +02:00
Magne Sjaastad
24ccbf395d
Adjust dark theme
- Disable custom CSS for advanced docking system
- copy and adjust stylesheet into default/dark qss
- Use #999999 for fill color in svg images
2023-06-02 07:28:45 +02:00
Magne Sjaastad
f0b28170da
Copy openvds libraries to binary build folder 2023-04-27 08:44:51 +02:00
Jon Jenssen
c86ce05f9a Add fullscreen button/shortcut to 3d window 2023-04-26 17:05:05 +02:00
Magne Sjaastad
0907f57de9
Use target_include_directory
* Fwk: Avoid use of include_directories
* Remove target_include_directories from Commands
* Refactor cmake includes
- Avoid using include_directories, and use target_include_directories.
- Use add_subdirectory directly from main cmakefile, do not use in ApplicationLibCode.
2023-04-25 13:14:26 +02:00
jonjenssen
d8def3d986
OpenVDS should always be used (#10166)
* OpenVDS should always be used, remove optional defines
2023-04-24 18:23:31 +02:00
Magne Sjaastad
90ccf447fb
Download and use openvds package (#10153)
Download and use openvds package
2023-04-24 17:10:51 +02:00
jonjenssen
0e7cf49b17
OpenVDS seismic access (#10145)
Add OpenVDS support for reading seismic data from VDS files
2023-04-21 16:38:04 +02:00
jonjenssen
2e01f4a31d
Basic seismic support (#10010)
Add basic seismic section support to eclipse and geomech views.
2023-03-24 15:36:10 +01:00
Magne Sjaastad
ab44f9fa17 Add open in text editor feature 2023-03-13 16:09:20 +01:00
Magne Sjaastad
fc7bde8d35 #9879 Add icon for calculated summary vectors 2023-03-07 07:48:12 +01:00
github-actions[bot]
5b66dce009 Fixes by cmake-format (#9725)
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-01-25 06:39:03 +01:00
Magne Sjaastad
77bca7affa Make sure qoffscreen.dll is included in distribution
Headless plot export requires qoffscreen.dll, make sure this file is included in installer.
2023-01-25 06:39:03 +01:00
Magne Sjaastad
583c248cf9
Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-01-24 12:29:27 +01:00
jonjenssen
14d4022ada
Add toolbar toggle button for showing displacements (#9677)
* Add toolbar toggle button for showing displacements
2023-01-13 20:21:55 +01:00
Kristian Bendiksen
806c9af82b
9172 Remove dependency on QtScript
* #9172 Update json encoding/decoding to avoid QtScript
* Janitor: remove unused debug code
* Janitor: minor cleanup
* Remove dependencies to Qt Script

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-10-18 10:07:16 +02:00
Kristian Bendiksen
c2b5ab8d2c
#9307 Python: avoid assigning same port number to multiple grpc sessions
* Python: avoid assigning same port number to multiple grpc sessions
* Add retry count when checking for port number file
* Use grpc to find and use port number
* Add test used to start several instances of resinsight at the same time
Testing up to 50 instances works well

* Python: allow launch_port == 0 to assign port by GRPC in Instance.launch().
Also allow longer wait before failing the port number file reading:
it can take some time to launch when launching lots of instances at
the same time.
2022-09-26 14:19:21 +02:00
Magne Sjaastad
945f1b1902
Use field auto values for summary plots
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.

Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-05 14:12:49 +02:00
jonjenssen
116420e82f
Docking updates (#9219)
* Add icons to dock windows. Rearrange ordering in windows menu. Set default dock layout if last stored layout is not valid when resinsight loads
2022-08-22 12:42:29 +02:00
jonjenssen
0e45a90e1f
Link selection in 3D view with plots (#9195)
* Allow well selections in 3D view to update well selection in summary plots and well log plots
2022-08-15 20:27:49 +02:00
jonjenssen
d5269abc6e
New dockingsystem (#9116)
* Use Qt Advanced Docking as forked submodule
* Use new docking system in code
2022-07-07 12:03:02 +02:00
jonjenssen
9f4d242a5d
Plot Template updates (#9002)
* Ensemble plot templates now have .erpt extension and new icon
* Default plot templates are given a checkmark overlay on the icon
* Context menu has been cleaned up a bit
* Old default template is really just the last used template. Rename it.
* Add max. recursive depth setting in preferences for plot template searches
* Only create plots based on correct template type when importing ensembles or single cases
* Support creating new plot from template explorer
* Update last used template when creating a new plot from a template
2022-06-01 10:45:44 +02:00
jonjenssen
296ddbde42
Merge pull request #8882 from OPM/append_curves
Summary Multiplot: Source Stepping append curves with performance fixes
2022-05-04 13:11:04 +02:00
jonjenssen
3de8010c2b
Source stepping and toolbar updates (#8866)
* Move layout options to separate toolbar
* Enable stepping on quantities, remove special history curve stepping for now
* Allow stepping ensembles and cases
* Add step next/prev and add new sub plot
2022-05-03 11:30:09 +02:00
Magne Sjaastad
82367e698f #8560 Fix gray background for default theme 2022-04-13 21:16:51 +02:00
Magne Sjaastad
2aec91e66d Janitor : Add offscreen dynamic library when bundling Qt 2022-03-23 12:42:40 +01:00
Magne Sjaastad
7238894bf6
Janitor: Set minimum Qt version to 5.12 2022-03-12 16:43:48 +01:00
jonjenssen
c9b762fb16
Merge pull request #8654 from OPM/filter_wheelevents
Summary Multiplot: page scroll and zoom fixes
2022-03-10 13:13:44 +01:00
jonjenssen
0d45b88d09 Fix indent 2022-03-09 11:29:03 +01:00
Jon Jenssen
d7555cbf4c Add support for giving all axes with the same label the same range. 2022-03-09 11:29:03 +01:00