Commit Graph

449 Commits

Author SHA1 Message Date
Gaute Lindkvist
510ea3f8be Fix build problem on Linux in RicSUmmaryPlotFeatureImpl 2019-08-26 11:57:05 +02:00
Gaute Lindkvist
84c1442af7 #4617 Disallow creating ensemble curve sets if you have no ensemble 2019-08-22 13:07:21 +02:00
Jacob Støren
93b4101831 #4003 Use the preferences settings when creating default summary plots.
Refactored to make assigning default curve appearance easier.
2019-08-09 13:15:32 +02:00
Jacob Støren
e915c8e18c #4003 Refactoring to prepare for preferences based default summary plot curves 2019-08-09 09:54:55 +02:00
Magne Sjaastad
4ed30ad4af Avoid using c++-14 2019-08-09 08:05:53 +02:00
Jacob Støren
0d456a1f1b #4002 Renamed feature that opens the plot editor and created feature to create a new plot directly. The new feature uses the selected summary cases and creates a default curve for each. 2019-08-08 16:22:00 +02:00
Jacob Støren
f1d4de2090 Remove calls to setUiField that are unneccessary because of changes in AppFwk 2019-05-06 11:58:06 +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
31bcc08546 #4017 Remove unused variables 2019-04-29 19:17:32 +02:00
Magne Sjaastad
987cb92f43 #4017 Automatic parsing of date-time format in CSV Observed Time History Data 2019-04-29 13:35:09 +02:00
Magne Sjaastad
77a12f13c1 #4017 Add function used to determine date format from text string 2019-04-29 12:55:39 +02:00
Gaute Lindkvist
867c541b7b #4282 Improve look of Summary Plot Editor after layout changes
* In particular make the QMinimizePanel title panel fixed in size.
2019-04-05 15:42:20 +02:00
Gaute Lindkvist
94a8c35311 #4282 Move new Grid Layout creation inside form layout object editor 2019-04-05 13:28:23 +02:00
Gaute Lindkvist
e8efe81796 #4176 Add keyboard shortcuts to Zoom all (Ctrl+Alt+A) and view directions (Ctrl+Alt+N/W/S/etc) 2019-03-27 13:18:19 +01:00
Gaute Lindkvist
3d3868e29d Fix up keyboard shorcut on < Qt 5.10 2019-03-27 12:01:49 +01:00
Magne Sjaastad
ba91122ba6 #4087 Ensemble : When importing and ensemble, show by default an ensemble plot 2019-02-18 13:25:53 +01:00
Magne Sjaastad
803e6cd2b4 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Magne Sjaastad
f4e0a154ee #4038 2D plot Source data stepping re-set curve interpolation 2019-02-07 08:30:55 +01:00
Magne Sjaastad
791a896be4 #3952 Summary : Create plot if no plot exists when loading summary case 2019-01-14 13:54:19 +01:00
Magne Sjaastad
a9c7773ef7 CppCheck : Fix various minor issues 2018-12-21 12:32:57 +01:00
Magne Sjaastad
6f3097dd5f Merge remote-tracking branch 'origin/2018.11.01-patch' into dev 2018-12-21 08:46:27 +01:00
Magne Sjaastad
284e07b967 #3907 Summary : Consider combined curve count when assigning color 2018-12-20 10:46:48 +01:00
Jacob Støren
07f8221676 #3898, #3899, #3900 Better source stepping command icons. Combine curve and stepping icons. Improved Clear source curve command enabling 2018-12-18 17:15:54 +01:00
Magne Sjaastad
9af5adf066 #3842 Summary : Commands for set/clear of stepping data source 2018-12-17 16:00:40 +01:00
Magne Sjaastad
6665ac9cc6 #3796 Summary Plot Stepping toolbar : Update on plot editor close 2018-12-12 11:22:59 +01:00
Magne Sjaastad
a85b958a0f #3796 Summary Plot Stepping toolbar : Update on plot editor close 2018-12-12 11:21:21 +01:00
Jacob Støren
92a45e959e #3757 Rename RiuSelectionManager to Riu3dSelectionManager 2018-11-30 14:30:34 +01:00
Gaute Lindkvist
5c66b901c3 #3752 ResInsight code changes to build on both Qt4 and Qt5 2018-11-30 09:47:53 +01:00
Magne Sjaastad
89098705cb Whitespace 2018-11-22 16:02:44 +01:00
Magne Sjaastad
5603fcf21d #3688 Summary Plot : Update of source stepping toolbar fails sometimes 2018-11-22 16:01:27 +01:00
Magne Sjaastad
6346ed012c clang-tidy : Remove redundant 'virtual' and add 'override' 2018-10-18 19:45:57 +02:00
Magne Sjaastad
726658d642 #3512 System : Remove unused functions 2018-10-18 15:40:11 +02:00
Magne Sjaastad
dc02c9d2a1 CppCheck : Add override 2018-10-12 16:37:04 +02:00
Magne Sjaastad
046c05e76e #3476 Regression Test : Use lastUsedDialogDirectoryWithFallbackToProjectFolder 2018-10-10 08:02:41 +02:00
Gaute Lindkvist
e8a1d30f2d #3404 Side by side editors, first implementation. 2018-09-26 14:30:50 +02:00
Bjørn Erik Jensen
ce59e8a0d0 #3320 Observed data import. Line based CSV import 2018-09-19 13:03:21 +02:00
Bjørn Erik Jensen
5dc4eae4de #3370 Ensemble curves. Fix crash and duplicate grouped curves issue 2018-09-18 11:30:05 +02:00
Bjørn Erik Jensen
b4dd37337a #3318 Plot editor performance. Several performance fixes 2018-09-13 12:38:50 +02:00
Magne Sjaastad
bbebbf108f #3340 Remove unused variables 2018-09-10 10:27:54 +02:00
Gaute Lindkvist
12484bf1e9 #3297 Make casing shoe a right-angled triangle and refactor symbols
* Put plot symbol enum inside the symbol class.
* Put line style enums inside the line class.
* Add custom capability.
2018-09-04 12:02:06 +02:00
Jacob Støren
8fca7475e9 caf: Renamed the WidgetBasedObjectEditor to FormLayoutObjectEditor 2018-08-27 16:25:26 +02:00
Bjørn Erik Jensen
8b14a01a2b #3200 Plot editor. Remove curve sets correctly 2018-08-14 11:01:19 +02:00
Magne Sjaastad
fe07b60392 CppCheck : Several fixes
Add missing initializers
Guard potential null pointer access
2018-08-02 19:22:03 +02:00
Bjørn Erik Jensen
60146be146 #3167 CSV parser. Try a fallback datetime format if parsing fails 2018-07-06 15:01:25 +02:00
Bjørn Erik Jensen
1c28edf2cb #3146 Summary plot. Ensemble color assignment fix. The appearance apply button now works for curve sets as well 2018-07-05 11:38:59 +02:00
Bjørn Erik Jensen
28993dae49 #3140 CSV import dialog. Add time format 'None' which is default 2018-07-04 10:29:43 +02:00
Bjørn Erik Jensen
9fd38064df #3133 CSV import. Assume that all data columns are numeric columns 2018-07-02 15:14:32 +02:00
Bjørn Erik Jensen
02059debf9 #3087 Show plot data. Add context menu: export to file 2018-07-02 14:29:46 +02:00
Bjørn Erik Jensen
dde88a010e #3109 Ensemble calculation. Display warning dialog when no cases from the two ensembles match 2018-06-28 08:34:28 +02:00
Bjørn Erik Jensen
bb2e136df7 #3080 Ensemble statistics curves. Fix typo 2018-06-27 11:35:29 +02:00
Bjørn Erik Jensen
898df5b68a #3096 Implemented ensemble calulations 2018-06-25 15:15:30 +02:00
Bjørn Erik Jensen
2eef989389 #3060 Resampled plot export. Implement dialog. Resample plot data according to spec from Equinor 2018-06-20 09:41:01 +02:00
Magne Sjaastad
17ee25d0b2 AppFwk : Rename to uiField() and setUiField() 2018-06-15 14:22:03 +02:00
Bjørn Erik Jensen
9cf4938651 #2659 Ensemble statistics. Do not show statistic curves in curve creator 2018-06-15 10:54:30 +02:00
Bjørn Erik Jensen
661ce06553 #3030 Ensemble curve filter. Move filters to table in property editor 2018-06-13 09:06:34 +02:00
Magne Sjaastad
d09df6807d #3037 Rename to setChildArrayField 2018-06-11 15:30:19 +02:00
Magne Sjaastad
58ba0b2882 #2975 Ensemble Curve Set: Call updateConnectedEditors on collection 2018-06-01 15:38:48 +02:00
Bjørn Erik Jensen
0b4156da02 #2660 Ensemble curves. Curve filtering 2018-05-31 10:24:16 +02:00
Bjørn Erik Jensen
4656e34967 #2993 Ensemble. Hide 'new cross plot' ctx command for ensembles 2018-05-28 14:36:44 +02:00
Bjørn Erik Jensen
278c8b672b #2958 Ensemble curve sets. Make ensemble selected by default on 'new summary plot' command 2018-05-28 13:26:56 +02:00
Bjørn Erik Jensen
10b3d0f6db #2776 Error bars. Moved eclipse address parsing to RifEclipseSummaryAddress class 2018-05-28 11:20:20 +02:00
Bjørn Erik Jensen
6913a6829f #2979 Summary curves. Set symbol skip distance to 0 when creating new observed data curves 2018-05-25 11:28:55 +02:00
Bjørn Erik Jensen
cb74354bc2 Ensemble curves. Increased ensemble curve count threshold from 200 to 600 2018-05-16 14:54:16 +02:00
Jacob Støren
a222c096f3 #2917 Vector Selection Dialog: Rename method for retreiving all expanded curve defintions. Add method to retreive only the selection (one definition pr ensemble curve set) 2018-05-15 14:26:28 +02:00
Magne Sjaastad
19125396a1 #955 Toolbar Button State : Mark calculator button as disabled if no case is open 2018-05-15 10:41:27 +02:00
Bjørn Erik Jensen
6edd240c4c #2912 Ensemble curves. Fixes regarding summary curve definitions 2018-05-15 10:12:04 +02:00
Gaute Lindkvist
77dd3cbc43 #2690 Update all summary curves, not just visible when changing the vector for the whole collection
* Also make sure the curve names take into account all curves in the project tree and in the legend text.
* Make sure plot name is updated when a curve is deleted.
2018-05-15 08:43:50 +02:00
Magne Sjaastad
e5227c15f0 #2915 Return if no target plot is available 2018-05-14 20:39:25 +02:00
Magne Sjaastad
94ab7b7923 #955 Guard nullptr access 2018-05-14 20:31:27 +02:00
Magne Sjaastad
6fcc91cdcd #955 Cleanup includes and fix whitespace 2018-05-14 20:31:27 +02:00
Bjørn Erik Jensen
7c0017923c #2658 Ensemble curves. Warning when too many ensemble curves 2018-05-14 14:52:02 +02:00
Bjørn Erik Jensen
dc319646b2 #2658 Ensemble curves. Fix curve set coloring. Minor fixes.Some ClangFormat auto-changes 2018-05-14 09:51:24 +02:00
Magne Sjaastad
078191610c #2903 Plot Name and Legend Text : Fix update of ensembles from curve creator 2018-05-11 20:21:44 +02:00
Bjørn Erik Jensen
38540a0a39 #2904 Curve creator. .Fix initial curve visibility 2018-05-11 15:43:12 +02:00
Bjørn Erik Jensen
9f1ea2c42a Curve creator. Fix curve visibility settings 2018-05-11 13:46:42 +02:00
Bjørn Erik Jensen
fcea3ec40f #2658 Curve creator. Update curve tree view to display ensembles as well 2018-05-11 12:35:09 +02:00
Bjørn Erik Jensen
1a725de91b Fix build error 2018-05-11 08:35:56 +02:00
Jacob Støren
bb033eb561 #2883, #2890 Fix color assignment and stability for ensemble curve sets 2018-05-11 08:04:09 +02:00
Bjørn Erik Jensen
6270dd3bc9 #2692 Ensemble curves. Add ensemble selection support to curve editor 2018-05-10 21:30:14 +02:00
Bjørn Erik Jensen
98daab46a3 #2819 Ensemble curves. Distinguish between summary case group and ensemble 2018-05-08 15:22:38 +02:00
Bjørn Erik Jensen
763d25040e #2840 Ensemble curve. Copy/paste og curve sets 2018-05-08 10:17:18 +02:00
Bjørn Erik Jensen
7903a62cc5 #2818 Summary. Add new-plot-commands to context menus 2018-05-07 09:46:45 +02:00
Jacob Støren
9885c9d2d7 #2809, #2858, #2859 Fix icon inconsistencies. Edd icons for ensemble curves and new icons for cross plot 2018-05-06 10:09:39 +02:00
Magne Sjaastad
1a0f242c0b #2780 Ensemble Curve Set : Improve plot title including ensembles 2018-04-30 08:01:17 +02:00
Magne Sjaastad
c267f32638 Rename to RiuPlotMainWindow 2018-04-27 06:28:08 +02:00
Bjørn Erik Jensen
e5570441f6 #2751 Rename ensamble to ensemble 2018-04-19 14:00:18 +02:00
Bjørn Erik Jensen
21a81744f1 #2610 New command, display ensamble curves with single color 2018-04-06 11:58:06 +02:00
Magne Sjaastad
25a1823f35 Merge branch 'dev' into cmake-improvements 2018-02-28 08:47:01 +01:00
Magne Sjaastad
89c090ba24 #2536 Build System : Remove obsolete code for cmake older than "2.8.2" 2018-02-28 08:05:00 +01:00
Jacob Støren
72013f4ff8 #2535 Use the MainWindowTools class instead of MainWindow directly (part 2) 2018-02-27 16:46:53 +01:00
Jacob Støren
d74807d669 #2535 Use the MainWindowTools class instead of MainWindow directly (part 1) 2018-02-27 16:46:53 +01:00
Magne Sjaastad
1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Magne Sjaastad
bf0b4f68e1 Merge message box fixes into dev, #2443 2018-02-02 14:47:05 +01:00
Magne Sjaastad
dc0c6d1b47 #2443 : Remove obsolete includes of QMessageBox 2018-02-02 09:37:00 +01:00
Bjørn Erik Jensen
7779ff5ed0 Merge branch '2018.01.01-patch' into dev. #2229 2018-01-31 08:33:51 +01:00
Bjørn Erik Jensen
fa66cf14cd #2229 curve creator. Update when adding/deleting calculated curves as well 2018-01-31 08:32:14 +01:00
Rebecca Cox
47d8508196 Merge remote-tracking branch 'origin/2018.01.01-patch' into dev 2018-01-26 10:29:01 +01:00
Magne Sjaastad
0559084d93 #2325 Summary plot: Apply axis settings on preview plot 2018-01-25 21:16:35 +01:00
Rebecca Cox
81a7fb204d #2360 Elm Props: Correct UI text 2018-01-10 16:32:59 +01:00
Jacob Støren
cb6d49a611 #2331 Renamed RimView to Rim3dView 2018-01-09 10:11:28 +01:00
Magne Sjaastad
57a691f8da Remove "ResInsight:" prefix 2017-12-18 14:30:19 +01:00
Magne Sjaastad
7e71f50581 #2248 Source Stepping : Update toolbar when required for cross plot curves 2017-12-15 12:16:47 +01:00
Magne Sjaastad
2771270d24 #2248 Source Stepping : Update toolbar on new / delete of summary curve 2017-12-15 10:37:55 +01:00
Bjørn Erik Jensen
e35a448dae Summary Cross Plot. Hide Paste Excel data for cross plots 2017-12-15 10:10:21 +01:00
Bjørn Erik Jensen
0cce524af1 Summary plot. Fix paste excel data command name 2017-12-15 10:01:39 +01:00
Bjørn Erik Jensen
3034fdd289 #2268 Summary plot. Fix missing Switch Axis command 2017-12-15 09:19:22 +01:00
Magne Sjaastad
3b9e7d0106 Avoid call to updateConnectedEditors from updatePlotTitle 2017-12-14 15:04:18 +01:00
Jacob Støren
ebe60d8b16 Curve Creator Curve Name Configuration group name updated 2017-12-14 13:05:37 +01:00
Magne Sjaastad
9a805ac834 #2262 Curve Creator : Improved default collapsed state of UI groups 2017-12-14 10:14:22 +01:00
Magne Sjaastad
a37771e933 #2262 Curve Creator : Add support for creation of new auto titled plots 2017-12-14 10:13:53 +01:00
Magne Sjaastad
53d1c7ef66 #2262 Summary Curve Creator : Add support for auto plot title 2017-12-14 09:59:19 +01:00
Magne Sjaastad
898c7a0483 #987 Curve Creator : Use auto-generated plot name as default plot name 2017-12-13 08:06:34 +01:00
Bjørn Erik Jensen
9769d391e1 #2199, #2245 Summary plots. Add paste commands for cross plot. Add duplicate summary plots and curves 2017-12-12 13:22:36 +01:00
Bjørn Erik Jensen
c1537664e3 Revert "2108 summary plot. Display short name in plot for calculated curves"
This reverts commit 83a272296c.
2017-12-11 14:54:58 +01:00
Jacob Støren
04e5ccfd7e #2238 Lift limitation of plotting Flooded PV as time history curve 2017-12-07 19:31:28 +01:00
Magne Sjaastad
93b69b807f #2198 Summary Plot : Set default curve selection 2017-12-04 14:36:17 +01:00
Magne Sjaastad
67fe2e268a #2211 Curve Calculator : Add default curve calculation before displaying dialog 2017-12-04 11:58:24 +01:00
Magne Sjaastad
f79e31be8f #2216 Disable creation of new calculation object as this causes crash
Introduced in  8281391fb9
2017-12-04 10:21:02 +01:00
Bjørn Erik Jensen
8281391fb9 #2211 Curve calc. Create new calculation if empty 2017-12-01 15:36:46 +01:00
Bjørn Erik Jensen
83a272296c 2108 summary plot. Display short name in plot for calculated curves 2017-12-01 15:27:47 +01:00
Magne Sjaastad
6103f290bf #2170 Summary Case: Simplified access function to all cases, remove unused function 2017-12-01 13:55:39 +01:00
Bjørn Erik Jensen
a460124055 CSV import. Add tooltip to custom date time format field 2017-11-30 15:23:59 +01:00
Rebecca Cox
bb4390651d #2144 Context menu: Remove commands from well path and sim well 2017-11-30 12:06:14 +01:00
Bjørn Erik Jensen
1eb4c4d3e6 #1929. Remove all parts of summary curve filter which is not needed for backward compatibility 2017-11-30 11:05:30 +01:00
Magne Sjaastad
1d9d8f6794 Add RiuTools with function for default window flags 2017-11-29 08:50:48 +01:00
Bjørn Erik Jensen
622161776e CSV import. Rename ColumnInfo to Column 2017-11-28 11:35:17 +01:00
Bjørn Erik Jensen
0dbcc43d9c CSV import dialog. Highlight selected time series column 2017-11-28 11:02:46 +01:00
Bjørn Erik Jensen
4b14a4fdda CSV import dialog. Use html table in preview text box 2017-11-28 11:02:46 +01:00
Bjørn Erik Jensen
6d4820a691 CSV import. Replaced old ASCII parser by the new RifCsvUserDataParser 2017-11-28 11:02:46 +01:00
Bjørn Erik Jensen
bdc680bc03 ASCII import dialog. Determine default decimal separator 2017-11-27 12:39:12 +01:00
Bjørn Erik Jensen
e53059e2c8 ASCII import dialog. Update preview when cell separator is modified 2017-11-27 11:35:00 +01:00
Bjørn Erik Jensen
2d221495eb ASCII import dialog. Use monospace font in preview widget 2017-11-27 11:01:37 +01:00
Bjørn Erik Jensen
4a61692d36 ASCII import. Reorganize dialog layout 2017-11-27 11:01:37 +01:00
Bjørn Erik Jensen
f34b2bb612 CSV import. Add argument to method. Texts in drop down 2017-11-27 11:01:37 +01:00
Magne Sjaastad
3e5a4945d1 QDialog Constructor : Use windows flags to avoid '?' on Windows 2017-11-27 09:16:18 +01:00
Magne Sjaastad
128f2eaee7 #2178 Summary Curve Edit : Create autoname for plot when possible 2017-11-27 09:16:18 +01:00
Magne Sjaastad
5e3467a5f6 (#861) Summary Plot : Add support for autogenerated plot name 2017-11-24 15:33:50 +01:00
Magne Sjaastad
20b3de9f7a Remove unused function 2017-11-24 15:33:49 +01:00
Bjørn Erik Jensen
800ac30d81 #2018 CSV import. Modify CSV parser interface. Optimization. 2017-11-24 13:54:01 +01:00
Bjørn Erik Jensen
3872be8f35 #2018 CSV import. More date formats. Bugfix in import dialog 2017-11-24 13:54:01 +01:00
Bjørn Erik Jensen
28db4c6e22 #2018 CSV import. Fix decimal point/locale 2017-11-24 13:54:01 +01:00
Bjørn Erik Jensen
11100fb6e0 #2018 CSV import. Select time series column. Columnify preview. Refactoring 2017-11-24 13:54:01 +01:00
Bjørn Erik Jensen
8dd804b5ee Parse options. Rename field 2017-11-24 13:54:01 +01:00
Bjørn Erik Jensen
fb24a9f29b #2018 CSV data. First working version of CSV import 2017-11-23 08:02:27 +01:00
Bjørn Erik Jensen
d7dc304eca #2018 Ascii data. Add preview text field to ascii paste dialog 2017-11-23 08:02:27 +01:00
Magne Sjaastad
3b31c4800f #2091 Cross Plot : Rename to using X or Y as postfix to interface 2017-11-15 13:53:32 +01:00
Magne Sjaastad
f14eb44efd #2089 Cross Plot : Make sure context menu items works as expected 2017-11-15 07:07:46 +01:00
Magne Sjaastad
d198ae44ba #2092 Cross Plot : Detect if curve is a cross plot curve based on anchestor 2017-11-14 12:58:28 +01:00
Magne Sjaastad
b72ce60379 #2089 Cross Plot : Add new cross plot curve feature 2017-11-14 12:58:28 +01:00
Magne Sjaastad
9adb9ba4b1 #2088 Curve Calculator : Ask user to calculate curves when expression has changed 2017-11-14 08:41:44 +01:00