|
|
@ -15,7 +15,6 @@ MainWindow::MainWindow(QWidget *parent) : QWidget(parent) { |
|
|
|
QObject::connect(&qs, &QUIState::uiUpdate, homeWindow, &HomeWindow::update); |
|
|
|
QObject::connect(&qs, &QUIState::uiUpdate, homeWindow, &HomeWindow::update); |
|
|
|
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransition); |
|
|
|
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransition); |
|
|
|
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransitionSignal); |
|
|
|
QObject::connect(&qs, &QUIState::offroadTransition, homeWindow, &HomeWindow::offroadTransitionSignal); |
|
|
|
QObject::connect(&device, &Device::displayPowerChanged, homeWindow, &HomeWindow::displayPowerChanged); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
settingsWindow = new SettingsWindow(this); |
|
|
|
settingsWindow = new SettingsWindow(this); |
|
|
|
main_layout->addWidget(settingsWindow); |
|
|
|
main_layout->addWidget(settingsWindow); |
|
|
|