Commit Graph

685 Commits

Author SHA1 Message Date
Gaute Lindkvist
8f0fb820a5 #3050 Add memory count to progress dialog. 2018-06-19 10:09:51 +02:00
Magne Sjaastad
cbb467a4a4 #3037 AppFwk : Guard access to field pointer by a PdmPointer to owner 2018-06-18 14:20:50 +02:00
Magne Sjaastad
ab556d786b #3048 AppFwk : Remove custom context menu functions 2018-06-18 14:20:50 +02:00
Magne Sjaastad
18a0a9aa9a #3055 Table Editor : Fix display of date as text 2018-06-18 14:20:50 +02:00
Magne Sjaastad
4fd2f982fd #3037 AppFwk - Table Editor : Update UI for all cells
This is required when updating the table editor for the first time, and when adding a new row. Will potentially cause performance issues for large tables.
2018-06-18 14:20:50 +02:00
Magne Sjaastad
17ee25d0b2 AppFwk : Rename to uiField() and setUiField() 2018-06-15 14:22:03 +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
d7037acedf #3048 AppFwk : Wire up functions for custom context menu
Add PdmUiObjectHandle ::defineCustomContextMenu()
2018-06-15 12:53:32 +02:00
Magne Sjaastad
e8204465f9 #3048 AppFwk : Add setCustomContextMenuEnabled to PdmUiItem 2018-06-15 12:53:32 +02:00
Gaute Lindkvist
2f0b1cfdb9 #3045 Implement memory display in status bar of the main window 2018-06-15 12:39:54 +02:00
Magne Sjaastad
eb8cba5e31 #3037 AppFwk : Rename to PdmUiTableViewPushButtonEditorAttribute 2018-06-14 09:47:15 +02:00
Magne Sjaastad
a4f11daf0b #3037 AppFwk : Simplify widget creation 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
c491939713 #3037 AppFwk : Implement and use createLabelWidget() 2018-06-11 14:22:30 +02:00
Magne Sjaastad
acf2f61d25 #3037 AppFwk : Use QPointer 2018-06-11 14:21:24 +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
e814272bea #3037 Guard pointer access 2018-06-11 12:39:26 +02:00
Magne Sjaastad
e370dee3b0 #3037 Rename using Q for table view model and tree view model 2018-06-11 11:16:39 +02:00
Gaute Lindkvist
68f965f6bb Fix Linux build problem with cafAsyncObjectDeleter 2018-06-08 13:18:30 +02:00
Gaute Lindkvist
5f766e5228 #3013 Make sure all existing connections for PdmObjects are removed before async delete
* Clear all PdmPointer connections (including selection manager)
* Send all threads to the new caf::AsyncWorkerManager which can join the threads
  before program exit if the caller has asked for that.
2018-06-08 12:58:59 +02:00
Magne Sjaastad
d52c7b4119 AppFwk : Remove unused code and several minor cleanup changes 2018-06-08 12:56:50 +02:00
Gaute Lindkvist
4ddacad385 #2680. First reasonable Fracture Gradient and Shear Failure Gradient estimation.
Caveats:
* Hard coded poissonRatio = 0.25
* Hard coded UCS to 100 bar (fairly close to average value for shale in literature).
2018-06-06 12:03:08 +02:00
Magne Sjaastad
d8cc40b8bc #2999 VizFwk : Use IJK and IJK + 1 when adding a single cell 2018-05-31 11:41:59 +02:00
Bjørn Erik Jensen
73c49b4ce9 Fwk. Fix missing config name bug 2018-05-31 10:24:16 +02:00
Gaute Lindkvist
743993718c #2873 New AsyncPointerVectorDeleter-classes to handle memory deletion in separate thread. 2018-05-23 14:38:25 +02:00
Gaute Lindkvist
772e7ec7e6 Revert "#2873 Delegate deletion of summary cases to separate thread."
This reverts commit 0089e0c218.

