Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
Jacob Støren
191419b6b4 clang-format after intersection rename 2019-11-26 13:56:02 +01:00
Gaute Lindkvist
228810fd05 Refactor view id 2019-11-20 13:14:45 +01:00
Magne Sjaastad
a413f672ec #5007 Janitor : Do not call virtual methods from destructors 2019-11-07 08:48:11 +01:00
Gaute Lindkvist
03ff43237d Add a view id tag to project tree and tooltip
* Remove it from property editor
2019-11-05 11:09:18 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +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
Gaute Lindkvist
d681b75d24 Rename RifEclipseOutputDataTable* to RifTextDataTable* 2019-10-15 17:05:46 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
Magne Sjaastad
29cb7cd8dc #4718 Qt5 : Use grab() instead of grabWidget() 2019-09-13 15:13:49 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad
0f0e440185 #4136 Flow Characteristics : Avoid space in CSV column header 2019-06-25 18:18:47 +02:00
Magne Sjaastad
b2857676c8 #4136 Command File : Export of flow characteristics 2019-06-25 17:49:47 +02:00
Magne Sjaastad
3c644629df #4136 Export of Flow Characteristics : Use CSV text export 2019-06-23 18:32:05 +02:00
Magne Sjaastad
7879fe186d #4136 Export of Flow Characteristics : Create text for export and add context menu 2019-06-23 15:18:17 +02:00
Magne Sjaastad
79df075fe4 #4136 Export of Flow Characteristics : Rename 2019-06-23 15:12:33 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
77dbd8a25f Whitespace 2019-03-27 19:20:42 +01:00
Magne Sjaastad
d0a23252ab #4239 Show Well Allocation Plots: Add well name to suggested view name 2019-03-27 19:19:19 +01:00
Magne Sjaastad
3f05300d2a Use PdmUiPushButtonEditor::configureEditorForField 2017-11-16 12:51:55 +01:00
Bjørn Erik Jensen
ae20e1af10 Refactoring. RimViewWindow.loadDataAndUpdate -> onLoadDataAndUpdate 2017-10-31 12:49:36 +01:00
Rebecca Cox
9bd556a1b9 #1996 Remane RimFieldCollection -> RimFaultInViewCollection 2017-10-17 09:52:31 +02:00
Jacob Støren
642348ffed #1804, #1803 Add icons to Flow Char and Tof Acc Sat plots 2017-09-07 14:23:50 +02:00
Bjørnar Grip Fjær
c736e10ad5 #1836 Add region selection threshold fields 2017-08-29 16:21:19 +02:00
Bjørnar Grip Fjær
78760d569e #1807 Ensure flow characteristics plot is updated when view geometry changes when using visible cells filtering 2017-08-24 13:28:17 +02:00
Bjørnar Grip Fjær
f4ca6395cd Turn off fault when showing flow characteristics region 2017-08-24 09:53:27 +02:00
Bjørnar Grip Fjær
5ead49e01e #1807 Add option to use visible cells in view as region selection in flow characteristics plot 2017-08-24 09:28:05 +02:00
Bjørnar Grip Fjær
ca8a20d250 Rename "Filter" to "Tracer Filter" in flow characteristics plot 2017-08-22 14:02:26 +02:00
Bjørnar Grip Fjær
f009a63efd Fix error exception if Show Region dialog is cancelled in flow characteristics plot 2017-08-22 11:48:37 +02:00
Bjørnar Grip Fjær
1983696a34 Move case selection to top of flow characteristics plot property editor 2017-08-22 11:48:37 +02:00
Bjørnar Grip Fjær
279ffe1730 #1799 Ensure tracers and time steps have values when entering flow characteristics plot initially 2017-08-22 11:48:37 +02:00
Bjørnar Grip Fjær
9392821f8f #1801 Flow Characteristics Plot: Sort wells according to Status and name 2017-08-21 13:37:35 +02:00
Bjørnar Grip Fjær
6c0f4fa0c0 #1806 Ensure time steps are calculated when opening project with saved flow characteristics plot 2017-08-21 13:09:06 +02:00
Bjørnar Grip Fjær
cf87e7f312 #1805 Add options group to flow characteristics plot 2017-08-21 11:51:34 +02:00
Bjørnar Grip Fjær
8bc59162e6 #1805 Hide "Show Region" when all active cells is selected in flow characteristics plot 2017-08-21 11:49:54 +02:00
Bjørnar Grip Fjær
44fa306ce1 #1805 Make * indicate calculated time step in flow characteristics plot 2017-08-21 11:48:41 +02:00
Bjørnar Grip Fjær
172eb2ed14 #1805 Rename "Cell Selection" to "Cell Filter" in flow characteristics plot 2017-08-21 11:39:11 +02:00
Bjørnar Grip Fjær
a293ef9c59 #1805 Rename time step selection options in flow characteristics plot 2017-08-21 11:37:45 +02:00
Bjørnar Grip Fjær
b603225c97 #1805 Right adjusting push buttons in flow characteristics plot 2017-08-21 11:35:58 +02:00
Bjørnar Grip Fjær
04fe59bc07 #1805 Create time steps UI group for flow characteristics plot 2017-08-21 11:29:34 +02:00
Bjørnar Grip Fjær
37e25da692 #1805 Flow Characteristics Plot: Make "Selected" time steps default 2017-08-21 11:25:40 +02:00
Bjørnar Grip Fjær
41502cb9b7 #1377 Add view selection to Show Region button in flow characteristics plot 2017-08-17 13:49:51 +02:00
Bjørnar Grip Fjær
65ce0d3788 #1377 Flow Characteristics Plot: Calculate for a defined set of cells 2017-08-17 11:25:13 +02:00
Magne Sjaastad
56afc497b3 Add missing includes 2017-08-11 14:27:23 +02:00
Bjørnar Grip Fjær
efb79ac753 #1202 Flow: Handle separate phase solutions 2017-08-10 15:08:30 +02:00
Bjørnar Grip Fjær
7598d8c196 #1696 Threshold option for aquifer cells 2017-08-09 14:10:39 +02:00