Commit Graph

98 Commits

Author SHA1 Message Date
Magne Sjaastad
c74701b687 Rename several child() and children() functions 2022-05-31 15:05:07 +02:00
Magne Sjaastad
f0ce04597d
Merge pull request #8985 from OPM/8926-remove-useoptionsonly
AppFwk : Remove obsolete useOptionsOnly
2022-05-29 13:01:27 +02:00
Magne Sjaastad
806a149809
Fix several deprecation warnings (#8657)
* Use constructor instead of nullptr for WindowFlags
* Use constructor instead of nullptr for Alignment
* Disable deprecation warning for QProcess
* Add string split method to RaTextStringTools
* Add caf.cpp used to manage Qt function deprecations
* Use position()
2022-03-11 13:24:01 +01:00
Magne Sjaastad
0e57cfe201 Memory Management : Adjustment and fixes
Add release of several static singleton objects
Fix several minor memory leaks
2022-03-03 14:39:41 +01:00
Magne Sjaastad
7dfa84b0d9 AppFwk : Support notification when key is pressed in Line/ComboBox editors 2021-11-17 16:26:47 +01:00
Magne Sjaastad
1b869a9356 #8250 AppFwk : Introduce variadic macros
Use variadic macros to to support optional parameters in initialization macros
2021-11-14 15:26:09 +01:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
github-actions[bot]
223fe756fe
Fixes by cmake-format (#6874) 2020-10-30 12:31:16 +01:00
Magne Sjaastad
2901ad2c54 #6398 System : Remove cotire 2020-08-29 10:30:56 +02:00
Magne Sjaastad
bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad
a1eb707b02 Add test project including cvf and fix compile issues 2020-05-08 11:28:55 +02:00
Magne Sjaastad
dfaf595551 Fix line endings 2020-05-06 19:02:50 +02:00
Magne Sjaastad
28aafed44b #5883 Update test project with icon colors from field value 2020-05-06 19:02:50 +02:00
Magne Sjaastad
ff1ecdf38e AppFwk Test : Add prototype code for color category triplets 2020-04-27 07:24:31 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Magne Sjaastad
502b08ea61 Fix AppFwk dependencies 2020-03-15 19:18:22 +01:00
Magne Sjaastad
32128f0bf3 #4924 AppFwk : Add support for editable combo box 2019-10-24 21:03:17 +02:00
Magne Sjaastad
a9080e14c3 #4722 AppFwk: Rename 2019-09-20 09:54:10 +02:00
Magne Sjaastad
f4cfc750f1 AppFwk : Apply clang-format 2019-09-20 09:52:12 +02:00
Magne Sjaastad
19c93170b3 #4683 System : Exclude QRC files from cotire 2019-09-06 10:52:36 +02:00
Jacob Støren
236b0cb3d4 Support cmake version < 3.12 on the OBJECT type library cafCommandFeatures 2019-09-02 13:39:48 +02:00
Jacob Støren
01921a50ab caf: Create a new CommandFeature libary.
Move Add and Delete command features there.
Implement generic Toggle Commands.
Make library an cmake "OBJECT" library to allow "registering by static initialization".
Add the concept of CurrentContextMenuTargetWidget  into CmdFeatureManager to support the toggle commands.
Updated test application to use the new commands
2019-08-29 11:48:43 +02:00
Gaute Lindkvist
5365f4dd7d Caf build fixes for CEE_USE_QT5 2019-05-31 11:00:32 +02:00
Gaute Lindkvist
10afe4987b #4448 Clean up CAF Qt5-enabling/detection 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
fe0624e304 Fix build problems in cafTestApp following headless changes 2019-05-06 11:48:23 +02:00
Magne Sjaastad
9ae6b79271 #4387 System : Move clang-tidy and clang-format into ApplicationCode
Prepare for format-on-save
2019-05-03 09:15:18 +02:00
Magne Sjaastad
9edd567d42 AppFwk : Fix missing rename in test application 2019-04-05 13:57:24 +02:00
Gaute Lindkvist
6a2e81ca4b #4282 Add a new cafShortenedQLabel class that provides a label that shortens itself when space is limited 2019-04-05 13:05:14 +02:00
Magne Sjaastad
735bd5a4b1 Whitespace 2019-02-22 07:55:57 +01:00
Magne Sjaastad
24bda0fda2 #4116 PdmUiListView: Scroll to the first selected item when activated
This solution does not always work, but scrolls to the first selected item in most cases
2019-02-22 07:52:19 +01:00
Magne Sjaastad
288ee59587 #4066 System : Improve cmake macros for cotire 2019-02-11 07:13:08 +01:00
Magne Sjaastad
bd6bbe9da9 #4020 System : Use ri_apply_cotire() 2019-02-01 06:56:11 +01:00
Magne Sjaastad
fc133c4475 System : Add missing pragma once 2019-02-01 06:50:44 +01:00
Magne Sjaastad
f42aa8bcda Test : Remove file from Qt MOC 2019-01-02 09:34:06 +01:00
Gaute Lindkvist
8cd2d37b92 Quieten Qt5 check in caf unittests 2018-12-03 15:00:53 +01:00
Gaute Lindkvist
ddb546d877 #3754 Upgrade CAF CMake-system to support both Qt4 and Qt5 2018-11-30 09:47:53 +01:00
Gaute Lindkvist
cc7269c717 #3752 CAF code changes to build on both Qt4 and Qt5 2018-11-30 09:47:53 +01:00
Magne Sjaastad
764fb65e8e clang-tidy : Remove redundant 'virtual' and add 'override'
clang-tidy : Remove redundant 'virtual' and add 'override'
2018-10-18 16:35:51 +02:00
Gaute Lindkvist
e8a1d30f2d #3404 Side by side editors, first implementation. 2018-09-26 14:30:50 +02:00
Magne Sjaastad
6b5f7ed1d9 TestApplication : Renamed the WidgetBasedObjectEditor to FormLayoutObjectEditor 2018-08-28 15:18:22 +02:00
Magne Sjaastad
46e42a5489 AppFwk : Remove not required function call 2018-08-22 09:44:18 +02:00
Magne Sjaastad
3b94c06e11 AppFwk : Fix compile issue for test application 2018-06-29 08:05:38 +02:00
Magne Sjaastad
ab556d786b #3048 AppFwk : Remove custom context menu functions 2018-06-18 14:20:50 +02:00
Magne Sjaastad
a801fd9cc5 #3048 AppFwk : Add custom context menu to table in test app 2018-06-15 12:53:32 +02:00
Magne Sjaastad
eb8cba5e31 #3037 AppFwk : Rename to PdmUiTableViewPushButtonEditorAttribute 2018-06-14 09:47:15 +02:00
Magne Sjaastad
c24a7a13ae #3037 AppFwk : Rename to setChildArrayField() 2018-06-11 15:00:45 +02:00
Magne Sjaastad
c486f7963e #3037 AppFwk : Add macros and implement createEditorWidget 2018-06-11 13:36:15 +02:00
Magne Sjaastad
477d6cedd5 #3037 AppFwk : Inherit from FieldEditorHandle instead of EditorHandle 2018-06-11 12:55:26 +02:00
Magne Sjaastad
3fbce58fa5 #2536 Build System AppFwk : Several updates
Simplified automoc
Use target_include_directories and target_link_libraries
Use CMake 2.8.12
2018-02-27 18:37:11 +01:00