Commit Graph
54 Commits
Author SHA1 Message Date
Magne Sjaastad 13a91aef51 #8186 Table view : Add copy to clipboard using Ctrl-C 2021-11-01 11:14:48 +01:00
Magne Sjaastad 3c07989c51 Janitor : Remove obsolete code related to Qt 4 2021-02-22 13:37:05 +01:00
magnesj d11e109c7e Fixes by clang-format 2020-11-06 06:18:34 -05:00
Magne Sjaastad bdc536dfc4 #6106 Apply clang-format on AppFwk 2020-06-19 08:00:01 +02:00
Gaute Lindkvist 2e79cf614f Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Gaute Lindkvist c0f3258f19 Work in progress 2019-04-09 10:30:15 +02:00
Gaute Lindkvist 4e92a7e44a More consistent naming for Qt-derived classes in CAF 2019-04-08 14:24:43 +02:00
Gaute Lindkvist a8e14e9f9a Fix copyright header and namespace for cafShortenedQLabel 2019-04-05 17:31:07 +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 cc7269c717 #3752 CAF code changes to build on both Qt4 and Qt5 2018-11-30 09:47:53 +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
Gaute Lindkvist 71a1bd98ab #3441 Improve table view to work better with more attribute types. 2018-10-05 15:35:15 +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 2d1d9fed95 AppFwk : Fix signed/unsigned issue 2018-09-13 08:55:02 +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
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 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
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
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
Magne Sjaastad ab556d786b #3048 AppFwk : Remove custom context menu functions 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 c491939713 #3037 AppFwk : Implement and use createLabelWidget() 2018-06-11 14:22:30 +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 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
Magne Sjaastad 3239c66f54 AppFwk (clang-tidy) : modernize-use-nullptr 2018-02-18 18:05:08 +01:00
Magne Sjaastad 9dd730f8f6 AppFwk : Add support for push buttons in table editor 2017-10-12 10:52:30 +02:00
Magne Sjaastad 749ce8e8af #1292 Fixed CppCheck Issues in AppFwk/cafUserInterface 2017-03-06 19:15:33 +01:00
Magne Sjaastad 0cda0a4071 AppFwk : Added flag to control visibility of header text above table editor 2017-01-17 13:10:37 +01:00
Magne Sjaastad 87f595a047 AppFwk : Set content margins to zero 2016-12-14 12:31:19 +01:00
Magne Sjaastad fb55b469a0 System : Replaced tab with four spaces in AppFwk 2015-10-23 15:21:45 +02:00
Magne Sjaastad 0383c35be6 System : Improved performance when converting from enum value to ui text 2015-10-23 09:19:17 +02:00