This PR includes several improvements to the TrafficGraphWidget:
- Enhanced traffic graph visualization with improved scaling and tooltips
- Added persistence for traffic data between sessions
- Improved time handling with new utility functions
- Added support for multiple time ranges with smooth transitions
- Updated deprecated Qt5 mouse event methods for Qt6 compatibility
Key improvements:
- Added tooltips showing detailed traffic information when hovering over data points
- Implemented data persistence to maintain traffic history between application restarts
- Added new utility functions for time formatting and millisecond precision
- Improved graph scaling with logarithmic option for better visualization of varying traffic levels
- Updated mouse event handling to use modern Qt6 APIs
- Added support for multiple time ranges (5min to 28 days) with smooth transitions
- Improved data accuracy with better timestamp handling
This is a rebase of #559 for the latest core/master, with significant improvements to the traffic graph widget’s functionality and user experience.