Magne Sjaastad
8fbc532149
Guard missing field for combo box editor
...
This can happen if all summary plots are deleted. The toolbar is still visible, and interaction with toolbar causes crash.
2023-11-27 13:14:16 +01:00
Magne Sjaastad
9db4d03a5f
RegressionTests: Fix performance issues related to DockManager::restoreState
...
* Performance: Disable DockManager::restoreState when running regression tests
* Set parent to Qt widgets to avoid memory leak
* Change singleton pattern to avoid memory leak
2022-12-22 15:35:45 +01:00
Magne Sjaastad
c734a22bd6
Improve user interface for axis linking
...
Several adjustments to UI as discussed with Håkon and Alireza.
* add link/unlink command to right-click menu of axis
* select curve in project tree when clicking on legend item
* make sure internal legend is always visible when toggling plot
* fix issue when using sub plot as data source for axis range
2022-09-09 16:06:56 +02:00
Magne Sjaastad
945f1b1902
Use field auto values for summary plots
...
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.
Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-05 14:12:49 +02:00
Magne Sjaastad
e97a476d85
Add framework support for editor auto values
...
Add support for a field to be linked to a value updated by code outside the object itself. Mark the linked field by using a background color and icons for linked/unlinked state.
The auto value states is set as attributes in the project xml file.
Add reference implementation in cafTestApplication, see Fwk/AppFwk/cafTests/cafTestApplication/MainWindow.cpp
* Tree View Editor: Avoid sending notification if selection is unchanged
* Use std++17 in test solution
* Move icons to icon factory
* add support for creating QIcon from SVG text string
2022-09-02 13:20:52 +02:00
Magne Sjaastad
f0ce04597d
Merge pull request #8985 from OPM/8926-remove-useoptionsonly
...
AppFwk : Remove obsolete useOptionsOnly
2022-05-29 13:01:27 +02:00
Magne Sjaastad
34fb7d7e84
#8345 Summary Plot Manager : Several improvements
...
Add checkboxes for individual plots for vectors/addresses and creation of multiplots.
Moved code into RicSummaryPlotBuilder.
Allow UiComboBoxEditor to disable autocomplete.
Create plot using Enter key without modifiers.
2021-12-07 09:53:02 +01:00
Magne Sjaastad
5fcb81980d
#8310 Summary Plot Manager : Add data source filtering
2021-11-19 15:42:26 +01:00
Magne Sjaastad
7b1c780a77
AppFwk : Do not use deprecated feature in Qt 5.15
2021-11-17 16:26:47 +01:00
Magne Sjaastad
7dfa84b0d9
AppFwk : Support notification when key is pressed in Line/ComboBox editors
2021-11-17 16:26:47 +01:00
Magne Sjaastad
6c672d9c9c
#7376 Data Source Stepping : Improve icons
...
Icons
2021-02-18 18:55:04 +01: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
a7aef3f4e7
Make the combo box drop down menus fit the text content even if the widget itself doesn't.
2019-11-26 14:34:34 +01:00
Magne Sjaastad
a950852559
#4972 Summary : Add placeholder text to combo box editor
2019-11-03 14:49:08 +01:00
Magne Sjaastad
23e8db65c2
Merge remote-tracking branch 'origin/dev' into summary-text-edit-in-toolbar
2019-10-28 20:49:29 +01:00
Magne Sjaastad
7a470587ac
#4924 AppFwk ComboBox: Add minimum width
2019-10-28 20:39:01 +01:00
Magne Sjaastad
022d03a287
#4924 AppFwk ComboBox: Add tooltip
2019-10-28 20:37:27 +01:00
Magne Sjaastad
32128f0bf3
#4924 AppFwk : Add support for editable combo box
2019-10-24 21:03:17 +02:00
Gaute Lindkvist
2857a13e7c
Columns in well log plots
2019-10-24 14:59:16 +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
8e6ac03c75
#4282 Let ComboBoxEditor be narrowed smaller than full text string by default
2019-04-05 13:05:47 +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
Jacob Støren
db78e07fcf
#3797 Use custom icons for up and down stepping of comboboxes
2018-12-18 15:56:46 +01: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
8c5e538f01
Implement a way for editors to fit the label to the field.
2018-09-27 16:07:35 +02:00
Magne Sjaastad
17ee25d0b2
AppFwk : Rename to uiField() and setUiField()
2018-06-15 14:22:03 +02:00
Magne Sjaastad
e814272bea
#3037 Guard pointer access
2018-06-11 12:39:26 +02:00
Magne Sjaastad
3239c66f54
AppFwk (clang-tidy) : modernize-use-nullptr
2018-02-18 18:05:08 +01:00
Magne Sjaastad
c0109361ef
#2170 Summary Cross Plot : Add keyboard modifiers to source stepping
2017-12-04 08:26:26 +01:00
Magne Sjaastad
18f1baea1a
AppFwk : Combo box prev/next buttons - Disable icon when relevant
2017-11-30 08:37:49 +01:00
Magne Sjaastad
c001a0008f
AppFwk : ComboBox : Add previous/next buttons, controlled by attributes
2017-11-29 16:38:29 +01:00
Bjørn Erik Jensen
f4148dfe7a
#1920 Curve creator. Adjust target plot combobox width to contents
2017-09-22 11:49:00 +02:00
Magne Sjaastad
a0a28fee36
#1867 AppFwk : Use updateLabelFromField from field editors
2017-09-07 14:56:10 +02:00
Magne Sjaastad
5e6547c0c5
#1830 AppFwk : Move members to private and use getter functions
2017-09-07 09:33:33 +02:00
Magne Sjaastad
edd4726cf5
#1408 Initialize custom combo box with StrongFocus
2017-04-18 14:57:16 +02:00
Magne Sjaastad
c6c1af06e3
#1408 Disable wheel zooom when QComboBox does not have focus
2017-04-18 14:05:48 +02:00
Magne Sjaastad
6791600d03
#1260 Replaced assert() with CAF_ASSERT() in AppFwk
2017-03-08 08:19:51 +01:00
Jacob Støren
2ccabc4589
Caf: Added asserts to make it clearer that "useOptionsOnly" == false is unsupported yet.
2017-02-09 13:31:25 +01:00
Magne Sjaastad
2807a8d2f8
Added support for icons in combo box editor
2015-09-07 13:51:49 +02:00
Magne Sjaastad
58149cbdb9
Copied in RPM/Fwk/AppFwk
...
Commented out use of stipple line, as VizFwk is not update yet
2015-07-29 14:19:43 +02:00
sigurdp
f64d9b7e64
Moved CAF to Fwk/AppFwk and moved/renamed VisualizationModules to Fwk/VizFwk
2013-09-20 16:01:20 +02:00