Commit Graph

205 Commits

Author SHA1 Message Date
Gaute Lindkvist
b7ac99e53b Many new icons and minor CSS changes 2020-10-05 02:48:14 -04:00
Gaute Lindkvist
135ca97ba4 #6663, #6673 Fix black text in Ensemble legend frame and wrong PDF-rendering 2020-10-01 16:08:52 +02:00
Gaute Lindkvist
7afbae6597 #6460 Improve consistency of icons on high-DPI displays 2020-09-09 09:13:04 +02:00
Kristian Bendiksen
0c275a6d9c Refactor well path geometry export to ".dev" file.
The code to generate the geometry data is extracted for easier reuse, and
differences between exporting visible and selected well paths removed.
2020-09-07 13:47:18 +02:00
Magne Sjaastad
b1fb7990dc #6393 Snapshot : Make sure widgets are activated before taking snapshot
If the active plot window is maximized in the MDI area, all plots will create the same snapshot size.
2020-08-31 08:38:37 +02:00
Magne Sjaastad
77ef87fb3a System : Move all command features into separate library
When compiling the complete application, the large number of files causes the input file for a Ninja build (text response file) to become too large on some configurations. Move command features into a separate library to reduce the total file count per project/library.
2020-08-31 08:23:14 +02:00
Magne Sjaastad
afa8804e5b #6345 Use wrapper class instead of QFileDialog 2020-08-24 08:26:39 +02:00
Magne Sjaastad
6655946be5 #6345 Remove obsolete include of QFileDialog 2020-08-24 08:26:32 +02:00
github-actions[bot]
6b5f4dddc9 Fixes by clang-format 2020-06-08 11:09:51 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Magne Sjaastad
4d114e36f8 #5379 Surface : Move enum to RiaDefines 2020-05-04 06:32:37 +02:00
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
067fe7f263 #5780 #5795 Improve handling of air gap in modelled well paths + fix result instability.
* Stop using the auto generated target at sea level to generate the well path
* This is because the well path is used to generate the target at sea level.
* The alternative would be to iterate until the target and well path is stable, assuming it converges.
2020-04-17 13:54:18 +02:00
Jacob Støren
773fa0fcd5 #5559 Add Save to Pdf icon 2020-03-30 16:51:31 +02:00
Magne Sjaastad
0cd0c7d80d #5612 Saturation Pressure Plots : Remove duplicated code 2020-02-28 12:39:24 +01:00
Gaute Lindkvist
82263e9d6f WBS LAS-parameter fixes to be more consistent 2020-02-24 12:30:13 +01:00
Magne Sjaastad
027b7ed27c #5528 Multi Plot : Add optional display of PDF in preferences 2020-02-17 13:20:28 +01:00
Magne Sjaastad
a3519a6e00 #5528 Multi Plot : Add feature for export of PDF documents 2020-02-17 13:20:28 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
610a315e14 #5458 Add support for air gap and start at surface for modeled well paths 2020-02-07 08:36:37 +01:00
Gaute Lindkvist
c9f5b47a90 Support different units when importing and exporting WBS LAS. 2020-02-03 15:56:07 +01:00
Gaute Lindkvist
e1c1981830 Support PDF-export from Python 2020-01-22 09:28:46 +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
a58d854030 Fix problem with black background in snapshot export 2020-01-09 14:41:00 +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
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
a0cac2fefa #5288 Fix update issues 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
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
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
059288ef97 #5147 RimEclipseInputProperty::fileName -> caf::FilePath 2019-12-10 16:58:07 +01:00
Gaute Lindkvist
db869ccbd5 Improve plot redraw scheduler 2019-11-25 13:55:49 +01:00
Gaute Lindkvist
d9043db5e0 Refactor RimPlotWindow and RimPlotInterface 2019-11-20 13:14:45 +01:00
Kristian Bendiksen
5e480bf438 #5042 Add "Export Property To File" command to eclipse view. 2019-11-19 22:23:03 +01:00
Kristian Bendiksen
ed59f0b618 Fix "Export Property To File" for RimEclipseResultCase. 2019-11-05 12:23:26 +01:00
Kristian Bendiksen
7d817d0277
Merge pull request #4967 from OPM/improve-export-filedialog-behaviour
Improve export filedialog behaviour
2019-11-05 10:39:50 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +01:00
Magne Sjaastad
b46124efd7 Janitor : Use const ref when possible 2019-11-03 12:19:24 +01:00
Magne Sjaastad
67e7bb0cf3
Fixes detected by cppcheck (#4974)
* Janitor : Remove obsolete pointer to dialog

* Janitor : Remove unused functions

* Janitor : Remove unused functions

* Janitor : Add explicit to constructors

* Janitor : Remove unused variables

* Janitor : Remove unused functions related to summary plot templates

* clang-tidy : Use nullptr instead of 0

* clang-tidy : Fix usage of virtual and override

* Upped to version 2019.08.2-dev.05

* Janitor : Remove unused variables

* Janitor : Clean up several cppcheck issues

* Janitor : Add cppcheck config files

* Janitor : Use const when possible
2019-11-03 08:37:03 +01:00
Kristian Bendiksen
4c11564838 #4941 Workaround strange file name validation in "Export FLUXNUM/MULTINUM" dialog.
Having an explicit filter for the default suffix (*.grdecl) removes the
strange complaint about the default file name not being valid.
2019-11-01 15:07:08 +01:00
Kristian Bendiksen
a373f89295 #4857 Fix RicSaveEclipseVisibleCellsFeature/RicSaveEclipseActiveVisibleCellsqFeature picking in comparison view. 2019-10-29 10:52:04 +01:00
Kristian Bendiksen
849def6ee5 #4857 Fix RicExportEclipseSectorModelFeature picking in comparison view. 2019-10-29 10:52:04 +01:00
Magne Sjaastad
72e3ddc35e #4934 Preferences : More robust storing of data to registry 2019-10-25 15:55:27 +02:00
Gaute Lindkvist
c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +02:00