  
  ClickableWidget::ClickableWidget(QWidget *parent) : QWidget(parent) { }
  
  void ClickableWidget::mouseReleaseEvent(QMouseEvent *event) {
    emit clicked();
  }
  
  // Fix stylesheets
  void ClickableWidget::paintEvent(QPaintEvent *) {
    QStyleOption opt;
 
</s> remove   void mouseReleaseEvent(QMouseEvent *event) override { emit clicked(); }
 </s> add   void mouseReleaseEvent(QMouseEvent *event) override { 
    if (rect().contains(event->pos())) {
      emit clicked(); 
    }
  } </s> remove 
 </s> add   sp.setScrollMetric(QScrollerProperties::MousePressEventDelay, 0.01);
  if (rect().contains(event->pos())) {
    emit clicked();
  }
  
  ClickableWidget::ClickableWidget(QWidget *parent) : QWidget(parent) { }
  
  void ClickableWidget::mouseReleaseEvent(QMouseEvent *event) {
  if (rect().contains(event->pos())) {
    emit clicked();
  }
  }
  
  // Fix stylesheets
  void ClickableWidget::paintEvent(QPaintEvent *) {
    QStyleOption opt;
keep keep keep keep replace keep keep keep keep keep
 UI: fix unable to scroll on 'Regulatory' page (#25014)

* fix unable to scroll on 'Regulatory' page

deleteLater after hide

* remove alert

* override exec

* set MousePressEventDelay to 0

* set to 0.01

* cleanup

* check event->pos() 
selfdrive/ui/qt/widgets/controls.cc