ResInsight/ApplicationLibCode
Magne Sjaastad 40080a99de
9978 Improve UI for long drop-down lists, use tree selection more
* Improve tree selection editor
- always call defineEditorAttributes
- use heightHint in editor attributes 
- use tree selection editor as default editor for std::vector

* Use tree selection editor instead of list selection editor
List selection editor must be used when editing std::vector<cvf::vec3d> and similar. Replace other use of list selection editor with tree selection editor.

* Set checked state based on text string for integer only models
For models with only integer values, use text string to define the items to be selected. The full list will always be visible, and the checked state will be updated when editing the filter text.

Example: "1, 5-7" will set items 1, 5, 6, 7 checked and all other items unchecked

* Minor fixes
- Set placeholder text after content is added (to ensure correct data type)
- Fix check of integers. `canConvert<int>()`returns true for both QString and int. Thus convert to string and then check for int conversion.

* Activate filtering when unchecking all items in list with only integers
- Reactivate filtering when uncheck of all items for a list with only integer values (to keep consistency between filter and list)
- Update function name for clarity

---------

Co-authored-by: Jørgen Herje <jorgen.herje@ceetronsolutions.com>
2023-05-22 15:44:37 +02:00
..
Adm Prepare release 2023.03.0 2023-03-16 06:44:32 +01:00
Application 9978 Improve UI for long drop-down lists, use tree selection more 2023-05-22 15:44:37 +02:00
CommandFileInterface Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
Commands 9978 Improve UI for long drop-down lists, use tree selection more 2023-05-22 15:44:37 +02:00
FileInterface #10273 Set default value for "Immport Advanced MSW Data" to true 2023-05-16 13:12:57 +02:00
GeoMech Displacement curves fault faces (#10243) 2023-05-22 11:37:57 +02:00
ModelVisualization Displacement curves fault faces (#10243) 2023-05-22 11:37:57 +02:00
ProjectDataModel 9978 Improve UI for long drop-down lists, use tree selection more 2023-05-22 15:44:37 +02:00
ProjectDataModelCommands Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
ReservoirDataModel Displacement curves fault faces (#10243) 2023-05-22 11:37:57 +02:00
ResultStatisticsCache Use target_include_directory 2023-04-25 13:14:26 +02:00
SocketInterface Refactor classes in RigWellResultPoint.h 2023-04-14 11:00:45 +02:00
UnitTests Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
UserInterface Update naming and imports 2023-05-22 15:42:24 +02:00
.clang-format clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
.clang-tidy Added more clang-tidy checks 2023-04-14 14:07:45 +02:00
CMakeLists.txt Add prefix to cmake options 2023-05-19 15:03:04 +02:00
CustomPCH.cmake Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
Doxyfile Adjust doxygen documentation generation 2022-12-08 12:38:32 +01:00
pch.h Janitor : Use std::clamp and remove obsolete includes of cvfMath 2021-02-22 13:37:05 +01:00
RiuThemesDirectory.h.cmake #8560 Fix gray background for default theme 2022-04-13 21:16:51 +02:00