  #include <QFrame>
  #include <QPushButton>
  #include <QLabel>
  
  #include "common/params.h"
  #include "widgets/scrollview.h"
  
  class OffroadAlert : public QFrame {
    Q_OBJECT
 
</s> remove #include <QQuickWidget>
#include <QQmlContext>
 </s> add  </s> remove   QVBoxLayout *layout = new QVBoxLayout();
 </s> add   QVBoxLayout *layout = new QVBoxLayout; </s> remove   setStyleSheet("QLabel {font-size: 48px; font-weight: 500;}");
 </s> add   metric = Params().getBool("IsMetric");
  QString distance_unit = metric ? "KM" : "MILES";
#include <QVBoxLayout>
  #include <QFrame>
  #include <QPushButton>
  #include <QLabel>
#include <QVBoxLayout>
  
  #include "common/params.h"
  #include "widgets/scrollview.h"
  
  class OffroadAlert : public QFrame {
    Q_OBJECT
keep keep add keep keep keep keep keep keep
 UI: fast startup (#20781)

* faster startup

* faster

* cleanup

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/widgets/offroad_alerts.h