Commit Graph

113 Commits

Author SHA1 Message Date
Gaute Lindkvist
b7ac99e53b Many new icons and minor CSS changes 2020-10-05 02:48:14 -04:00
Gaute Lindkvist
7afbae6597 #6460 Improve consistency of icons on high-DPI displays 2020-09-09 09:13:04 +02:00
Magne Sjaastad
77ef87fb3a System : Move all command features into separate library
When compiling the complete application, the large number of files causes the input file for a Ninja build (text response file) to become too large on some configurations. Move command features into a separate library to reduce the total file count per project/library.
2020-08-31 08:23:14 +02:00
Magne Sjaastad
2901ad2c54 #6398 System : Remove cotire 2020-08-29 10:30:56 +02:00
Gaute Lindkvist
f82b2f73ec #6320 Refactor of PdmScripting
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
Magne Sjaastad
afa8804e5b #6345 Use wrapper class instead of QFileDialog 2020-08-24 08:26:39 +02:00
github-actions[bot]
6b5f4dddc9 Fixes by clang-format 2020-06-08 11:09:51 +02:00
Gaute Lindkvist
2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +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
616af75df3 #4035 System : Remove term souring from cmake and UI
Use general term HDF5 when required
2020-04-24 11:40:22 +02:00
Magne Sjaastad
3c05fff768 Output field keyword alias names 2020-04-17 13:55:49 +02:00
Magne Sjaastad
4967a8c9b2 Use AppEnum for DateTimePeriod 2020-04-02 07:24:49 +02:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01: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
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +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
Gaute Lindkvist
edc276db4d Well Log Plot and Well Distribution Plots no longer inherit Multiplot
* Also cleaned up RiuQwtPlotWidget
2020-01-16 14:33:33 +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
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