Commit Graph

42 Commits

Author SHA1 Message Date
Magne Sjaastad
ed86954a1a Remove file global defines 2020-06-04 11:33:09 +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
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
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +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
Gaute Lindkvist
1e994ac8b8 #4117 Improve time step names for Grid Cross plot categorisation 2019-02-27 11:38:35 +01:00
Gaute Lindkvist
4c026952a1 #4134 #4124 Refactor RiuSummaryQwtPlot on top of a base RiuQwtPlot class and use this for Cross Plots
* Get a lot of functionality included: zoom, panning, etc.
2019-02-26 11:44:26 +01:00
Magne Sjaastad
d460d3d77d #3944 clang-tidy : Apply modernize-deprecated-headers 2019-01-11 08:14:53 +01:00
Magne Sjaastad
766fea603e #3512 System : Remove unused functions 2018-10-18 15:14:25 +02:00
Magne Sjaastad
bbebbf108f #3340 Remove unused variables 2018-09-10 10:27:54 +02:00
Bjørn Erik Jensen
11aeda63d9 #2962 Summary import performance. Preliminary optimization of summary groups and ensemble import 2018-06-06 09:49:58 +02:00
Bjørn Erik Jensen
7103ff73a2 Renaming 'Restart Files' to 'Origin Files' 2018-05-15 15:08:25 +02:00
Bjørn Erik Jensen
d5037bd982 #2812 Origin import dialog. Set arrow cursor while dialog is open 2018-04-30 14:03:46 +02:00
Bjørn Erik Jensen
b34deb1038 #2813 Origin import dialog. Add text '+ xxx more files' if number of origin files exceedes 4 2018-04-30 11:26:31 +02:00
Bjørn Erik Jensen
39cfc687bd #2813 Origin import dialog. Copy file name context menu 2018-04-30 10:44:07 +02:00
Bjørn Erik Jensen
14d78571a8 #2813 Origin import dialog. Add toggle 'show full paths' 2018-04-27 15:37:35 +02:00
Bjørn Erik Jensen
6463a67107 #2813 Origin import dialog. Bold group box titles 2018-04-27 13:21:00 +02:00
Bjørn Erik Jensen
313ae8f505 #2813 Origin import dialog. Spacing between groups 2018-04-27 13:07:53 +02:00
Bjørn Erik Jensen
4c2eeb9a9f #2813 Origin import dialog. Full path in tool tip 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
fa2c188452 #2813 Origin import dialog. Import options group box replaced by label 2018-04-27 12:43:32 +02:00
Bjørn Erik Jensen
0fcdfadddc #2813 Origin summary dialog. 'Ok to all' button 2018-04-27 08:27:16 +02:00
Magne Sjaastad
c267f32638 Rename to RiuPlotMainWindow 2018-04-27 06:28:08 +02:00
Bjørn Erik Jensen
3647792eb9 #2807 Origin summary files. Fix 'OK to all' not working issue 2018-04-26 14:27:23 +02:00
Bjørn Erik Jensen
ad6ef2a49b #2806 Origin summary files dialog. Replace text 'Apply settings to...' to 'OK to All' 2018-04-26 09:51:35 +02:00
Gaute Lindkvist
3a670d94a2 #2801 Fix Cotire build. 2018-04-25 14:13:12 +02:00
Gaute Lindkvist
e953d6800c #2795 Summary Case Import: When importing grids keep going even if summary file import fails. 2018-04-24 15:55:51 +02:00
Gaute Lindkvist
f456911c80 #2794 Summary Case Import: Improve error reporting.
* When an error is found with one summary case file, continue importing all the files that worked.
* Report an error in the log window and a message box afterwards about the case that failed.
* Fix crash when loading .EGRID file without a summary case.
2018-04-24 14:19:08 +02:00
Bjørn Erik Jensen
c3ae45e748 #2766 Bugfix. Import egrid files even though there are no associated summary files 2018-04-20 08:28:04 +02:00
Bjørn Erik Jensen
7afa753d11 #2714 Display a warning in origin summary import dialog when ecllib may fail to read origin files 2018-04-17 11:01:45 +02:00
Bjørn Erik Jensen
0fcc0bea4c 2743 Origin summary import dialog adjustments 2018-04-16 14:11:31 +02:00
Bjørn Erik Jensen
e5e9692eb5 #2710, #2719 Restart preference and dialog adjustments. And some bugfixes 2018-04-13 15:47:43 +02:00
Bjørn Erik Jensen
d7e7c4a463 #2720, #2686, #2701 Origin summary and grid cases import enhancements 2018-04-13 15:47:42 +02:00
Bjørn Erik Jensen
ee9e9b2989 #2685 Origin summary. Split preferences settings into two fields 2018-04-09 13:22:05 +02:00
Bjørn Erik Jensen
1369b11e6e #2555 Guarding for nullptr and some minor fixes 2018-03-21 14:47:23 +01:00
Bjørn Erik Jensen
95a9744241 #2555 Add time period for current file as well 2018-03-20 14:32:56 +01:00
Bjørn Erik Jensen
d5bbeffdd0 #2555 Refactored summary restart file import 2018-03-20 14:32:55 +01:00
Bjørn Erik Jensen
2f11395525 #2555 Add preferences for summary restart file import 2018-03-20 14:32:55 +01:00
Bjørn Erik Jensen
2a84cb6ddf #2555 Handle import to separate cases 2018-03-20 14:32:55 +01:00
Bjørn Erik Jensen
8889bdf6d4 #2555 Add applyToAll checkbox 2018-03-20 14:32:54 +01:00
Bjørn Erik Jensen
f98dc2fe5e #2555 Add current summary file to dialog 2018-03-20 14:32:54 +01:00
Bjørn Erik Jensen
208d738846 #2555. Add summary restart file import dialog 2018-03-20 14:32:54 +01:00