Commit Graph

372 Commits

Author SHA1 Message Date
Magne Sjaastad
a52afd7b34 #4410 Dock Window State : Set default visibility of dock widgets 2019-05-15 13:37:23 +02:00
Magne Sjaastad
699870c8c7 #4410 Dock Window State : Use hideAllDockWidgets() in base class 2019-05-15 12:31:27 +02:00
Magne Sjaastad
95124adca6 #4410 Dock Window State : Add features for default dock widget visibility 2019-05-15 11:27:36 +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
1a67773ace #4410 Dock Window State : Remove obsolete functions 2019-05-15 07:35:53 +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
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
Magne Sjaastad
8cefcbb562 #4348 System , cppcheck : Remove unused variables 2019-04-20 15:11:21 +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
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
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
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
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
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
Magne Sjaastad
3d33126dac Rename to RicAdvancedSnapshotExportFeature 2019-03-26 09:10:29 +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
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
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
Gaute Lindkvist
69b20a2aa9
#4007 Create new combined import button and move the others to an opt… (#4021)
* #4007 Create new combined import button and move the others to an optional "Import"-toolbar

* #4007 Make sure we check that fileName vector isn't empty before accessing it
2019-01-31 09:02:09 +01:00
Magne Sjaastad
9bb4cb3e1a Measurements : Move setCheckable into feature 2019-01-15 12:13:00 +01:00
Magne Sjaastad
32f780f558 #3949 Summary : Hide snapshot toolbar by default 2019-01-14 09:49:10 +01:00
Magne Sjaastad
22e8eb485f #3810 HoloLens : Tool bar button and scheduler for auto sent to server 2019-01-14 08:42:54 +01:00
Magne Sjaastad
240e146a1b #3951 Summary : Improve Windows menu 2019-01-14 07:08:05 +01:00
Gaute Lindkvist
f3c188ef56 #3807 Rename RimContourMapView to RimEclipseContourMapView 2019-01-11 16:06:53 +01:00
Magne Sjaastad
20f9bf4318 #3935 Measurements : Add Esc button to abort measurement mode 2019-01-08 14:55:44 +01:00
Magne Sjaastad
7f24edaebf #3924 Measurements : Set object name for toolbar 2019-01-03 07:06:11 +01:00
Bjørn Erik Jensen
deec4c16e9 #3804 Measurement. Set checkable toolbutton (still changing icon) 2018-12-19 14:49:35 +01:00
Bjørn Erik Jensen
849a623379 #3804 #3805 Measurement. Add toolbar button and interactive picking 2018-12-19 14:41:17 +01:00
Bjørn Erik Jensen
488798c3d8 #3790 Z scale label. Display in upper left corner 2018-12-10 13:04:07 +01:00
Gaute Lindkvist
f2c7f2ce80 Fix display problems on Linux 2018-11-30 09:47:53 +01:00
Gaute Lindkvist
afbe84997e Fix MDI window placement after Qt5 upgrade 2018-11-30 09:47:53 +01:00
Gaute Lindkvist
53fad80e89 2d Maps: Renames to make classes and variables more consistent.
* Everything is now named something related to ContourMap:
  - Rim2dEclipseView -> RimContourMapView
  - Rim2dGridProjection -> RimContourMapProjection
  ....
2018-11-09 09:11:29 +01:00