ResInsight/ApplicationLibCode/Application
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
..
Tools Janitor: Remove unused includes 2023-05-15 15:43:01 +02:00
CMakeLists_files.cmake Basic seismic support (#10010) 2023-03-24 15:36:10 +01:00
RiaApplication.cpp Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
RiaApplication.h Improve how wells are connected during import 2023-03-07 12:51:14 +01:00
RiaCompletionTypeCalculationScheduler.cpp Refactor result definition 2023-05-11 08:37:58 +02:00
RiaCompletionTypeCalculationScheduler.h Update clang-format.yml (#10068) 2023-04-13 07:05:53 +02:00
RiaConsoleApplication.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaConsoleApplication.h Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
RiaCurveSetDefinition.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaCurveSetDefinition.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaDateTimeDefines.cpp Refactor ensemble import dialog 2023-04-20 10:16:43 +02:00
RiaDateTimeDefines.h Refactor ensemble import dialog 2023-04-20 10:16:43 +02:00
RiaDefines.cpp Add result type and create and use custom legend if possible 2023-05-09 11:41:56 +02:00
RiaDefines.h Add result type and create and use custom legend if possible 2023-05-09 11:41:56 +02:00
RiaEclipseFileNameTools.cpp Remove special summary case connected to a grid model 2023-03-03 15:28:34 +01:00
RiaEclipseFileNameTools.h Remove special summary case connected to a grid model 2023-03-03 15:28:34 +01:00
RiaFeatureCommandContext.cpp Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaFeatureCommandContext.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaFontCache.cpp Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaFontCache.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaFractureDefines.cpp Moved UnitSystem from RiaEclipseUnitTools to RiaDefines. (#7225) 2021-01-21 12:58:46 +01:00
RiaFractureDefines.h Moved UnitSystem from RiaEclipseUnitTools to RiaDefines. (#7225) 2021-01-21 12:58:46 +01:00
RiaGuiApplication.cpp Change API for PdmObjectHandle and PdmFieldHandle 2023-05-12 21:41:34 +02:00
RiaGuiApplication.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaLasDefines.cpp Create depth adjusted LAS files 2023-01-23 12:46:54 +01:00
RiaLasDefines.h Create depth adjusted LAS files 2023-01-23 12:46:54 +01:00
RiaMemoryCleanup.cpp 9978 Improve UI for long drop-down lists, use tree selection more 2023-05-22 15:44:37 +02:00
RiaMemoryCleanup.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaNncDefines.cpp Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaNncDefines.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaNumberFormat.cpp #7667 Statistics Plot: add number format settings. 2021-05-29 10:00:27 +02:00
RiaNumberFormat.h #7667 Statistics Plot: add number format settings. 2021-05-29 10:00:27 +02:00
RiaPlotCollectionScheduler.cpp Performance : Simplify use of update schedulers 2022-05-05 14:15:45 +02:00
RiaPlotCollectionScheduler.h Performance : Simplify use of update schedulers 2022-05-05 14:15:45 +02:00
RiaPlotDefines.cpp Add reference well to well log extraction curve eclipse case (#9516) 2022-11-30 23:13:39 +01:00
RiaPlotDefines.h Add reference well to well log extraction curve eclipse case (#9516) 2022-11-30 23:13:39 +01:00
RiaPlotWindowRedrawScheduler.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaPlotWindowRedrawScheduler.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaPorosityModel.cpp Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaPorosityModel.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaPreferences.cpp Add a few more tiny scales. Allow user to input doubles in preferences. 2023-03-10 19:43:37 +01:00
RiaPreferences.h Add a few more tiny scales. Allow user to input doubles in preferences. 2023-03-10 19:43:37 +01:00
RiaPreferencesGeoMech.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaPreferencesGeoMech.h Remove obsolete fault reactivation assessment feature 2022-11-18 16:13:26 +01:00
RiaPreferencesSummary.cpp 9978 Improve UI for long drop-down lists, use tree selection more 2023-05-22 15:44:37 +02:00
RiaPreferencesSummary.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaPreferencesSystem.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaPreferencesSystem.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaResultNames.cpp Add result type and create and use custom legend if possible 2023-05-09 11:41:56 +02:00
RiaResultNames.h Add result type and create and use custom legend if possible 2023-05-09 11:41:56 +02:00
RiaRftDefines.cpp Show branch ID range in addition to branch index 2022-10-06 10:32:44 +02:00
RiaRftDefines.h Show branch ID range in addition to branch index 2022-10-06 10:32:44 +02:00
RiaRftPltCurveDefinition.cpp Fix selection of multiple pressure/depth sources in plot 2023-03-13 16:09:01 +01:00
RiaRftPltCurveDefinition.h Fix selection of multiple pressure/depth sources in plot 2023-03-13 16:09:01 +01:00
RiaScheduler.cpp Performance : Simplify use of update schedulers 2022-05-05 14:15:45 +02:00
RiaScheduler.h Fixes by clang-tidy 2022-05-06 06:39:08 +02:00
RiaSeismicDefines.cpp Seismic support improvments (#10086) 2023-04-13 13:18:34 +02:00
RiaSeismicDefines.h Seismic support improvments (#10086) 2023-04-13 13:18:34 +02:00
RiaStimPlanModelDefines.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaStimPlanModelDefines.h #8027 StimPlan Model Export: Add perforation, formation and facies info 2021-10-04 10:20:09 +02:00
RiaStringListSerializer.cpp Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaStringListSerializer.h Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00
RiaSummaryCurveDefinition.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaSummaryCurveDefinition.h clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaSummaryDefines.cpp Summary Plot adjustments 2022-11-08 08:18:31 +01:00
RiaSummaryDefines.h Refactor ensemble import dialog 2023-04-20 10:16:43 +02:00
RiaThermalFractureDefines.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaThermalFractureDefines.h GitHub Actions: Add apt mirror to make package download more robust 2023-02-07 07:22:57 +01:00
RiaViewRedrawScheduler.cpp clang-format: Set column width to 140 2023-02-26 10:48:40 +01:00
RiaViewRedrawScheduler.h Performance : Simplify use of update schedulers 2022-05-05 14:15:45 +02:00
RiaWellFlowDefines.cpp Producer/Injector Connectivity Table (#9928) 2023-03-21 08:32:38 +01:00
RiaWellFlowDefines.h Producer/Injector Connectivity Table (#9928) 2023-03-21 08:32:38 +01:00