Graphic-Cache SubMenu
The submenu locates on the Preference Menu Dropdown.
The model UserService is from its parent component.
Layout
- Graphic-Cache SubMenu
Graphic-Cache Lower Limit Input Text FieldGraphic-Cache Upper Limit Input Text FieldGraphic-Cache Input Text FieldGraphic-Cache Slider
Behavior
Graphic-Cache Input Text Field and Graphic-Cache Slider bind the GraphicCacheMb. The limit text fields also bind to the properties of UserConfig.
Source Code Path
See this page for git repository.
WPF Application Source Code Path
- MainWindow (be included in preference menu)
Web Page Application Source Code Path
HiNC-2025-webservice (Quasar CLI SPA):
wwwroot-src/src/components/preference/GraphicCacheMenu.vue— nested<q-menu>underPreference → Graphic Cachewith Lower / Upper (NumericInput) + Current (NumericInput) +<q-slider>. Commits on blur / change.wwwroot-src/src/components/widgets/NumericInput.vue— sharedInfinity-friendly numeric field reused for the three limit inputs.wwwroot-src/src/layouts/AppMenuBar.vue— hosts the Graphic Cache entry inside the Preference dropdown.wwwroot-src/src/api/preference.ts— typed wrapper overGET/POST /api/preference/graphic-cache.Environments/PreferenceController.cs— REST endpoints:GET /api/preference/graphic-cachereturns{ graphicCacheMb, lowerLimitMb, upperLimitMb };POSTwrites throughUserService.SaveUserConfig()→UserConfig.GraphicCacheMb→CubeTree.DispCacheMb.