Didn't intend this to go into dev now
2018-05-22 09:22:12 +02:00
Gaute Lindkvist
0089e0c218 #2873 Delegate deletion of summary cases to separate thread. 2018-05-22 09:21:40 +02:00
Jacob Støren
ec9e2efef4 Fix cotire build problem 2018-05-22 00:16:03 +02:00
Jacob Støren
9b9f9b2bf1 #2939 ProgressInfo: Reintroduce process envents, to update the progress dialog durig processing on linux/mac.
Introduced isActive and used this info to block sheduled redraw/display model regen when progress bar is active, to avoid unintended recursive behaviour resulting in crashes.
2018-05-21 23:46:35 +02:00
Jacob Støren
d37ed9bb7c #2889 Fix crash when few tick marks in legend.
Set legend title before adding to view to make size calculaltion correct first time.
2018-05-11 14:06:08 +02:00
Gaute Lindkvist
15c2b19f59 Slightly improve naming of epsilon/tolerance variable in plane triangle intersection. 2018-05-09 11:34:04 +02:00
Gaute Lindkvist
9da54a115b Fix crash in cafHexGridIntersectionTools when exporting fracture completions.
* Account for two new triangle plane intersection cases where one vertex is touching the plane.
2018-05-09 10:44:29 +02:00
Bjørn Erik Jensen
d659b8e853 #2856 Context menus. Fix logical error during menu build-up 2018-05-07 12:24:51 +02:00
Gaute Lindkvist
88cc6ea3f5 Fix wrong assert in cvfScalarMapperRangeBased::setLevelsFromValues
* Old code always causes assert failure when calling this method.
2018-05-07 11:17:51 +02:00
Bjørn Erik Jensen
0e8eae33db #2818 Selection manager. Add strict method variant 2018-05-07 09:46:45 +02:00
Jacob Støren
d413df0aeb #2730 Category and Scalarmapper Legend: Improve the preferred size 2018-05-04 13:33:06 +02:00
Jacob Støren
df6c9f69d1 ScalarMapperRangeBased: Avoid adding duplicate ticks. Typically when max == min value 2018-05-04 13:33:06 +02:00
Bjørn Erik Jensen
736277e0ef #2797 Ensemble curves. Slightly increased cateory legend height 2018-05-03 09:53:34 +02:00
Gaute Lindkvist
98af9e00ab Fix build issue on Linux 2018-05-02 12:11:15 +02:00
Gaute Lindkvist
6e3d989b2f #2825 Fix curve stitching issues against 3dwell log curve background. 2018-05-02 11:51:36 +02:00
Gaute Lindkvist
f61512ef94 Add Copyright headers to cafTitledOverlayFrame.h|cpp 2018-04-25 14:38:17 +02:00
Gaute Lindkvist
517a557efe Legends (#2786): Fix Debug-build of Resinsight. 2018-04-23 13:08:35 +02:00
Gaute Lindkvist
c5e58df751 3d Well Log Curves (#2783): Enable picking with the track background switched off.
* Add part to the model, but set the color mask false, depth test/write off.
* Result is an invisible part that is present for picking.
2018-04-23 11:35:55 +02:00
Jacob Støren
22a1448ea6 Fix gcc 6 linux errors 2018-04-20 19:38:21 +02:00
Jacob Støren
3957027b4b #2657 Final cleanup and refactoring of legends size system 2018-04-20 16:59:10 +02:00
Jacob Støren
03ec76c20a #2657 Add a preferredSize method to the legends 2018-04-20 16:59:10 +02:00
Jacob Støren
0192f66a4d More renaming and reformatting of legend code 2018-04-20 16:59:10 +02:00
Jacob Støren
1f8d4437bf Remove the unused, unnecessary "position" from several methods and the overlay layout struct 2018-04-20 16:59:10 +02:00
Jacob Støren
d48c2b7aa9 Rename layout variables in legends to make their intent and use clearer 2018-04-20 09:23:19 +02:00