Commit Graph

1513 Commits

Author SHA1 Message Date
Magne Sjaastad
6830d79de7 #4410 Dock Window State : Move plot widget names to DockWidgetTools 2019-05-15 10:52:27 +02:00
Magne Sjaastad
f43edf3c7d #4410 Dock Window State : Create static functions instead of singleton 2019-05-15 10:47:30 +02:00
Magne Sjaastad
11433241fd #4410 Dock Window State : Remove obsolete code 2019-05-15 10:31:56 +02:00
Magne Sjaastad
bf6b5652b3 #4410 Dock Window State : Give dock widgets unique names 2019-05-15 09:45:44 +02:00
Magne Sjaastad
1a67773ace #4410 Dock Window State : Remove obsolete functions 2019-05-15 07:35:53 +02:00
Magne Sjaastad
ac8ea73c36 #4395 Robustness : Guard array out of bounds access 2019-05-07 07:24:13 +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
8ce9f63487 #4328 Stimulation wells in 3D-view: Render well head using pipe color
If well head is a real connection, render as normal connection. If dummy connection, render as pipe color
2019-04-26 13:30:29 +02:00
Magne Sjaastad
60153b20ec
Merge pull request #4350 from OPM/cpp-check-cleanup
Cpp check cleanup
2019-04-24 09:09:18 +02:00
Magne Sjaastad
6dd3b36f86 Regression Test : Allow execution of tests starting at filter folder 2019-04-24 08:06:13 +02:00
Magne Sjaastad
5123d5d0c5 #4351 Regression test : Guard null pointer access 2019-04-24 07:46:51 +02:00
Gaute Lindkvist
2e13e53b3c Make the preference dialog slightly narrower 2019-04-23 08:38:49 +02:00
Gaute Lindkvist
0861a79dfa #4320 Add create valve to 3d context menu when clicking on perforation 2019-04-23 08:25:39 +02:00
Gaute Lindkvist
1caed321b0 #4323 Avoid time step legend showing up unexpectedly in grid cross plots 2019-04-23 08:23:38 +02:00
Magne Sjaastad
8cefcbb562 #4348 System , cppcheck : Remove unused variables 2019-04-20 15:11:21 +02:00
Magne Sjaastad
25d5120190 #4153 Process Monitor : Avoid setting special font in process monitor 2019-04-20 13:13:27 +02:00
Gaute Lindkvist
e0bbda85d9 #4312 Move handleMdiWindowClosed call from widget destructors to MdiSubWindow closeEvent
* This way the mdi window still exists at the time of removal and we can handle the removal orderly
2019-04-16 12:14:54 +02:00
Gaute Lindkvist
e41f8ec149 #4312 Force new current sub window in MDI area to be maximized if closing a sub-window that was maximized 2019-04-15 15:33:31 +02:00
Gaute Lindkvist
edf46496b7 #4341 Make docked plots follow font size preferences (but subtract 1 in point size)
* The docked plots have much less space available than most plots
2019-04-15 15:08:15 +02:00
Gaute Lindkvist
f9e3db6aa6 #4336 Fix deletion of grid cross plot legends 2019-04-15 10:38:29 +02:00
Gaute Lindkvist
6f7a75f5c2 Add a margin of 4 pixels around every plot to avoid text going all the way to the edge 2019-04-15 09:58:08 +02:00
Gaute Lindkvist
9d06b59357 #4255 Read default plot font sizes from preferences and apply 2019-04-12 14:47:21 +02:00
Gaute Lindkvist
798e3ff19e #4256 Update fonts in Project and views when changing preferences 2019-04-12 14:47:21 +02:00
Gaute Lindkvist
35e1d5d455 More Qt4 compile issues 2019-04-09 08:20:18 +02:00
Gaute Lindkvist
08b996405f Fix Linux compile warning with CDE 2019-04-09 08:18:34 +02:00
Gaute Lindkvist
4e10aa8ffa #4262 Tidy up well path menus 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
dbac2d71c8 Remove CDE style from progress bar for Qt4. Just use style sheets. 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
8e720f7077 Fix frame on Histogram 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
7f926a5a4d Unify look of frames in 3d View using stylesheets 2019-04-08 14:24:43 +02:00
Gaute Lindkvist
22880d511b #4280 Improve animation progress bar 2019-04-08 14:24:43 +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
9c2ed5ad92 Block changes to selection during resize and tiling 2019-04-04 19:23:52 +02:00
Gaute Lindkvist
000b6713b1 #4283 Improve window tiling during resize 2019-04-04 19:23:43 +02:00
Gaute Lindkvist
038d7a7676 #4097 Implement stretch factors for editors 2019-04-04 11:19:35 +02:00
Gaute Lindkvist
209146ebae #4260 Support changing IJK bounding box in sector model and remodel UI 2019-04-02 09:51:58 +02:00
Gaute Lindkvist
59229b89b7 #4258 Rename Grid Cross Plot "Curve Sets" to "Data Sets". Also renamed code
* Kept XML-strings to avoid breaking compatibility
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
421c374fde #4265 Remove minimize button from MDI windows. It serves no real purpose. 2019-03-29 12:47:35 +01:00
Gaute Lindkvist
5695b8ada7 #4263 Fix saving of MDI window geometry without unmaximizing the window before saving 2019-03-29 12:47:35 +01:00
Magne Sjaastad
8c1c4ea767 #4240 Project Tree : Make sure setActiveReservoirView is called 2019-03-29 12:36:00 +01:00
Magne Sjaastad
16540f6607 Refactor : Use range based for and rename 2019-03-29 11:30:37 +01:00
Magne Sjaastad
de7c05f5cb Refactoring : Use range based for 2019-03-29 11:26:12 +01:00
Magne Sjaastad
b26c61b7bf #4240 Project Tree : Keep selection when clicking on cells
When current selection in project tree is part of a 3D view, update the selection accordingly. If an item unrelated to 3D view is selected, do nothing when clicking in the 3D view.
2019-03-29 11:23:46 +01:00
Magne Sjaastad
c4b0bf5890 #4221 MDI window : Move MDI handling to RiuMainWindowBase 2019-03-29 08:26:34 +01:00
Gaute Lindkvist
75b0905e26 #4243 Grid Cross Plot: Make legend icons black & white when grouping is enabled and set size from font size 2019-03-29 07:53:54 +01:00
Gaute Lindkvist
47a559b3a8 #4247 Minor improvements to export sector model UI 2019-03-28 22:41:03 +01:00
Gaute Lindkvist
d4f3701da6 #4245 Add export sector model to regular export menu 2019-03-28 20:42:13 +01:00
Gaute Lindkvist
337345a887 #4222 Add axis labels to Grid Cross Plot pick info 2019-03-27 15:17:52 +01:00
Gaute Lindkvist
a168f8a206 #4238 Increase the size of grid cross plot legends if window has been decreased and then increased again 2019-03-27 15:02:12 +01:00
Gaute Lindkvist
b08504fe05 #4236 Partial revert of fixes for #4221
* The line in RiuPlotMainWindow from  ef182da8a9 is set back to before
2019-03-27 14:20:39 +01: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
Gaute Lindkvist
9306961df4 #4176 Enable Del keyboard shortcut for delete commands 2019-03-27 11:03:10 +01:00
Gaute Lindkvist
c3d4914997 #4077 Separate icons for different GeoMech import 2019-03-26 17:23:12 +01:00
Magne Sjaastad
9f7be1489d Whitespace 2019-03-26 16:21:28 +01:00
Magne Sjaastad
507973688e #4221 Window Management : Make sure restore of windows works from file 2019-03-26 16:19:56 +01:00
Gaute Lindkvist
009dcb5f19 #4226 Add polyline measurement mode 2019-03-26 14:19:02 +01:00
Gaute Lindkvist
5b7bf99b82 #4222 Implement picking to display point value in Grid Cross Plot 2019-03-26 14:17:35 +01:00
Gaute Lindkvist
97d71acaf8 #4220 Make sure we pass enterEvent of RiuViewer on to caf::Viewer 2019-03-26 11:34:14 +01:00
Magne Sjaastad
92578211b4 Rename to RimAdvancedSnapshotExportDefinition 2019-03-26 09:10:29 +01:00
Magne Sjaastad
8832a0a7c6 Rename to RiuAdvancedSnapshotExportWidget 2019-03-26 09:10:29 +01:00
Magne Sjaastad
3d33126dac Rename to RicAdvancedSnapshotExportFeature 2019-03-26 09:10:29 +01:00
Gaute Lindkvist
aa32caae33 #4158 Implement info box for grid cross plots and improve plot overlay legends 2019-03-25 15:15:21 +01:00
Gaute Lindkvist
44f3882ecb #4220 Apply picking cursor only when over a 3d View 2019-03-25 15:15:20 +01:00
Magne Sjaastad
ef182da8a9 #4221 Window Management : When a view or plot is maximized, show following views as maximize 2019-03-25 07:57:35 +01:00
Magne Sjaastad
0dd5d40199 #4219 Contact Pressure plots : Add color to annotation lines 2019-03-22 16:19:23 +01:00
Gaute Lindkvist
8c06d06e54 #4207 Make grid cross plot symbols smaller and enable concave symbols. 2019-03-20 13:42:01 +01:00
Magne Sjaastad
a07f375daf #4200 Grid Cross Plot : Adjustments for Linux 2019-03-19 15:39:49 +01:00
Magne Sjaastad
15f2a76ee1 #4195 Grid Cross Plot: Add annotation item to axis 2019-03-12 16:05:58 +01:00
Gaute Lindkvist
117731a24a #4192 Add swap axis and update property editor 2019-03-12 14:34:22 +01:00
Gaute Lindkvist
e72f57072c #4185 Implement data export for Grid Cross Plot 2019-03-12 09:19:01 +01:00
Gaute Lindkvist
8382b5cfdd #4144 Remove grid import buttons from plot window and add ensemble import 2019-03-08 10:41:32 +01:00
Gaute Lindkvist
b22ca46dc5 #4187 Make WindowCloseButtonHint part of the default dialog flags
* Dialogs on the Qt5 build has the close button disabled and this fixes that.
2019-03-08 10:23:18 +01:00
Gaute Lindkvist
e00f983360 #4166 Add feature for swapping cross plot axes + tweaks to legend
* Also put x and y property side by side in property editor
2019-03-08 09:59:38 +01:00
Gaute Lindkvist
6f1ed595b5 #4184 Resize legend if it becomes larger than plot area. 2019-03-07 19:00:38 +01:00
Gaute Lindkvist
d2393cb8a5 #4156 Simplify curve naming code 2019-03-07 14:20:28 +01:00
Magne Sjaastad
102d1c75a7 #4173 Remove obsolete code 2019-03-07 10:25:14 +01:00
Gaute Lindkvist
e9e21cf30d #4171 Work around assert failure when closing main window last 2019-03-07 09:13:56 +01:00
Gaute Lindkvist
fd01871202 #4173 Fix problems with saving state when closing 3d Window before closing plot window 2019-03-07 09:13:56 +01:00
Gaute Lindkvist
0dbd3e8ad4 #4170 Add Qt version string to ResInsight registry folder
* Qt version has an impact on whether the strings are compatible.
2019-03-07 09:13:56 +01:00
Gaute Lindkvist
8845c456bc Grid Cross Plot: Use the term Grouping instead of Categorization 2019-03-05 13:35:35 +01:00
Gaute Lindkvist
ac7eccee88 #4157 Grid Cross Plot: Make categorisation legend more like ensemble legend 2019-03-05 10:41:41 +01:00
Gaute Lindkvist
be95eefd69 Repository wide spelling correction overly -> overlay
* Impacts CAF and ResInsight
2019-03-05 10:41:41 +01:00
Gaute Lindkvist
3d145464c1 #4145 #4146 Add Create Grid Cross plot command to view and rename filter view 2019-03-01 15:49:02 +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
Gaute Lindkvist
2582e98961 #4135 Fix oversized legend icon for the first cross plot entry 2019-02-25 08:32:01 +01:00
Magne Sjaastad
415a8bba94 #4131 Qt5: Use showNormal() instead of show() 2019-02-22 13:18:53 +01:00
Gaute Lindkvist
760fcaef43 #4130 3D Cross Plot: Improve window management 2019-02-21 15:42:40 +01:00
Gaute Lindkvist
7e57ec39ea 3D Cross Plot: Improve colors and symbols in legend 2019-02-21 15:42:40 +01:00
Gaute Lindkvist
a010fc03d7
3d Cross Plot: First implementation (#4127)
* First cross plot commit

* Made cross plot deal with "all time steps" and categorise curves based on time step

* Support STATIC vs DYNAMIC plotting

* #4115 Avoid updating plots in RimEclipseCase::computeCachedData()

* Make sure loading of Cross plot from file works

* Show Legend in Cross Plot

* Uncheck / Check curves to disable/enable

* Axis titles and checkable data set

* Name config and setting of common plot look

* Fix category indentation in GeoMech results

* Support name configuration for Grid Cross Plot

* Support adding new curve sets

* Improve colors and symbols with better cycling

* Moved GridCrossPlot files to sub directory in ProjectDataModel and Commands

* #4111 3D calculations : Always show difference options

* Whitespace

* #4111 Move resultDefinition field to private

* Whitespace

* #4087 Ensemble : When importing and ensemble, show by default an ensemble plot

* #4085 3D view: Improve overlay item colors

* #4106 Crash on Linux

Temporary workaround to avoid crash

* #4106 Stop trying to do recursive setting tab order widget

* The double pointer was handled wrongly and shift-tab order isn't working anyway.

* #4114 Regression Test : Remove cached pointer to eclipse case

* Revert "#4114 Regression Test : Remove cached pointer to eclipse case"

This reverts commit f2146c6007.

* #4114 Regression Test : Missing data for flow diag property filter

* #4085 3D view: Add check box for version info text

* Whtespace

* Improve labelling of static results

* Fix update of result property when changing type
2019-02-21 12:52:23 +01:00
Magne Sjaastad
eb28bb8520 #4085 3D view: Add check box for version info text 2019-02-20 14:40:25 +01:00
Magne Sjaastad
9c4afc52fd #4085 3D view: Improve overlay item colors 2019-02-18 21:01:37 +01:00
Magne Sjaastad
cdbb13f9f4 System : Set object name of toolbar to be able to serialize toolbar state 2019-02-15 09:04:55 +01:00
Gaute Lindkvist
d9da9a7752 #4053 Add ensemble input to import toolbar + geomech import toolbar 2019-02-12 17:00:55 +01:00
Magne Sjaastad
67a960dae5 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Gaute Lindkvist
8c130bbc6e #4070 Add pick cursor to measurements 2019-02-12 08:21:01 +01:00
Magne Sjaastad
1717a5bf30 #3995 Completions : Reorder items in context menu 2019-02-07 07:26:25 +01:00
Gaute Lindkvist
dbe21b7809 Renames in RicPickEventHandler hierarchy 2019-02-06 09:45:30 +01:00
Gaute Lindkvist
8400e4ea02 Renames in RicPickEvent 2019-02-06 08:21:14 +01:00
Magne Sjaastad
9fbb14d6e3 #4008 Summary Plots: Cases/Plots should always be expanded by default 2019-02-05 08:42:23 +01:00