备份
This commit is contained in:
@@ -97,9 +97,9 @@ public slots:
|
||||
auto widget = new plcValueViewer(groupName, viewerNameAndAddress, plcViwerLineedits);
|
||||
plcValueViewerLayout->addWidget(widget->widget,Qt::AlignTop);
|
||||
}
|
||||
void refreshPlcValueViewer(int address, QVariant value) {
|
||||
void refreshPlcValueViewer(int address, QString value) {
|
||||
for (auto& lineedit : plcViwerLineedits[address]) {
|
||||
lineedit->setText(value.toString());
|
||||
lineedit->setText(value);
|
||||
}
|
||||
}
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user