显示楼层名
This commit is contained in:
1 parent
6a465355b0
commit
54ac81c2ce
4 files changed
+4
-1
No files matched your search
@@ -16,6 +16,7 @@ Monitor::Monitor(QWidget *parent) :
|
||||
QObject::connect(pk, &ParkingLotItem::enableDownButton, ui->downStairButton, &QPushButton::setEnabled);
|
||||
QObject::connect(pk, &ParkingLotItem::setCapacity, ui->capacity, &QLabel::setText);
|
||||
QObject::connect(pk, &ParkingLotItem::setLoad, ui->load, &QLabel::setText);
|
||||
QObject::connect(pk, &ParkingLotItem::setLayerName, ui->layerName, &QLabel::setText);
|
||||
|
||||
pk->showParkingLot();
|
||||
QGraphicsScene *scene = new QGraphicsScene(this); // 创建场景
|
||||
|
||||
Reference in new issue
Block a user