Commit Graph

96 Commits

Author SHA1 Message Date
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
81db22586d Remove description-field from RimPlotWindow
* Leave it to sub-classes to deal with this
2019-11-20 13:14:45 +01:00
Magne Sjaastad
2c115278ab Save Project Dialog : Early return if no file name is specified in UI 2019-11-12 15:25:30 +01:00
Magne Sjaastad
67e7bb0cf3
Fixes detected by cppcheck (#4974)
* Janitor : Remove obsolete pointer to dialog

* Janitor : Remove unused functions

* Janitor : Remove unused functions

* Janitor : Add explicit to constructors

* Janitor : Remove unused variables

* Janitor : Remove unused functions related to summary plot templates

* clang-tidy : Use nullptr instead of 0

* clang-tidy : Fix usage of virtual and override

* Upped to version 2019.08.2-dev.05

* Janitor : Remove unused variables

* Janitor : Clean up several cppcheck issues

* Janitor : Add cppcheck config files

* Janitor : Use const when possible
2019-11-03 08:37:03 +01:00
Gaute Lindkvist
4bce02c375 Add simple fix for Grid Cross plot as well
* TODO:  make sure the methods in RimSummaryPlot and RimGridCrossPlot are called when using the generic virtual method in RimPlotInterface.
* This requires a bit of thought, since they have parameters which the generic version does not have
2019-10-28 10:18:24 +01:00
Gaute Lindkvist
c200ea0687 Fix asciiDataForPlotExport compile warnings 2019-10-28 10:18:24 +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
Magne Sjaastad
53e8cc82bd #4876 Resampeled Plot Data: Show time short text labels when possible 2019-10-19 15:05:59 +02:00
Gaute Lindkvist
d3140b6aac
System command command file merger (#4845)
* Move Import WellPaths command-file functionality into RicImportWellPaths

* Add new RICF_init macros for command file objects

* Make project save commands available in Python

* Fix RiaLogging build errors

* Move RiaLogging include from RiaGrpcServer.h to cpp file
2019-10-15 15:46:19 +02:00
Magne Sjaastad
1ab58449bd #4793 Summary Plot Templates : Help accessible from About menu 2019-09-27 15:15:09 +02:00
Magne Sjaastad
b8e36de943 #4707 Update web address for Help/User Guide/F1 2019-09-26 10:04:26 +02:00
Magne Sjaastad
deb73df726 clang-format : Apply clang-format on files coming from feature branch 2019-09-06 12:53:32 +02:00
Magne Sjaastad
d44598c070 #4657 Remove unused parameter 2019-09-06 12:44:41 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
52c9830192 Python: remove text reference to GRPC from About dialog 2019-08-22 08:50:58 +02:00
Jacob Støren
81de872c7b #4543, #4544 Fixed missing command line help text from menu-command and --help option.
Improved the error text when an unknown option is used.
Improved the dialog used to show command line options, and make the text selectable
2019-08-08 10:46:15 +02:00
Magne Sjaastad
58cef265ec #4538 Skip Save project at exit when no data has changed
Guard changes in preferences and reset change detector when project is closed
2019-08-07 14:21:37 +02:00
Gaute Lindkvist
7c30af62c2 #4528 #4512 Fix script-locations when loading project and remove initScriptDirectories()
* Disable IO for scriptlocations and make sure we save it in preferences when editing
* The next valid case Id stuff in initDirectories is irrelevant because it always runs on an
  empty project
2019-07-30 12:32:10 +02:00
Magne Sjaastad
3ac518da4c Dock State : Make sure dock state is stored when exit is triggered 2019-06-26 12:09:02 +02:00
Magne Sjaastad
3c644629df #4136 Export of Flow Characteristics : Use CSV text export 2019-06-23 18:32:05 +02:00
Magne Sjaastad
7879fe186d #4136 Export of Flow Characteristics : Create text for export and add context menu 2019-06-23 15:18:17 +02:00
Gaute Lindkvist
c2bad4a686 #4421 Python: Add GRPC status to About dialog
* If the finish comes because the server is shut down,
  there is no m_eclipseCase
2019-06-11 12:40:35 +02:00
Gaute Lindkvist
922386c673
#4416 First implementation of gRPC-based Python interface
First implementation with Asynchronous gRPC server, a few services and some client python code.
2019-05-20 13:21:02 +02:00
Magne Sjaastad
bfe8e7176a #4410 Dock Window State : Restore dock widgets when opening main window 2019-05-15 13:54:05 +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
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
Magne Sjaastad
6ce3371df5 #4396 System : Add SSL information to about dialog 2019-05-08 10:34:18 +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
798e3ff19e #4256 Update fonts in Project and views when changing preferences 2019-04-12 14:47:21 +02:00
Magne Sjaastad
d7661d708c Whitespace 2019-04-08 09:21:42 +02:00
Magne Sjaastad
47bdf22f1d #4300 About Dialog : Add octave version info 2019-04-08 09:18:55 +02:00
Gaute Lindkvist
000b6713b1 #4283 Improve window tiling during resize 2019-04-04 19:23: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
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
2c7ed49708 #4176 Add keyboard shortcuts to show plot and main window
* Ctrl+Shift+P and Ctrl+Shift+3
2019-03-27 13:17:04 +01:00
Gaute Lindkvist
9f5d098e14 #4176 Add standard keyboard shortcut for Help Contents F1 2019-03-27 13:15:20 +01:00
Gaute Lindkvist
3d3868e29d Fix up keyboard shorcut on < Qt 5.10 2019-03-27 12:01:49 +01:00
Gaute Lindkvist
136f13e145 #4198 Make sure exit application works as expected with both windows open 2019-03-14 15:24:11 +01:00
Magne Sjaastad
674758fbf6 Remove obsolete include 2019-03-12 10:27:48 +01:00
Gaute Lindkvist
e72f57072c #4185 Implement data export for Grid Cross Plot 2019-03-12 09:19:01 +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
Magne Sjaastad
93eca21b69 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Magne Sjaastad
288ee59587 #4066 System : Improve cmake macros for cotire 2019-02-11 07:13:08 +01:00
Magne Sjaastad
67d0b44c1e #3856 Update copyright text in dialogs 2019-01-09 15:29:37 +01:00
Magne Sjaastad
6db80f40b9 #3856 Update copyright headers 2019-01-09 15:29:24 +01:00
Gaute Lindkvist
708f24943b Hide Unit Test Feature if USE_UNIT_TESTS is not defined 2018-12-20 09:50:05 +01:00
Magne Sjaastad
8f275757dc System : Display graphics card details in about dialog 2018-11-05 12:26:10 +01:00