auto_bus/include/BusWidget.h
jackfiled 35569b093d 将PosPair类独立出来
添加了公交车显示类
2022-06-28 11:10:49 +08:00

30 lines
410 B
C++

//
// Created by ricardo on 2022/6/28.
//
#ifndef AUTO_BUS_GUI_BUS_WIDGET_H
#define AUTO_BUS_GUI_BUS_WIDGET_H
#include "QGraphicsPixmapItem"
#include "QTransform"
#include "PosPair.h"
class BusWidget
{
public:
QGraphicsPixmapItem *item;
explicit BusWidget();
~BusWidget();
void ResetBusPos(PosPair *s);
private:
PosPair *pos_pairs = nullptr;
};
#endif //AUTO_BUS_GUI_BUS_WIDGET_H