Gaute Lindkvist
b824f1d75f
#4407 Make sure we convert fontInScene from point size to enum value from old registry settings
2019-05-13 15:46:31 +02:00
Gaute Lindkvist
29ec970b02
Qt4 fix
2019-05-06 15:03:24 +02:00
Gaute Lindkvist
63ed79e0e8
Update UI icon of RimCellEdgeColors
2019-05-06 13:49:23 +02:00
Gaute Lindkvist
af1a5790a2
Fix crash in some unit tests from constructing a QPixmap without a QApplication
2019-05-06 13:35:05 +02:00
Gaute Lindkvist
07903a6324
Headless: handle unknown command arguments better
2019-05-06 13:35:05 +02:00
Gaute Lindkvist
fe0624e304
Fix build problems in cafTestApp following headless changes
2019-05-06 11:48:23 +02:00
Gaute Lindkvist
30769d7f2a
Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString
2019-05-06 11:08:59 +02:00
Gaute Lindkvist
274dee70fa
Rename RiaApplication::handleEvents -> invokeProcessEvents
2019-05-06 10:40:05 +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
950458455d
#4360 Make sure we display cell colors for grids without dynamic variables even if the project has wells in it
2019-04-26 14:23:05 +02:00
Gaute Lindkvist
496678cab3
#4373 Provide more error messages when importing input grids
2019-04-26 13:42:35 +02:00
Gaute Lindkvist
f567be6d96
#4371 Store Sector Model settings in Project Dialog Data
2019-04-26 13:42:35 +02:00
Gaute Lindkvist
b35e7d9bd4
#4369 Only create placeholder for derived MULTXYZ result if all requirements are available
2019-04-26 09:47:07 +02:00
Gaute Lindkvist
2452bc3a21
#4364 Make sure the correct flow coefficient is exported for ICDs/ICVs in WSEGVALV MSW export
2019-04-26 08:29:04 +02:00
Gaute Lindkvist
ea77618110
Remove unused code in RifReaderEclipseOutput::readWellCells
2019-04-26 08:28:53 +02:00
Gaute Lindkvist
195fc85a5a
Improve Simulation Well Color UI
2019-04-23 08:38:49 +02:00
Gaute Lindkvist
2e13e53b3c
Make the preference dialog slightly narrower
2019-04-23 08:38:49 +02:00
Gaute Lindkvist
4b07387a93
Minor tweak to color editor
2019-04-23 08:38:49 +02:00
Gaute Lindkvist
c8184065e3
#4326 Invert Grid Cross Plot Y-axis when displaying DEPTH
2019-04-23 08:35:18 +02:00
Gaute Lindkvist
86e20df7c6
#4319 Store export sector model settings
2019-04-23 08:28:37 +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
Gaute Lindkvist
4439f7609b
#4317 Add default ellipse fracture template
2019-04-16 13:30:03 +02:00
Gaute Lindkvist
a8bcfefca2
#4309 Offset text annotations label position slightly to make labels less likely to be obscured by grid
2019-04-16 13:02:31 +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
93f76d9739
Fix labels to match Documentation
2019-04-15 12:44:14 +02:00
Gaute Lindkvist
a98b1d3494
#4339 Show actual parameter names instead of X and Y in Grid Cross Plot Show Data
2019-04-15 11:55:40 +02:00
Gaute Lindkvist
983fed11a3
#4323 Make sure time step legend doesn't show up unexpectedly
...
* Don't make it the default. The legend is handled well when changing to time step
2019-04-15 11:12:16 +02:00
Gaute Lindkvist
8846798ccf
#4338 Add grouping result to Grid Cross Plot Data set property editor
2019-04-15 11:06:27 +02:00
Gaute Lindkvist
48c6139cb2
#4337 Group grid cross plots created from view by formations
2019-04-15 10:45:46 +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
c2032fd948
Set grouping by formations and category colors as default for Grid Cross Plots if formations are available
2019-04-15 09:36:13 +02:00
Gaute Lindkvist
3a91412d6c
#4336 make sure data colors are updated in Grid Cross plots when changing legend colors
2019-04-15 09:32:35 +02:00
Gaute Lindkvist
89a16103c9
Make sure picking of text and reach circle annotations isn't enabled after loading project
2019-04-12 14:47:36 +02:00
Gaute Lindkvist
9aa7ac2591
Make sure auto zoom isn't disabled at the end of zoomAll() for grid cross plot
2019-04-12 14:47:36 +02:00
Gaute Lindkvist
f4d341feac
#4313 Disable copy of grid cross plot curves
2019-04-12 14:47:35 +02:00
Gaute Lindkvist
9834a421c8
Fix problem in font size application to annotations
2019-04-12 14:47:21 +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
58735350a3
#4322 Ensure toggling of data sets don't cause zoom all
2019-04-12 13:15:51 +02:00
Gaute Lindkvist
34fd604bd8
#4316 Fix regression issue with export completion and import menus showing up everywhere
2019-04-12 13:15:51 +02:00
Gaute Lindkvist
54a096a660
#4327 Select data set by default when creating grid cross plots
2019-04-12 13:15:50 +02:00
Gaute Lindkvist
3e515e82a8
#4324 Make sure centre position of reach circle graphics is also in display coordinates
2019-04-12 12:22:55 +02:00
Gaute Lindkvist
ca1fba8207
#4311 Fix full grid minimum in Export Sector Model
2019-04-12 09:24:09 +02:00
Gaute Lindkvist
473b78a0ad
#4318 Sector Model: Move invisible cells toggle into grid box group
2019-04-12 09:24:02 +02:00
Gaute Lindkvist
c82a4a5537
#4316 Fix context menu with multiple selected well paths
2019-04-12 09:09:12 +02:00
Gaute Lindkvist
855eb0e099
#4307 Fix crash in contour map with static properties
2019-04-09 17:26:20 +02:00
Gaute Lindkvist
72052377dc
#4305 Adjust size of layouts and labels if the sizeHint has changed
2019-04-09 13:53:33 +02:00
Gaute Lindkvist
f36c38533b
#4275 Hide UI for case-diff when flow diagnostics is enabled
2019-04-09 13:30:21 +02:00
Gaute Lindkvist
cd870f089b
#4304 Add pre-defined templates for each valve type and fix icons and labels.
2019-04-09 13:30:20 +02:00
Gaute Lindkvist
c0f3258f19
Work in progress
2019-04-09 10:30:15 +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
64f537ad05
Make valve templates a bit more accessible
2019-04-08 14:24:43 +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
1e223a508a
Fix compile warning in RimSaturationPressurePlot
2019-04-08 14:24:43 +02:00
Gaute Lindkvist
02f769fd31
#4299 Make sure the size hint for property view is large enough for the content
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
a6dda48606
Add stylesheet tools to caf
2019-04-08 14:24:43 +02:00
Gaute Lindkvist
4e92a7e44a
More consistent naming for Qt-derived classes in CAF
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
a8e14e9f9a
Fix copyright header and namespace for cafShortenedQLabel
2019-04-05 17:31:07 +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
ffaeccf31c
Make sure all groups have a new layout inside as well
2019-04-05 13:52:53 +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
cdc7a12190
#4282 Make minimum size work well for property view
2019-04-05 13:05:48 +02:00
Gaute Lindkvist
fccb363f53
#4282 Remove horizontal scrollbar from result property list
2019-04-05 13:05:48 +02:00
Gaute Lindkvist
0110e9a0c3
#4282 Make Editor labels use preferred size rather than maximum for expansion.
2019-04-05 13:05:48 +02:00
Gaute Lindkvist
8e6ac03c75
#4282 Let ComboBoxEditor be narrowed smaller than full text string by default
2019-04-05 13:05:47 +02:00
Gaute Lindkvist
c1a5397a6f
#4282 Make RimCrossPlotDataSet UI take up less space by using an invisible group around properties
2019-04-05 13:05:47 +02:00
Gaute Lindkvist
6a2e81ca4b
#4282 Add a new cafShortenedQLabel class that provides a label that shortens itself when space is limited
2019-04-05 13:05:14 +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
14bcfb8122
#4274 Reapply side-by-side x/y properties in Grid Cross Plot Data Set
2019-04-04 08:47:37 +02:00
Gaute Lindkvist
5e517e47dd
Labels on top fixes
2019-04-04 08:47:36 +02:00
Gaute Lindkvist
815689372a
Fix Linux build problem by forcing use of function value to yield case diff values
2019-04-03 15:43:43 +02:00
Gaute Lindkvist
7d78956781
#4196 Apply background color, well label color and z-scale automatically from preferences
...
* Ask to change existing views if their values are different from the previous Preferences default
2019-04-03 08:39:26 +02:00
Gaute Lindkvist
69b01bcca7
Fix typo in GridCrossPlotDataSet
2019-04-03 08:39:25 +02:00
Gaute Lindkvist
935eaf7e59
#4272 Temporary fix by not having X and Y-property in Grid Cross Plot Data Set side-by-side
2019-04-03 08:37:56 +02:00
Gaute Lindkvist
c2eafebfc8
Add a few sensible asserts to RimGridCrossPlotDataSet
2019-04-03 08:37:56 +02:00
Gaute Lindkvist
716ac4bf83
Fix crash in unit tests
2019-04-02 12:49:10 +02:00
Gaute Lindkvist
262ef57796
Rename manual to user defined selection
2019-04-02 09:59:16 +02:00
Gaute Lindkvist
1b815711b4
Add comments and checks to Export Sector Model keywords code
2019-04-02 09:56:56 +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
e2278493ad
#4259 Tweaks to Export Sector Model UI
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
29e2305c05
#4259 Apply libecl patch for exporting MAPAXES
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
f79397f131
#4259 Add libecl patch for exporting MAPAXES even if apply_maxes=false
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
5164a61c55
#4259 Implement mapaxes keyword with possibility to export in local coordinates
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
8f6a0f8177
#4267 Fix crash when exporting sector model from grid that was imported from GRDECL
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
3b8daa4939
#4248 Add option for making invisible cells inactive in Export Sector Model
2019-04-02 08:20:10 +02:00
Gaute Lindkvist
0df03e4886
Rename ExportEclipseInputGrid to ExportEclipseSectorModel in code
2019-04-02 08:20:10 +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
ddf8d8515a
#4257 Rename Legend Definition to color legend
2019-03-29 12:47:35 +01:00
Gaute Lindkvist
421c374fde
#4265 Remove minimize button from MDI windows. It serves no real purpose.
2019-03-29 12:47:35 +01:00