成功显示了公交车的图片

This commit is contained in:
2022-06-16 22:42:55 +08:00
parent fa843258ce
commit 5b2045675d
8 changed files with 131 additions and 36 deletions

View File

@@ -2,11 +2,12 @@
// Created by ricardo on 2022/6/10.
//
#ifndef AUTO_BUS_GUI_CENTRALWIDGET_H
#define AUTO_BUS_GUI_CENTRALWIDGET_H
#ifndef AUTO_BUS_GUI_CENTRAL_WIDGET_H
#define AUTO_BUS_GUI_CENTRAL_WIDGET_H
#include <QWidget>
#include "string"
#include "mainScene.h"
QT_BEGIN_NAMESPACE
namespace Ui
@@ -24,9 +25,13 @@ public:
~CentralWidget() override;
public slots:
private:
Ui::CentralWidget *ui;
SceneManager *scene_manager;
};
#endif //AUTO_BUS_GUI_CENTRALWIDGET_H
#endif //AUTO_BUS_GUI_CENTRAL_WIDGET_H

View File

@@ -2,8 +2,8 @@
// Created by ricardo on 2022/6/10.
//
#ifndef AUTO_BUS_GUI_MAINWINDOW_H
#define AUTO_BUS_GUI_MAINWINDOW_H
#ifndef AUTO_BUS_GUI_MAIN_WINDOW_H
#define AUTO_BUS_GUI_MAIN_WINDOW_H
#include <QMainWindow>
#include "centralwidget.h"
@@ -31,6 +31,4 @@ private:
void SetMenuBarConnection();
};
#endif //AUTO_BUS_GUI_MAINWINDOW_H
#endif //AUTO_BUS_GUI_MAIN_WINDOW_H