mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
Replace the chain/padlock icon with a simple two-headed-arrow icon (SharedAxis.svg) for linked time/property axes. Add a pinned-range project-tree tag shown when an axis range is user-defined, using the standard gray pinned.svg icon. The tag refreshes immediately regardless of the code path that changes the range/auto-zoom state (Zoom All, data source changes, axis linking, UI edits), and clicking the tag releases the user-defined range so the axis auto-zooms again. Add RicToggleAxisAutoZoomFeature, a checkable context-menu command on Y-axis and time-axis objects that toggles auto-zoom and keeps the pinned/user-defined-range tag in sync in both directions. Move axis-specific context-menu entries out of RimContextCommandBuilder into appendMenuItems() overrides on RimPlotAxisProperties and RimSummaryTimeAxisProperties, per the project convention of keeping object-specific menu logic in the object. Fix RimSummaryPlot::timeAxisSettingsChanged() to actually re-apply auto-scale to the plot widget when auto-zoom is re-enabled on the time axis; previously only the property was updated, and no recompute of the plotted range was triggered.
56 lines
3.4 KiB
CMake
56 lines
3.4 KiB
CMake
set(SOURCE_GROUP_SOURCE_FILES
|
|
${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicOpenSummaryPlotEditorFromDockAreaFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewDefaultSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotFeatureImpl.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataToSummaryPlotFeatureUi.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicViewZoomAllFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveSwitchAxisFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryCaseFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicAsciiExportSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewGridTimeHistoryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSelectSummaryPlotUI.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteTimeHistoryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteAsciiDataCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorUi.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorWidgetCreator.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryPlotEditorDialog.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryCurveCalculatorFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicEditSummaryCurveCalculationFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorDialog.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSummaryCurveCalculatorUi.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryCrossPlotCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryEnsembleCurveSetFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteEnsembleCurveSetFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewEnsembleCurveFilterFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedEnsembleFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingSummaryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingSummaryCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicClearSourceSteppingEnsembleCurveSetFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicSetSourceSteppingEnsembleCurveSetFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewDerivedSummaryFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewPlotAxisPropertiesFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicShowSummaryPlotManagerFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicPasteSummaryMultiPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicDeleteSubPlotCtxFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicToggleYAxisLinkingFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicToggleXAxisLinkingFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicToggleAxisAutoZoomFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicNewSummaryTableFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicDuplicateSummaryTableFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicCreateDeclineCurvesFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicCreateRegressionAnalysisCurveFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicCreateCrossPlotFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicReplaceSummaryEnsembleFeature.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/RicReplaceSummaryCaseFeature.cpp
|
|
)
|
|
|
|
list(APPEND COMMAND_CODE_SOURCE_FILES ${SOURCE_GROUP_SOURCE_FILES})
|