成功显示了公交车的图片
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user