Commit Graph

476 Commits

Author SHA1 Message Date
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
ed518a94a6 #3249 caf: Add background color control to table view 2018-08-29 16:04:08 +02:00
Jacob Støren
8fca7475e9 caf: Renamed the WidgetBasedObjectEditor to FormLayoutObjectEditor 2018-08-27 16:25:26 +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
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
e10754cffb #2607 caf: Add selection level to the "notify selection changed" system 2018-08-21 16:44:19 +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
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
Gaute Lindkvist
c33ec790ed Convenience method for cafProgressInfo to increment and set up next step. 2018-07-02 10:29:30 +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
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
Gaute Lindkvist
9e7dd7d4ea #3076 Stop key press event in time step interval causing filtered dialog to close. 2018-06-21 15:39:44 +02:00
Gaute Lindkvist
921c1f606d Set a minimum width for progress dialog 2018-06-20 11:46:19 +02:00
Magne Sjaastad
b0a6b81363 #3066 AppFwk : Add define to avoid min() and max() as macros 2018-06-20 09:56:51 +02:00
Gaute Lindkvist
d13a52a8b4 #3058 Implement a memory cleanup dialog for GeoMech data. 2018-06-19 12:20:21 +02:00
Gaute Lindkvist
e3bffafb46 Make memory critical threshold limits different on Linxu and Windows. 2018-06-19 10:09:51 +02:00
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
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
Magne Sjaastad
d52c7b4119 AppFwk : Remove unused code and several minor cleanup changes 2018-06-08 12:56:50 +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
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
Magne Sjaastad
65c3d6ff12 #2536 Build System AppFwk : Use target_include_directories 2018-02-27 17:19:23 +01:00
Magne Sjaastad
309b1f0749 AppFwk Clang : Reorder initialization order to match declaration order 2018-02-23 19:43:48 +01:00
Magne Sjaastad
f9de64c538 AppFwk : Use freopen_s instead of freopen 2018-02-23 19:34:43 +01:00