Magne Sjaastad
9e7467309d
#4388 AppFwk : Set parent editor when field editor is created
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
Magne Sjaastad
088b5513a7
#4388 AppFwk : Remove problematic setUiField() calls
...
setUiField() call used to keep track of which fields that is retained when updating an editor. Replace this workflow with a set of the ones that are used, and use this set to clean up unused editors afterwards.
2019-05-06 11:58:06 +02:00
Gaute Lindkvist
fe0624e304
Fix build problems in cafTestApp following headless changes
2019-05-06 11:48:23 +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
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
a5a70dd83c
#4356 Qt5 : Conversion of float value to text string does not work for all values
2019-04-25 06:52:40 +02:00
Gaute Lindkvist
4b07387a93
Minor tweak to color editor
2019-04-23 08:38:49 +02:00
Magne Sjaastad
d6b5444c51
Add missing includes
2019-04-12 15:33:11 +02:00
Gaute Lindkvist
798e3ff19e
#4256 Update fonts in Project and views when changing preferences
2019-04-12 14:47:21 +02:00
Gaute Lindkvist
c82a4a5537
#4316 Fix context menu with multiple selected well paths
2019-04-12 09:09:12 +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
Gaute Lindkvist
02f769fd31
#4299 Make sure the size hint for property view is large enough for the content
2019-04-08 14:24:43 +02:00
Gaute Lindkvist
a6dda48606
Add stylesheet tools to caf
2019-04-08 14:24:43 +02:00
Gaute Lindkvist
4e92a7e44a
More consistent naming for Qt-derived classes in CAF
2019-04-08 14:24:43 +02:00
Gaute Lindkvist
22880d511b
#4280 Improve animation progress bar
2019-04-08 14:24:43 +02:00
Magne Sjaastad
387d7cf7c2
System : Use appropriate mode when displaying a cmake message
2019-04-08 12:32:14 +02:00
Gaute Lindkvist
a8e14e9f9a
Fix copyright header and namespace for cafShortenedQLabel
2019-04-05 17:31:07 +02:00
Gaute Lindkvist
867c541b7b
#4282 Improve look of Summary Plot Editor after layout changes
...
* In particular make the QMinimizePanel title panel fixed in size.
2019-04-05 15:42:20 +02:00
Magne Sjaastad
9edd567d42
AppFwk : Fix missing rename in test application
2019-04-05 13:57:24 +02:00
Gaute Lindkvist
ffaeccf31c
Make sure all groups have a new layout inside as well
2019-04-05 13:52:53 +02:00
Gaute Lindkvist
94a8c35311
#4282 Move new Grid Layout creation inside form layout object editor
2019-04-05 13:28:23 +02:00
Gaute Lindkvist
cdc7a12190
#4282 Make minimum size work well for property view
2019-04-05 13:05:48 +02:00
Gaute Lindkvist
fccb363f53
#4282 Remove horizontal scrollbar from result property list
2019-04-05 13:05:48 +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
8e6ac03c75
#4282 Let ComboBoxEditor be narrowed smaller than full text string by default
2019-04-05 13:05:47 +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
5e517e47dd
Labels on top fixes
2019-04-04 08:47:36 +02:00
Gaute Lindkvist
3d3868e29d
Fix up keyboard shorcut on < Qt 5.10
2019-03-27 12:01:49 +01:00
Gaute Lindkvist
9306961df4
#4176 Enable Del keyboard shortcut for delete commands
2019-03-27 11:03:10 +01:00
Gaute Lindkvist
f066829a0f
#4176 Add feature to cafCmdFeatureManager to find commands matching a keyboard shortcut
2019-03-27 10:29:26 +01:00
Gaute Lindkvist
7e5bd010c3
Revert non-horizontal Fast/slow icons for cafanimationtoolbar
2019-03-26 17:23:12 +01:00
Gaute Lindkvist
b956e6ed70
#4078 #4094 Improve icons in animation toolbar
2019-03-26 14:19:02 +01:00
Gaute Lindkvist
de2920c7c2
Add ProgressInfoBlocker and add to unit tests
2019-03-22 13:30:18 +01:00
Gaute Lindkvist
f09f487635
#4143 First implementation of export sector model
2019-03-18 12:56:09 +01:00
Gaute Lindkvist
925747b9d4
Fix warnings about QStyleFrameOptionsV4
2019-03-14 09:50:58 +01:00
Gaute Lindkvist
117731a24a
#4192 Add swap axis and update property editor
2019-03-12 14:34:22 +01:00
Gaute Lindkvist
22f7bf7c21
Update RifReaderEclipseOutput and RimEclipseCase to use new progress tasks
2019-03-12 14:34:22 +01:00
Gaute Lindkvist
749e19a879
Create a simpler task system for handling sub tasks in progress dialog.
...
* Remove incrementProgressAndUpdateNextStep() method
2019-03-12 14:34:22 +01:00
Gaute Lindkvist
e00f983360
#4166 Add feature for swapping cross plot axes + tweaks to legend
...
* Also put x and y property side by side in property editor
2019-03-08 09:59:38 +01:00
Gaute Lindkvist
be95eefd69
Repository wide spelling correction overly -> overlay
...
* Impacts CAF and ResInsight
2019-03-05 10:41:41 +01:00
Magne Sjaastad
7866122b31
Rename and whitespace
2019-02-22 10:21:25 +01:00
Magne Sjaastad
5a45d37ee1
#4116 PdmUiListView: Use timer and singleShot to trigger scroll to selected item
2019-02-22 10:21:25 +01:00
Gaute Lindkvist
1536645e7c
#4132 Temporarily fix contour map crash by commenting out processEvents
2019-02-22 09:06:51 +01:00