Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: sunnypilot menu refactor (commaai#242)
* ui: `SPOptionControl` * This works * only need to initialize * Use QButtonGroup * Add method to update specific labels * Always init label with value * add method to update external methods * Update in another PR * Unnecessary * construct std map with defined range * Test that it works * In separate PR * change var * refreshLabels() instead * Revert "refreshLabels() instead" This reverts commit ceed9935cf48c7db974e45ab5ab496a7bc3f9f26. * allow individual `refresh` classes * now we can do it in another PR! * General: OnroadScreenOff * General: OnroadScreenOffBrightness * General: BrightnessControl * Controls: CameraOffset * Controls: PathOffset * Controls: AutoLaneChangeTimer * Controls: GapAdjustCruiseMode * Controls: TorqueFriction * Controls: TorqueMaxLatAccel * Controls: SpeedLimitOffsetType * Controls: SpeedLimitValueOffset * General: MaxTimeOffroad * Visuals: DevUiInfo * Visuals: ChevronInfo * unused * add comment
- Loading branch information