Magne Sjaastad
2143673aa7
#3583 Property Editor : Set unused grid cells to stretch 0
2018-11-02 14:58:08 +01:00
Magne Sjaastad
a3aeb424b3
Revert " #3564 System : Recreate QGridLayout for each property editor"
...
This reverts commit f6c92a15a6
.
2018-11-02 14:04:29 +01:00
Magne Sjaastad
78505bb44d
System : Fix name collision of macro expansion
...
The macro CAF_PDM_UI_FIELD_EDITOR_SOURCE_INIT expands to a variable name colliding with an identical variable name in a different file. Cotire put the two files into same file, and this causes compilation issues.
Fixed by removing some empty lines in one file, to make sure the two statements are defined at different lines.
2018-11-01 19:56:55 +01:00
Gaute Lindkvist
0d3b205dac
#3589 Fix regression in column width for table in well path creation.
2018-10-31 09:32:10 +01:00
Magne Sjaastad
f6c92a15a6
#3564 System : Recreate QGridLayout for each property editor
...
If the layout is reused, the rows grow over time. This causes the Cell Result to not fill all available space.
2018-10-26 11:39:58 +02:00
Magne Sjaastad
764fb65e8e
clang-tidy : Remove redundant 'virtual' and add 'override'
...
clang-tidy : Remove redundant 'virtual' and add 'override'
2018-10-18 16:35:51 +02:00
Gaute Lindkvist
71a1bd98ab
#3441 Improve table view to work better with more attribute types.
2018-10-05 15:35:15 +02:00
Jacob Støren
bd79bd89c1
#3449 Improve checkbox column size hint, alignment and "hit" rectanngle
2018-10-03 08:40:28 +02:00
Jacob Støren
979882da03
AppFwk: Read only checkboxes in table view, now is rendered disabled
2018-10-02 16:52:56 +02:00
Gaute Lindkvist
fcda0b9755
Remove padding to the left in TreeSelectionEditor if the tree doesn't have grand children.
2018-10-02 08:46:24 +02:00
Gaute Lindkvist
33a171fbcf
#3419 Implement buttons to add communicating tracers to the selected injectors or producers.
2018-09-28 15:46:08 +02:00
Gaute Lindkvist
e91bdece9c
Ui Form Layout, simplify comment for label content margin shift.
2018-09-28 15:46:08 +02:00
Gaute Lindkvist
8c5e538f01
Implement a way for editors to fit the label to the field.
2018-09-27 16:07:35 +02:00
Gaute Lindkvist
15a61f88e0
Fix row stretch issue.
2018-09-26 14:45:56 +02:00
Gaute Lindkvist
e8a1d30f2d
#3404 Side by side editors, first implementation.
2018-09-26 14:30:50 +02:00
Jacob Støren
e55fc4990d
#3353 AppFwk: TableViewEditor: Support pr cell tooltip.
...
Use ForegroundRole text color for highlighted cells also.
Use PdmUiItem::uiContentTextColor as ForegroundRoleText
2018-09-24 15:49:16 +02:00
Jacob Støren
3cd9c6123c
Remove compiler warning
2018-09-19 10:25:57 +02:00
Gaute Lindkvist
a3f6a8dd3d
#3373 Initialize variable so that selection events updates selection manager for table view editor
2018-09-17 13:23:23 +02:00
Magne Sjaastad
deff3ed41b
#3365 AppFwk Integer slider editor : Block signals in configureAndUpdate
2018-09-14 09:45:53 +02:00
Magne Sjaastad
6aa234cc9b
AppFwk : Fix several warnings
2018-09-13 09:01:05 +02:00
Magne Sjaastad
2d1d9fed95
AppFwk : Fix signed/unsigned issue
2018-09-13 08:55:02 +02:00
Magne Sjaastad
16d3e67de0
AppFwk : Set warning level to W4 for Visual Studio
2018-09-13 08:54:40 +02:00
Jacob Støren
50b10d6078
#3357 Appfwk: Table View Editor : Use deleteLater to avoid crash
...
due to delegates beeing deleted before the actual widgets. Qt needs the delegates to redraw stuff on the way to the event loop
2018-09-12 14:20:43 +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
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