|
|
@ -1,18 +1,14 @@ |
|
|
|
#include "selfdrive/ui/qt/offroad/onboarding.h" |
|
|
|
#include "selfdrive/ui/qt/offroad/onboarding.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <QDesktopWidget> |
|
|
|
|
|
|
|
#include <QLabel> |
|
|
|
#include <QLabel> |
|
|
|
#include <QPainter> |
|
|
|
#include <QPainter> |
|
|
|
#include <QQmlContext> |
|
|
|
#include <QQmlContext> |
|
|
|
#include <QQuickWidget> |
|
|
|
#include <QQuickWidget> |
|
|
|
#include <QVBoxLayout> |
|
|
|
#include <QVBoxLayout> |
|
|
|
|
|
|
|
|
|
|
|
#include "selfdrive/common/params.h" |
|
|
|
|
|
|
|
#include "selfdrive/common/util.h" |
|
|
|
#include "selfdrive/common/util.h" |
|
|
|
#include "selfdrive/ui/qt/home.h" |
|
|
|
|
|
|
|
#include "selfdrive/ui/qt/widgets/input.h" |
|
|
|
#include "selfdrive/ui/qt/widgets/input.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) { |
|
|
|
void TrainingGuide::mouseReleaseEvent(QMouseEvent *e) { |
|
|
|
QPoint touch = QPoint(e->x(), e->y()) - imageCorner; |
|
|
|
QPoint touch = QPoint(e->x(), e->y()) - imageCorner; |
|
|
|
//qDebug() << touch.x() << ", " << touch.y();
|
|
|
|
//qDebug() << touch.x() << ", " << touch.y();
|
|
|
|