  
  #include "cereal/gen/cpp/log.capnp.h"
  #include "selfdrive/hardware/hw.h"
  #include "selfdrive/ui/ui.h"
  
  typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert;
  
  // ***** onroad widgets *****
  
  class OnroadAlerts : public QWidget {
 
</s> remove class OnroadAlerts : public QFrame {
 </s> add class OnroadAlerts : public QWidget { </s> remove #include "selfdrive/ui/qt/qt_window.h"
 </s> add #include "selfdrive/ui/qt/util.h" </s> remove 
void configFont(QPainter &p, QString family, int size, int weight) {
  QFont f(family);
  f.setPixelSize(size);
  f.setWeight(weight);
  p.setFont(f);
}
 </s> add #include "selfdrive/ui/qt/util.h" </s> remove   void update(const UIState &s);
 </s> add   void updateState(const UIState &s); </s> remove   QObject::connect(this, &OnroadWindow::update, alerts, &OnroadAlerts::update);
 </s> add   QObject::connect(this, &OnroadWindow::update, alerts, &OnroadAlerts::updateState);
#include "selfdrive/ui/qt/qt_window.h"
  
  #include "cereal/gen/cpp/log.capnp.h"
  #include "selfdrive/hardware/hw.h"
  #include "selfdrive/ui/ui.h"
#include "selfdrive/ui/qt/qt_window.h"
  
  typedef cereal::CarControl::HUDControl::AudibleAlert AudibleAlert;
  
  // ***** onroad widgets *****
  
  class OnroadAlerts : public QWidget {
keep keep keep add keep keep keep keep keep keep
 match nvg onroad alerts (#20854) 
selfdrive/ui/qt/onroad.h