ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmCore
Magne Sjaastad 2814b92055
Qt6: Adjustments (#11804)
* Qt6: Avoid insertWidget, use addWidget
In Qt6, the insertWidget function checks if the index parameter is valid based on current widgets present in the layout. This is error prone, and use addWidget to avoid manual counting of index.

* Disable use of Qt keyword foreach

* Replace use of QRegExp with QRegularExpression
Replace use of QRegExp with QRegularExpression
Remove dependency on qt5compat module
Simplify an expression based on review

* Remove Qt5 ifdefs

* Guard access out of bounds seen in debug build

* Avoid reuse of string variable

* Disconnect all signals from the QOpenGLContext
The call stack when this assert happens indicates that there are more signals to be disconnected from the object. Crash is fixed by disconnecting all signals.

Assert seen in debug build:

ASSERT failure in caf::Viewer: "Called object is not of the correct type (class destructor may have already run)", file C:\Qt\6.6.3\msvc2019_64\include\QtCore/qobjectdefs_impl.h, line 130

* Fix issue related to delete of a linked view
Guard null pointer use in view linker. Remove complicated cleanup in destructor in Rim3dVew.
2024-10-28 13:09:18 +01:00
..
cafPdmCore_UnitTests Remove obsolete code related to Qt5 2024-10-07 10:16:48 +02:00
cafAppEnum.h Move stream operator from AppEnum header 2024-03-25 15:14:04 +01:00
cafAssert.h Move stream operator from AppEnum header 2024-03-25 15:14:04 +01:00
cafAsyncObjectDeleter.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafAsyncObjectDeleter.inl Update clang-format.yml (#10068) 2023-04-13 07:05:53 +02:00
cafAsyncWorkerManager.cpp #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafAsyncWorkerManager.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafClassTypeName.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafFilePath.cpp #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafFilePath.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafInternalPdmValueFieldSpecializations.h Add partial specialization for float and double 2024-06-12 09:35:28 +02:00
cafNotificationCenter.cpp Qt6: Adjustments (#11804) 2024-10-28 13:09:18 +01:00
cafNotificationCenter.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmBase.h Cleanup includes 2024-03-07 19:45:43 +01:00
cafPdmChildArrayField.h Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmChildArrayField.inl Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmChildArrayFieldHandle.cpp Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmChildField.h Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmChildField.inl Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmDataValueField.h Janitor: Several code hygiene adjustments (#9981) 2023-03-23 15:49:06 +01:00
cafPdmField.h Fwk : Remove obsolete helper template 2022-07-08 17:54:37 +02:00
cafPdmFieldCapability.h Fix insufficient forward declaration 2023-12-13 18:40:09 +01:00
cafPdmFieldHandle.cpp Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmFieldHandle.h Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmFieldReorderCapability.cpp Merge pull request #8888 from OPM/8887-fix-reorder-capability 2022-05-06 10:52:08 +02:00
cafPdmFieldReorderCapability.h Merge pull request #8888 from OPM/8887-fix-reorder-capability 2022-05-06 10:52:08 +02:00
cafPdmInterfacePointer.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmObjectCapability.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmObjectHandle.cpp Add copyObject to PdmObjectHandle 2024-06-14 17:18:28 +02:00
cafPdmObjectHandle.h Add copyObject to PdmObjectHandle 2024-06-14 17:18:28 +02:00
cafPdmPointer.cpp #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmPointer.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmProxyValueField.h Preparations for quick access features 2024-10-21 14:08:15 +02:00
cafPdmPtrArrayField.h Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmPtrArrayField.inl Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
cafPdmPtrArrayFieldHandle.h Rename several child() and children() functions 2022-05-31 15:05:07 +02:00
cafPdmPtrField.h Custom vfp plot (#11450) 2024-05-29 12:55:45 +02:00
cafPdmPtrField.inl Custom vfp plot (#11450) 2024-05-29 12:55:45 +02:00
cafPdmReferenceHelper.cpp Qt6: Adjustments (#11804) 2024-10-28 13:09:18 +01:00
cafPdmReferenceHelper.h Preparations for quick access features 2024-10-21 14:08:15 +02:00
cafPdmUiFieldHandleInterface.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafPdmValueField.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafSignal.cpp Remove superfluous Signal::disconnect() calls 2020-09-17 08:22:00 +02:00
cafSignal.h Cleanup includes 2024-03-07 19:45:43 +01:00
cafTristate.cpp #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
cafTristate.h #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
CMakeLists.txt Remove obsolete code related to Qt5 2024-10-07 10:16:48 +02:00