Commit Graph

740 Commits

Author SHA1 Message Date
Gaute Lindkvist
ac8a11c813 Make caf::PdmPtrField inherit caf::PdmValueField and make it support QVariant. 2018-09-05 11:03:41 +02:00
Gaute Lindkvist
4c84bbb8a3 #3014 and #3022 Well Bore Stability: LAS and element table input and cleaned up extraction code. 2018-09-04 12:01:07 +02:00
Jacob Støren
26b3065974 #3296 caf: Table View: Force redraw when QSelection changes (Qt bug)
Guard against doing anything if table is hidden
2018-08-31 16:13:46 +02:00
Jacob Støren
e26a57011d #3296 caf::SelectionManager: Refactoring to avoid sending multiple selection changes
Must be considered if using the CmdSelectionGangeExec
2018-08-31 16:13:46 +02:00
Jacob Støren
e93a07b43b Fix missing blocking of selection manager update when updating table selection
Caused crash in the Well Path editing (dragging targets)
2018-08-30 15:43:55 +02:00
Magne Sjaastad
1104c336aa #3294 Selection Manager : Clear selection when editor is activated 2018-08-30 10:42:25 +02:00
Gaute Lindkvist
8e73f132cf #3285 Make context menu on table views work correctly with multiple contexts. 2018-08-30 09:32:28 +02:00
Jacob Støren
015bb1719a #3290 caf: Add force column resize attribute 2018-08-29 17:07:36 +02:00
Jacob Støren
99bdece40e #3249 caf: Add isSelected method to selection manager 2018-08-29 16:04:08 +02:00
Jacob Støren
ed518a94a6 #3249 caf: Add background color control to table view 2018-08-29 16:04:08 +02:00
Magne Sjaastad
6b5f7ed1d9 TestApplication : Renamed the WidgetBasedObjectEditor to FormLayoutObjectEditor 2018-08-28 15:18:22 +02:00
Jacob Støren
8fca7475e9 caf: Renamed the WidgetBasedObjectEditor to FormLayoutObjectEditor 2018-08-27 16:25:26 +02:00
Magne Sjaastad
9e3a100bcc #3253 OpenMP : Give name to all critical sections 2018-08-27 13:04:29 +02:00
Gaute Lindkvist
92bcae2805 Add not equals operator to PdmDataValueField 2018-08-27 11:33:02 +02:00
Bjørn Erik Jensen
9bff5881a3 #3271 Create Multiple Fractures. Summary field using empty space 2018-08-27 10:47:03 +02:00
Bjørn Erik Jensen
1be8d335fa PdmUiTableViewEditor. Add support for setting column widths 2018-08-24 15:10:10 +02:00
Gaute Lindkvist
208505ee5f Fix Linux build issue with cafSelectionManager 2018-08-22 13:10:18 +02:00
Gaute Lindkvist
12202fe4e6 #3255 Add convenience methods to caf::SelectionManager 2018-08-22 13:04:00 +02:00
Magne Sjaastad
46e42a5489 AppFwk : Remove not required function call 2018-08-22 09:44:18 +02:00
Jacob Støren
37cb3e0ab7 caf: Removed obsolete SelectionManager includes 2018-08-21 16:44:20 +02:00
Jacob Støren
296854d749 caf: Rename of SelectionRole to SelectionLevel and
CURRENT to FIRST_LEVEL
Replace use of SelectionLevel enum as argument with int
2018-08-21 16:44:19 +02:00
Jacob Støren
0e92c1d594 caf: Replace selection role with selectionLevel.
Use std::map for storage of the different selections
Started to remove the SelectionRole Enum
2018-08-21 16:44:19 +02:00
Jacob Støren
e10754cffb #2607 caf: Add selection level to the "notify selection changed" system 2018-08-21 16:44:19 +02:00
Magne Sjaastad
56bf2ede7d #3222 AppFwk : Improve robustness/maintainability (3) 2018-08-20 08:56:35 +02:00
Magne Sjaastad
26f6eb1dd4 #3222 AppFwk : Improve robustness/maintainability (2) 2018-08-20 08:24:24 +02:00
Magne Sjaastad
cd63332514 #3222 AppFwk : Improve robustness/maintainability 2018-08-20 08:02:36 +02:00
Magne Sjaastad
37369cb0fb AppFwk : Add const 2018-08-20 08:02:36 +02:00
Jacob Støren
096536a341 caf: Use caf::Factory macro for factory registration in field editors. Removed obsolete code 2018-08-17 12:32:40 +02:00
Magne Sjaastad
bc9332f45a AppFwk : Whitespace 2018-08-16 13:59:28 +02:00
Magne Sjaastad
ddf9a6a2d8 AppFwk : Rename to cafPdmuiTableRowEditor 2018-08-16 13:52:36 +02:00
Jacob Støren
e862ef873a #3221 caf: Avoid selectionChanged and updateConnectedEditors when TableView is built (configureAndUpdateUi) 2018-08-16 11:55:28 +02:00
Magne Sjaastad
97c3b9efea #3214 AppFwk : Add function to get referencing objects of specified type 2018-08-15 13:01:11 +02:00
Magne Sjaastad
e21fe9b706 RegTestRunner : Add removeDirectoryAndFilesRecursively 2018-08-10 08:23:08 +02:00
Magne Sjaastad
8425ea96ad #3185 Remove FixedArray 2018-08-07 10:37:52 +02:00
Magne Sjaastad
29dd2cd093 Rename 2018-08-02 13:52:24 +02:00
Magne Sjaastad
b79a340333 AppFwk TableEditor : Add selection of owner object
If no objects in the table is selected, add the owner object to selection. This makes it possible to access the owner object from features to add new items into empty tables.
2018-08-02 13:45:46 +02:00
Jacob Støren
e739a95830 AppFwk: Auto resize of columns and rows when new field is displayed. Better Heading label behaviour. 2018-07-04 17:02:19 +02:00
Bjørn Erik Jensen
13e5a3214b #3087 Show plot data. Display tabbed dialog for summary data 2018-07-02 11:45:14 +02:00
Gaute Lindkvist
c33ec790ed Convenience method for cafProgressInfo to increment and set up next step. 2018-07-02 10:29:30 +02:00
Magne Sjaastad
e45ac4d705 AppFwk : Add include 2018-06-29 17:15:28 +02:00
Jacob Støren
99565f62f2 AppFwk: Fix missing type guard in multi select field edit code. Added Assert in updateUI to prevent accidental recursive calling. 2018-06-29 16:23:26 +02:00
Jacob Støren
1c8d5bf942 AppFwk: Color editor no longer calls setValueToField on update GUI 2018-06-29 16:23:26 +02:00
Magne Sjaastad
3b94c06e11 AppFwk : Fix compile issue for test application 2018-06-29 08:05:38 +02:00
Jacob Støren
8e53e2a3cf AppFwk: Remove NotificationCenter from SelectionManager 2018-06-28 09:58:51 +02:00
Jacob Støren
ba9f7720e6 AppFwk: Clean-up of table view after refactoring 2018-06-27 17:24:33 +02:00
Jacob Støren
88297bdb9f AppFwk: Add editor attribute. Object-only SelectionManager use. Use SelectionChangedReceiver. Improve tableview-checkbox selection behaviour and look. 2018-06-27 17:24:32 +02:00
Jacob Støren
08c78471c3 AppFwk: Introduce SelectionChangedReceiver as a slimmer replacement for NotificationCenter 2018-06-27 17:24:05 +02:00
Jacob Støren
66cec70718 AppFwk: Support field changed on multiple objects in general.
Not only inside the command framework on CURRENT selection
2018-06-27 13:13:24 +02:00
Jacob Støren
ad709d76a2 AppFwk: Change interface of uiOrder insertion to direct insert
Instead of find + insert
2018-06-25 12:57:11 +02:00
Jacob Støren
73a52c4929 AppFwk: Index based uiordering insertion. 2018-06-25 12:57:11 +02:00