Commit Graph

403 Commits

Author SHA1 Message Date
Gaute Lindkvist
55ef7fc02a Fix MDI Subwindow creation 2020-10-07 18:06:12 +02:00
Gaute Lindkvist
b7ac99e53b Many new icons and minor CSS changes 2020-10-05 02:48:14 -04:00
Ruben Manuel Thoms
87bc6acd65 Added a GUI theme selector in preferences and a new class for handling GUI changes.
Added a new feature for editing style sheets and variable colors and see immediately the result.
Made Qwt plots (and items) stylable.
Added icons, improved styling possibilities of QMinimizePanel, fixed minor bugs in RicThemeColorEditorFeature.
2020-09-25 14:32:06 +02:00
Gaute Lindkvist
3d6d8d3220 Fix crash in RiuMainWindow when closing project 2020-08-25 08:33:47 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +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
Kristian Bendiksen
3a304f984c #5368 Add import of well measurements to "file->import->well data" menu. 2020-02-07 10:17:58 +01:00
Jacob Støren
43066bd0e5 #5215 Use ui item name as a general way to start a search in the online help 2020-02-03 16:06:37 +01:00
Jacob Støren
26db8d7351 #5285 Surface import command Items and parsing infrastructure 2020-01-08 12:09:50 +01:00
Magne Sjaastad
576dfa80ac Make it possible to store project file without global path section
If you have a project file with an alias section, this project is not possible to open in previous versions. Add a menu entry in the Testing menu to allow storage without alias.
2020-01-03 12:51:40 +01:00
Magne Sjaastad
582720f74e #5261 System : Allow export of field and object keywords from test menu 2019-12-20 11:22:29 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Gaute Lindkvist
7a2a0d3f2f Implement stylesheets in caf instead of ResInsight 2019-11-28 08:03:59 +01:00
Jacob Støren
191419b6b4 clang-format after intersection rename 2019-11-26 13:56:02 +01:00
Jacob Støren
152d2bde17 Rename RimIntersection to RimExtrudedCurveIntersection 2019-11-26 11:35:21 +01:00
Jacob Støren
99fb39bd68 Rename SubWindowActivated blocking methods
to clarify their differences
2019-11-01 15:57:03 +01:00
Magne Sjaastad
72e3ddc35e #4934 Preferences : More robust storing of data to registry 2019-10-25 15:55:27 +02:00
Magne Sjaastad
29c3ce0d06 #4903 Use helper function for action shortcut everywhere 2019-10-25 12:48:17 +02:00
Gaute Lindkvist
2d6e631107 Fix crash when changing application fonts 2019-10-24 09:07:19 +02:00
Jacob Støren
016f26725a #4862 Lock scale Z in comparison view to follow the main view.
#4858 Make timestep independent in comparison view. Make Linked Views timestep linking work
2019-10-22 13:39:18 +02:00
Jacob Støren
b0f8dfa9e6 #4849 Co-visualization: Simple use of the comparison view support in the Viewer classes
The feature is ready for testing.
2019-10-11 14:52:49 +02:00
Magne Sjaastad
7ce7211187 Merge remote-tracking branch 'origin/dev' into summary-template-adjustments 2019-09-30 19:43:08 +02:00
Gaute Lindkvist
7625da7a21 #4790 Make sure window maximation state is restored after project load + tiling fixes 2019-09-27 15:29:24 +02:00
Magne Sjaastad
1ab58449bd #4793 Summary Plot Templates : Help accessible from About menu 2019-09-27 15:15:09 +02:00
Jacob Støren
931e7dc42d #4767 Fix selection of view subitems jumps to view 2019-09-25 15:58:28 +02:00
Gaute Lindkvist
a2bad82391
#4736 System python command refactor (#4743)
* Move case loading commands from Commands to project and case
* Major refactor
* Fix problems with Python examples
* Add ability to export snapshot from just one view + fixup
* Case comments and black
* Make all modules pass pylint test
2019-09-23 11:50:33 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
2c5ca4ce46 Import and plot of FMU RFT data works 2019-08-26 12:52:07 +02:00
Magne Sjaastad
97c795cda4 Remove duplicate function hiding base class implementation 2019-08-19 21:07:35 +02:00
Gaute Lindkvist
086ee60d8c #4530 Wait until after Save Project has been asked to hide dock windows. 2019-07-30 12:50:08 +02:00
Magne Sjaastad
03c1311d58 #692 SSIhub: add Sub Items On/Off/Toggle to well list 2019-06-17 09:11:38 +02:00
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