mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
5f96a3407b
* works
* move the param deletion
* clean that up
* Revert "move the param deletion"
This reverts commit 31d8a65f004e7bcf14d29465a9c9d6db03e9dee7.
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 806226820c
31 lines
591 B
C++
31 lines
591 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
#include <QStackedLayout>
|
|
|
|
#include "offroad/settings.hpp"
|
|
#include "offroad/onboarding.hpp"
|
|
#include "home.hpp"
|
|
|
|
class MainWindow : public QWidget {
|
|
Q_OBJECT
|
|
|
|
protected:
|
|
bool eventFilter(QObject *obj, QEvent *event) override;
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
|
|
private:
|
|
QStackedLayout *main_layout;
|
|
HomeWindow *homeWindow;
|
|
SettingsWindow *settingsWindow;
|
|
OnboardingWindow *onboardingWindow;
|
|
|
|
public slots:
|
|
void offroadTransition(bool offroad);
|
|
void openSettings();
|
|
void closeSettings();
|
|
void reviewTrainingGuide();
|
|
};
|