debug模式
This commit is contained in:
1 parent
be5f7781a9
commit
ca16b374cb
13 files changed
+159
-30
No files matched your search
+2
-1
@@ -18,7 +18,8 @@ Monitor::Monitor(QWidget *parent) :
|
||||
QObject::connect(pk, &ParkingLotManager::setCapacity, ui->capacity, &QLabel::setText);
|
||||
QObject::connect(pk, &ParkingLotManager::setLoad, ui->load, &QLabel::setText);
|
||||
QObject::connect(pk, &ParkingLotManager::setLayerName, ui->layerName, &QLabel::setText);
|
||||
|
||||
QObject::connect(ui->showMargin, &QCheckBox::toggled, pk, &ParkingLotManager::showMargin);
|
||||
QObject::connect(ui->showGraph, &QCheckBox::toggled, pk, &ParkingLotManager::showGraph);
|
||||
QObject::connect(ui->drawPath, &QPushButton::clicked, [=](){
|
||||
pk->drawPath(ui->placeNum1->text().toInt(), ui->placeNum2->text().toInt());
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user