//状态灯实现
QLabel* labelCommColor = new QLabel;
labelCommColor->setStyleSheet("min-width: 22px;min-height: 22px;max-width: 22px;max-height: 22px;border-radius: 11px;border:1px solid black;background-color:rgb(0,255,0)");
//状态灯实现
QLabel* labelCommColor = new QLabel;
labelCommColor->setStyleSheet("min-width: 22px;min-height: 22px;max-width: 22px;max-height: 22px;border-radius: 11px;border:1px solid black;background-color:rgb(0,255,0)");