Commit Graph
369 Commits
Author SHA1 Message Date
Magne Sjaastad 3af8d32928 #7829 AppEnum : Make sure text used in XML serialization is trimmed
If the AppEnum text used to serialize the AppEnum contains whitespace at start or end, the serialization will fail and the AppEnum value will end up with a default value. 

This commit will make sure that this field is always trimmed ( text coming from the application, from xml parsing, text from scripting).
2021-06-29 20:54:40 +02:00
eb3c52aeb1 Python adjustments (#7809)
* #7797 Well Targets: Add scripting capability
* #7794 Python : Do not update childField or childFieldArray
* #7797: Python - Add scripting to well path collection
- Extend the pdmobject.py with method add_object()
- allow objects to be created from Python in well path collections
- add well targets to modelled well path

* #7795 Python : Make sure referenced generated classes are defined
* #7810 StimPlanModel: clean-up python generation
* Python : Always use empty string as default value for ptrFieldValue
It can happen that a ptrField is assigned to a pointer on object construction. (FaciesProperties) Make sure that constructor always assigns an empty string.

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2021-06-25 14:44:52 +02:00
Magne Sjaastad 5c1b08a05b #7656 AppFwk : Make it possible to create a custom uiTreeOrdering 2021-05-11 09:27:55 +02:00
Magne Sjaastad 5d45a8cec9 #7520 Undo framework: Improve local disabling of undo framework 2021-03-29 09:59:26 +02:00
Magne Sjaastad 4cb59aa1d0 #7347 Property Editor : Check if current field is part of selection
When using toggle buttons in tree view, the current field changed might be outside of the current selection. Only apply multiple field changed if current field is part of the current selection.
2021-02-16 08:25:45 +01:00
Magne Sjaastad 14c09f30cf #7342 Property Editor : Support multi-select of objects of same type 2021-02-10 15:08:35 +01:00
Gaute Lindkvist 72614b0c00 Create Well Path Laterals from existing well paths
* Add cmakebuild/ to .gitignore
* Create Well Path Laterals from existing well paths
* Move ValidRegExpValidator to RiaValidRegExpValidator.h|cpp
* Minor code review fixups
* More minor code review fixups
* Another set of minor code review fixups
2021-01-04 11:09:01 +01:00
Gaute Lindkvist 49ffe9b53a Removal of new/delete from RiaApplication 2020-12-11 10:56:25 +01:00
Gaute Lindkvist c30f930886 Explicitly remove default constructor for caf::Signal 2020-12-08 09:27:29 +01:00
magnesj d11e109c7e Fixes by clang-format 2020-11-06 06:18:34 -05:00
github-actions[bot] 223fe756fe Fixes by cmake-format (#6874) 2020-10-30 12:31:16 +01:00
Gaute Lindkvist 069b427d10 Require CMake 3.12 2020-10-20 11:05:10 +02:00
Gaute Lindkvist f7aed637f8 Require CMake 3.6 2020-10-20 11:05:10 +02:00
Gaute Lindkvist 6a1f6ade49 Remove unused cafPdmUiObjectViewerCapability.h 2020-10-19 10:25:02 +02:00
Magne Sjaastad 1642370928 #6476 AppFwk : Add support for moving selected items to top list 2020-10-06 02:17:58 -04:00
Gaute Lindkvist 93baf776a1 Fix crashes when dropping analysis plots into Multiplots 2020-09-20 15:26:46 +02:00
Gaute Lindkvist 59bc8b1f43 Make signals non-copyable 2020-09-17 08:22:00 +02:00
Gaute Lindkvist 1649d27d0f Remove superfluous Signal::disconnect() calls 2020-09-17 08:22:00 +02:00
Gaute Lindkvist c65157277a Disconnect field owner from all signals when removing from ptr field 2020-09-17 08:22:00 +02:00
Gaute Lindkvist 15ae290f1d Disconnect parent from all signals when detaching from parent 2020-09-17 08:22:00 +02:00
Gaute Lindkvist d3152f5030 Get rid of caf::DeleteSignal 2020-09-17 08:22:00 +02:00
Kristian Bendiksen de7d425474 #6491 Add override keyword in cafPdm* to silence clang warnings. 2020-09-14 21:46:27 +02:00
Kristian Bendiksen 519bbf3174 #6491 Fix incomplete type caf::PdmUiItem when building with clang 2020-09-14 21:46:27 +02:00
Gaute Lindkvist d08444ec77 #6437 Fix Signal crash and improve signal code
* The crash fix is ensuring we don't loop through m_disconnectCallbacks
  in DeleteSignal::send()
* This is because the callback will end up calling disconnect
  which in turn erases the entry from m_disconnectCallbacks,
  invalidating the iterators used in the loop.
2020-09-04 19:37:45 +02:00
Gaute Lindkvist 69f13b1015 #6360 Fix stacking issues 2020-08-31 08:33:55 +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
Gaute Lindkvist 454e7f17a0 #6322 Fix Python 3.8 problems
* Change base PdmObject class name to PdmObjectBase to avoid name conflicts
* Make all import paths relative
2020-08-24 09:40:36 +02:00
Gaute Lindkvist 86a4f5613c Major improvements to D&D of curves. 2020-08-10 12:58:53 +02:00
Gaute Lindkvist 9393c27b13 Improved naming following review 2020-08-10 09:17:46 +02:00
Gaute Lindkvist 1ad1f7cc05 #6258 General way of reordering child items in the tree view 2020-08-10 09:17:46 +02:00
Gaute Lindkvist 31246b59f3 #6266 Fix unwanted selection change when changing window focus 2020-08-10 09:17:46 +02:00
Gaute Lindkvist f202f4b8a7 Add caf::Signal::observerCount() and unit test for it 2020-07-27 08:47:01 +02:00
Gaute Lindkvist dd2917e4af caf::Signal unit tests 2020-07-27 08:47:01 +02:00
Gaute Lindkvist 99762831bd Handle deletion of SignalObservers
Add a beingDeleted signal called in the SignalObserver destructor.
2020-07-27 08:47:01 +02:00
Gaute Lindkvist 088f48f41d Make it possible to block signals 2020-07-27 08:47:01 +02:00
Gaute Lindkvist beaf4ebd5a Implement signal handler 2020-07-27 08:47:01 +02:00
Gaute Lindkvist 6856597770 Implement stacked well log curves 2020-07-27 08:47:01 +02:00
github-actions[bot] b2043f7fe4 Fixes by clang-format 2020-06-19 08:05:33 +02:00
Magne Sjaastad bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Magne Sjaastad e3960f13f1 AppFwk : Add border to icons with one color 2020-06-18 09:01:44 +02:00
Magne Sjaastad 4ff1f54e16 AppFwk : Add border to color gradient icons 2020-06-17 14:37:14 +02:00
Gaute Lindkvist 8f359d8a92 Fix problem with storing font sizes 2020-06-10 09:10:24 +02:00
Gaute Lindkvist 664dc03c5b Set a lower limit to available font size 2020-06-08 12:32:52 +02:00
Kristian Bendiksen 23202c9f15 #6018 Remove unnecessary caf::FilePath assignement operator
In C++11 implicit generation of the copy constructor is deprecated if the
class has a user-declared copy assignment operator or a user-declared destructor.
2020-06-03 22:06:30 +02:00
Kristian Bendiksen 8f5edbf5b0 #6029 Fix unsigned/signed comparison in Fwk tests. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen 16c3ce1ca2 #6029 Update test helper to new gtest version. 2020-06-03 22:06:30 +02:00
Kristian Bendiksen 2eb18d8151 #6029 Upgrade gtest to v1.10 for Fwk/. 2020-06-03 22:06:30 +02:00
Gaute Lindkvist 4627e542ba Move caf::FontTools enum setups into caf namespace 2020-06-03 14:16:45 +02:00
Gaute Lindkvist 2c1ee33d54 Enable setting preferred size in caf::IconProvider 2020-06-03 14:00:04 +02:00