Gaute Lindkvist
7ab9b2a889
#4654 Fix QVariant comparisons with std::vector<T> data types
2019-09-02 15:12:22 +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
Jacob Støren
2784f5ce11
caf: notifyFieldChange now uses the QVariant content data when checking for equality
2019-08-28 10:12:54 +02:00
Gaute Lindkvist
e58da136e3
#2082 Support custom date time format ( #4594 )
...
* #2082 Support custom date time format
* Clang-format
2019-08-19 09:37:42 +02:00
Gaute Lindkvist
439913b7b1
#4423 First implementation of PdmObject exchange
2019-07-15 12:30:31 +02:00
Jacob Støren
b802937657
Fwk: Added the variable CEE_USE_QT5 as an option in pdmCore and LibGuiQt, to make it visible in the Cmake Gui.
2019-06-25 16:51:45 +02:00
Jacob Støren
ce91cc3cc2
AppFwk: PdmSettings: Added methods that reads and writes (only) valuefields of an object properly
2019-06-25 16:50:03 +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
0544b19afe
Fix carriage return difference in CafPdmModel_UnitTests
2019-05-28 15:58:48 +02:00
Gaute Lindkvist
8f3eb6a748
Add Qt5 test to AppFwk main CMakeLists.txt and update CAF to use CEE_USE_QT5
2019-05-28 15:58:48 +02:00
Gaute Lindkvist
af1a5790a2
Fix crash in some unit tests from constructing a QPixmap without a QApplication
2019-05-06 13:35:05 +02:00
Magne Sjaastad
911b69b56f
#4388 AppFwk : Make sure context menu policy is set correctly in all use cases
2019-05-06 11:58:06 +02:00
Magne Sjaastad
a852d1a50e
#4388 AppFwk : Rename and rewrite of PdmUiFieldHandle::notifyFieldChanged
2019-05-06 11:58:06 +02:00
Jacob Støren
01ac756314
AppFwk: Added a parent editor concept, and adjusted the update regime to make embedded editors trigger update of the containing editor. Removed the update of the fields owner object, which causes trouble for table editors and some derived object editors.
2019-05-06 11:58:06 +02:00
Gaute Lindkvist
30769d7f2a
Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString
2019-05-06 11:08:59 +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
Magne Sjaastad
4c46573fc9
Reintroduce " #4308 System : Add virtual function childFieldChangedByUi"
...
This reverts commit 91022a7535
.
2019-05-03 12:13:11 +02:00
Magne Sjaastad
91022a7535
Revert " #4308 System : Add virtual function childFieldChangedByUi"
...
This reverts commit fbf9308e2b
.
2019-05-03 11:16:09 +02:00
Magne Sjaastad
fbf9308e2b
#4308 System : Add virtual function childFieldChangedByUi
2019-04-10 13:55:44 +02:00
Gaute Lindkvist
72052377dc
#4305 Adjust size of layouts and labels if the sizeHint has changed
2019-04-09 13:53:33 +02:00
Gaute Lindkvist
c0f3258f19
Work in progress
2019-04-09 10:30:15 +02:00
Magne Sjaastad
387d7cf7c2
System : Use appropriate mode when displaying a cmake message
2019-04-08 12:32:14 +02:00
Gaute Lindkvist
0110e9a0c3
#4282 Make Editor labels use preferred size rather than maximum for expansion.
2019-04-05 13:05:48 +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
Gaute Lindkvist
038d7a7676
#4097 Implement stretch factors for editors
2019-04-04 11:19:35 +02:00
Gaute Lindkvist
117731a24a
#4192 Add swap axis and update property editor
2019-03-12 14:34:22 +01:00
Gaute Lindkvist
fac9870c76
Rework caf Layout to work better when number of columns isn't fully specified
2019-02-11 15:48:01 +01:00
Magne Sjaastad
288ee59587
#4066 System : Improve cmake macros for cotire
2019-02-11 07:13:08 +01:00
Magne Sjaastad
9a88c33de0
#4061 VizFwk : Use variable CAF_USE_QT5
2019-02-08 11:28:14 +01:00
Magne Sjaastad
bd6bbe9da9
#4020 System : Use ri_apply_cotire()
2019-02-01 06:56:11 +01:00
Magne Sjaastad
65ee55c96d
#3944 clang-tidy : Apply clang-tidy on caf
2019-01-11 08:14:53 +01:00
Magne Sjaastad
98da255772
System : Remove TR1 warnings from gtest
2019-01-07 14:32:29 +01:00
Gaute Lindkvist
17e12a92a0
Update CMake to only look for Qt5 if RESINSIGHT_BUILD_WITH_QT5 is set
2018-12-10 15:10:46 +01:00
Bjørn Erik Jensen
c0b7b5d87e
caf. Make method const
2018-12-07 12:42:42 +01:00
Bjørn Erik Jensen
b4482d20b0
#3723 Annotations. User editable polyline, both in in view and in property editor
2018-12-07 09:11:19 +01:00
Magne Sjaastad
aa19715c40
#3822 AppFwk : Improve resolve of PtrField, unit test
2018-12-04 14:10:54 +01:00
Magne Sjaastad
90550fe561
#3822 AppFwk : Improve resolve of PtrField
2018-12-04 14:10:18 +01:00
Gaute Lindkvist
b06097862f
Fix Linux build of caf unit tests
2018-12-03 15:00:53 +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
Jacob Støren
08de39f15a
AppFwk: Update some plantuml docs
2018-11-27 14:59:30 +01:00
Jacob Støren
7a0fcaa2ec
AppFwk: Remove obsolete plantuml documentation stuff
2018-11-27 14:59:30 +01:00
Jacob Støren
3c32595e25
AppFwk: Moved PdmUi3dObjectEditorHandle and PdmUiSelection3dEditorVisualizer into correct place in PdmUiCore
2018-11-27 10:31:54 +01:00
Jacob Støren
318cd76b64
AppFwk: Split PdmUiObjectEditorHandle into PdmUiWidgetObjectEditorHandle
...
making PdmUiObjectEditorHandle a cleaner interface for PdmUi3dObjectEditorHandle
2018-11-27 09:31:33 +01:00
Jacob Støren
b4572fd9a2
AppFwk: Remove som unused code
2018-11-26 21:51:05 +01:00
Jacob Støren
fb93ad7ca7
AppFwk: Make PdmUiSelection3dEditorVisualizer generic, ready to be moved to a separate file
2018-11-26 21:50:46 +01:00
Gaute Lindkvist
f80472ffa6
#3540 Create seperate 2d view with parallel, look down and linked views
2018-10-24 15:21:53 +02:00
Magne Sjaastad
758598df0e
clang-tidy : Use nullptr
2018-10-18 16:36:11 +02:00