# Topics To Be Covered In This Post #
- What I did this week
- Resolved the assets licenses and removed unused assets (icons).
- Fixed the window resizing issue.
- Increased the navigation button sizes.
- Added toggle button to switch between kuksa to CAN signals for Steering wheel controls
- What I plan to do next
# Assets #
This week I resolved licenses for the various assets used in the project,
- fan.svg: fan.svg by Alpár-Etele Méder
- IC.svg: IC.svg by Fasil under Creative Creative Commons(Attribution 3.0 unported)
- Temps: TempUP.svg & TempDown.svg by www.wishforge.games
- Cruise.svg: Vectors and icons by Esri in MIT License via SVG Repo
- Voice.svg: Vectors and icons by Carbon Design in Apache License via SVG Repo
- feather icons:
# Window Resizing #
I resolved the window resizing issues, by using custom handles for the QMainWindow
in the UI_Handler
module. I implemented the resize logic by subclassing QWidget
and overriding the mouse events and the resizeEvent
method. I also needed to create some custom widgets that act as grips for resizing the window from different edges or corners.
# Navigation buttons #
I added a new Menu Page
to the Control Panel for easier navigation to the various controls and also increased the sizes of the Navigation
buttons at the bottom to increase the responsive hit area when used on a touch display. I also switched the Navigation
buttons to a Pressed
event from the previously used Click
event.
# Toggle Kuksa to CAN #
I also added a toggle to switch between Kuksa signals and CAN bus signals, It will soon be mapped to its relevant function.
# What Next? #
- Build an image with agl-demo-preload & agl-demo-cluster-support.
- Implement the module responsible for sending CAN frames for steering wheel controls.
- Test on the target machine using CAN bus adaptors.