Commit Graph
100 Commits
Author SHA1 Message Date
Gaute Lindkvist ce2ce15460 Add comments to create_wbs_plot.py 2020-01-22 09:28:46 +01:00
Gaute Lindkvist da884da05b Fix OBG0 las-file source 2020-01-22 09:28:46 +01:00
Gaute Lindkvist e1c1981830 Support PDF-export from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 1133816471 Well Log Plot python test 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 896767c991 Support setting well log plot fields from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 56d141d4c3 Support setting Wbs-parameters from Python. 2020-01-22 09:28:46 +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
Gaute Lindkvist 5b8b76179b Separate Wbs Parameters from RimWellBoreStabilityPlot 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 49fe313517 Support setting time steps for GeoMechCases in ResInsight 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 4b9ea05033 Remove wrong error message on successfully cloning views from Python. 2020-01-22 09:28:46 +01:00
Gaute Lindkvist 23bf2c50d9 Minor improvements to plot titles and margins 2020-01-20 08:16:00 +01:00
Gaute Lindkvist c72532eb4e Minor improvements to well log track layout 2020-01-20 08:16:00 +01:00
Gaute Lindkvist 5f7df7f7f5 Zoom depth when the original depth range is invalid 2020-01-16 14:33:33 +01:00
Gaute Lindkvist a2fef2237d Add word wrap for titles for Multi plot and Accumulated Phase Fractions plots 2020-01-16 14:33:33 +01:00
Gaute Lindkvist eed729f2fe Supporting deleting of Multi plots 2020-01-16 14:33:33 +01:00
Gaute Lindkvist edc276db4d Well Log Plot and Well Distribution Plots no longer inherit Multiplot
* Also cleaned up RiuQwtPlotWidget
2020-01-16 14:33:33 +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 e5d7af4c18 Remove unused variable 2020-01-16 14:33:33 +01:00
Gaute Lindkvist 5258f19004 Fix test build warning 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
Gaute Lindkvist 8b1aa319a6 #5220 Use caf::PdmUiDoubleEditor for depth axis range in Well Log Plots
* And set two decimals and fixed notation
2020-01-13 15:44:37 +01:00
Gaute Lindkvist 7391c7acfe #5220 Support setting double number format in the caf::PdmUiDoubleValueEditor 2020-01-13 15:44:37 +01:00
Gaute Lindkvist 7ac13b3868 #5332 Remove drop shadow around canvas to fix missing canvas on Linux 2020-01-13 15:42:57 +01:00
Gaute Lindkvist 16f3108e64 Set font size right for multi plots 2020-01-09 14:41:00 +01:00
Gaute Lindkvist a58d854030 Fix problem with black background in snapshot export 2020-01-09 14:41:00 +01:00
Gaute Lindkvist 3fc7378b8f Fix plot titles for RFT and PLT plots from old project files. 2020-01-09 14:41:00 +01:00
Gaute Lindkvist 06f1db671e Remove unnecessary stylesheet in RiuMainWindowBase 2020-01-09 14:41:00 +01:00
Gaute Lindkvist 909ddbfcd5 Create new registry variables for the font sizes to reflect they are now point sizes and not just enum values 2020-01-09 14:41:00 +01:00
Gaute Lindkvist fdb453a813 #5305 Only update parent plot zoom when changing well log curve if the data range changes 2020-01-09 14:41:00 +01:00
Gaute Lindkvist b06cadb4e7 Disable TVDRKB for RFT plots until implemented properly 2020-01-08 14:35:48 +01:00
Gaute Lindkvist 10f749f356 #5219 Implement support for TVDRKB for well log depth
* Also show air gap in title when TVDRKB is selected and not otherwise
2020-01-08 14:35:48 +01:00
Gaute Lindkvist de68df122d Add preview mode to multi plots
* Apply margins matching the Page Layout so the plot is a preview of the PDF output
* Currently not a user setting, just switched off for plots based on MultiPlotPage and on for plots based on
MultiPlotWindow
2020-01-08 14:35:48 +01:00
Gaute Lindkvist 993b98f977 Set a sensible font size for Plot symbol labels (i.e. "P10", "P90" etc) 2020-01-07 14:59:18 +01:00
Gaute Lindkvist 4829c5eba2 Move to pixel size instead of point size for fonts 2020-01-07 14:59:18 +01:00
Gaute Lindkvist f279e85c2c Improved font handling 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 7bd62052ca Much improved legend rendering 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 185b26514b Multi plot: Fix rendering of single plots to PDF 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 1885d8bd6e Multiplot: Fix update issue following change between portrait and landscape 2020-01-07 14:26:46 +01:00
Gaute Lindkvist a0cac2fefa #5288 Fix update issues 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 0692ea28ad Fix legends for ensemble plots 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 281fa24a2d Render at resolution required to match widget size 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 81c092f2c4 #5293 Fix draw of category legend rectangles 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 9ffbd97f8c Multi page plot works 2020-01-07 14:26:46 +01:00
Gaute Lindkvist 27788b1abd Change from QPainter to QPaintDevice in the API for PDF rendering
* This is to be able to use QPagedPaintDevice::nextPage in the Multi plot rendering.
2020-01-07 14:26:46 +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
Gaute Lindkvist 2b4da10610 #5234 Fix auto scale of cross plot x-axis
* The issue is that the bottom axis is really a QwtDateScaleEngine as opposed to a QwtLinearScaleEngine.
* This may have worked before by "accident" before the changes to the date format on the date/time axis.
* The fix is that if we want a QwtLinearScaleEngine and have a QwtDateScaleEngine we replace the scale engine.
2019-12-17 19:31:45 +01:00
Gaute Lindkvist 73b2c96dae #5234 Fix auto scale of cross plot x-axis
* The issue is that the bottom axis is really a QwtDateScaleEngine as opposed to a QwtLinearScaleEngine.
* This may have worked before by "accident" before the changes to the date format on the date/time axis.
* The fix is that if we want a QwtLinearScaleEngine and have a QwtDateScaleEngine we replace the scale engine.
2019-12-17 19:29:51 +01:00
Gaute Lindkvist 872d69817a #5084 Rework RicNewSummaryPlotFeature to create ensemble plots when that makes sense 2019-12-06 13:37:50 +01:00
Gaute Lindkvist a629a957cc #5084 Rework RicNewSummaryPlotFeature to create ensemble plots when that makes sense 2019-12-06 13:37:31 +01:00
Gaute Lindkvist e199182e2f #5178 Fix axis rounding on plots other than Well Log Plots 2019-12-06 09:21:07 +01:00
Gaute Lindkvist ea793c15f3 Fix ensemble selection if statistics curves are not shown 2019-12-06 08:13:31 +01:00
Gaute Lindkvist 0b5188e4b7 Fix updates after legend change 2019-12-06 08:13:31 +01:00
Gaute Lindkvist 08afc1f8d7 Add automatic name updating of EnsembleRftCurveSets 2019-12-06 08:13:31 +01:00
Gaute Lindkvist 9c458ec3ba Fixed typo in comment SFINA -> SFINAE 2019-12-06 08:13:31 +01:00
Gaute Lindkvist 7fd4aa1ce9 #5002 Ensemble RFT curve sets with parameter coloring and separate legends 2019-12-06 08:13:31 +01:00
Gaute Lindkvist f56a34843a Refactored ensemble parameter legends 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 a703ac6bfd Fix ensemble selection if statistics curves are not shown 2019-12-05 13:51:47 +01:00
Gaute Lindkvist 270bc9f369 Fix updates after legend change 2019-12-05 12:54:46 +01:00
Gaute Lindkvist bb20091f24 Fixed typo in comment SFINA -> SFINAE 2019-12-05 12:26:49 +01:00
Gaute Lindkvist dfe2153af7 Add automatic name updating of EnsembleRftCurveSets 2019-12-05 12:26:49 +01:00
Gaute Lindkvist f6b5877ed1 #5002 Ensemble RFT curve sets with parameter coloring and separate legends 2019-12-05 09:26:01 +01:00
Gaute Lindkvist 43b1e35a6b Refactored ensemble parameter legends 2019-12-05 09:26:00 +01:00
Gaute Lindkvist eb638f0c4b Enable the use of the C++11 enum class in caf::AppEnum 2019-12-05 09:26:00 +01:00
Gaute Lindkvist ebea35d6a8 Make sure well log tracks aren't draggable in Release 2019.11 2019-12-04 15:38:08 +01:00
Gaute Lindkvist 1d62d3534c Remove use of QFontMetrics width 2019-12-04 15:09:04 +01:00
Gaute Lindkvist a7e3cc154a #5160 Fix wording around FG in shale calculation 2019-12-04 15:09:04 +01:00
Gaute Lindkvist b5ab1d6e82 #5159 Make user defined shale PP proportional to hydrostatic PP 2019-12-04 15:09:04 +01:00
Gaute Lindkvist a8454450eb #5178 Fix axis rounding on plots other than Well Log Plots 2019-12-04 14:31:08 +01:00
Gaute Lindkvist 11d69281d7 Make track legends vertical by default to avoid many changes 2019-12-04 14:31:08 +01:00
Gaute Lindkvist 3c29ffbfab Revert "Always hide drop target for Grid Plots in release-2019.11"
* This commit was never meant to go into dev

This reverts commit 62655e17c6.
2019-12-04 14:17:28 +01:00
Gaute Lindkvist 2e7d581c3e Apply correct frame indices for OBG0 and SH_MK WBS curve calculation 2019-12-04 13:36:22 +01:00
Gaute Lindkvist df5c5fb2a8 #5161 Make the WBS parameter curves work right 2019-12-04 13:36:22 +01:00
Gaute Lindkvist 4bbb12e32a #5161 Don't attempt to export empty LAS-curves. It will crash in LAS-exporter. 2019-12-04 13:36:22 +01:00
Gaute Lindkvist 2e8518b7c9 #5179 Fix missing LAS-file data in plots when las-file doesn't contain TVD 2019-12-04 12:37:25 +01:00
Gaute Lindkvist 3903d08b7a Always hide drop target for Grid Plots in release-2019.11 2019-12-04 12:37:18 +01:00
Gaute Lindkvist ed1d02535d #5179 Fix missing LAS-file data in plots when las-file doesn't contain TVD 2019-12-04 12:36:22 +01:00
Gaute Lindkvist 9599b309bc Replace all occurences of QPalette::Background with QPalette::Window
QPalette::Background is deprecated and gives warning in Qt 5.13
2019-12-04 12:34:17 +01:00
Gaute Lindkvist 5139f1cadb #5174 Paint non-filled plot symbols with curve color rather than edge color 2019-12-04 12:34:17 +01:00
Gaute Lindkvist cd5b432267 #5171 Fix legend updates by getting rid of the show/hideEvent crash fix
* The crash is instead fixed by getting rid of deleteLater()
2019-12-04 12:34:17 +01:00
Gaute Lindkvist b5712987de Fix y-axis text for observed data 2019-12-04 12:34:17 +01:00
Gaute Lindkvist 445f28d26f Replace all occurences of QPalette::Background with QPalette::Window
QPalette::Background is deprecated and gives warning in Qt 5.13
2019-12-04 12:34:04 +01:00
Gaute Lindkvist 62655e17c6 Always hide drop target for Grid Plots in release-2019.11 2019-12-04 12:34:04 +01:00
Gaute Lindkvist f795dfcf11 #5174 Paint non-filled plot symbols with curve color rather than edge color 2019-12-04 12:34:04 +01:00
Gaute Lindkvist 28a0a3ad06 #5171 Fix legend updates by getting rid of the show/hideEvent crash fix
* The crash is instead fixed by getting rid of deleteLater()
2019-12-04 12:34:04 +01:00
Gaute Lindkvist 3e39866f6f Fix y-axis text for observed data 2019-12-04 12:34:04 +01:00
Gaute Lindkvist 44a4ba8785 Make capital letter *.LAS files show up in import dialog 2019-12-03 14:38:31 +01:00
Gaute Lindkvist 73f5ac5126 Make capital letter *.LAS files show up in import dialog 2019-12-03 14:37:28 +01:00
Gaute Lindkvist e894453f49 #5167 Fix wrong update of plot axis range
* The order of arguments passed to setAxisScale was wrong
2019-12-03 14:36:14 +01:00
Gaute Lindkvist 8d15a82147 #5167 Fix wrong update of plot axis range
* The order of arguments passed to setAxisScale was wrong
2019-12-03 14:35:48 +01:00
Gaute Lindkvist 631570f6a5 #5150 Improve wheel zoom with logarithmic axes
* Limit the amount to scroll at one time and set a fixed minimum
2019-12-02 12:34:58 +01:00
Gaute Lindkvist 4870071b8e #5150 Improve wheel zoom with logarithmic axes
* Limit the amount to scroll at one time and set a fixed minimum
2019-12-02 08:01:38 +01:00
Gaute Lindkvist 538e42f278 #5106 Fix crash when importing multiple well paths with the same name 2019-12-02 08:01:38 +01:00
Gaute Lindkvist c5f21b75fa #5133 Reassign summary curves to the file summary case copy when closing a grid case 2019-12-02 08:01:38 +01:00
Gaute Lindkvist 01767803c3 Make well log curves work on statistics cases 2019-12-02 08:01:38 +01:00
Gaute Lindkvist 7c3d45770b Remove unused variable 2019-12-02 08:01:38 +01:00
Gaute Lindkvist 76d7f526ba #5137 load curve data after creating new well log curves 2019-12-02 08:01:38 +01:00
Gaute Lindkvist 82155ae779 #5106 Fix crash when importing multiple well paths with the same name 2019-11-30 12:11:35 +01:00
Gaute Lindkvist bfa9ff637b #5133 Reassign summary curves to the file summary case copy when closing a grid case 2019-11-30 09:46:44 +01:00
Gaute Lindkvist 7ffdba0437 Make well log curves work on statistics cases 2019-11-30 09:46:30 +01:00