新增代码

This commit is contained in:
feiyangqingyun
2021-11-09 20:40:00 +08:00
parent ad847c7065
commit 17b7c88f98
24 changed files with 1269 additions and 451 deletions

View File

@@ -53,8 +53,8 @@ DeviceSizeTable::DeviceSizeTable(QWidget *parent) : QTableWidget(parent)
this->setSelectionMode(QAbstractItemView::SingleSelection);
this->verticalHeader()->setVisible(true);
this->horizontalHeader()->setStretchLastSection(true);
//QMetaObject::invokeMethod(this, "load");
QTimer::singleShot(10, this, SLOT(load()));
QMetaObject::invokeMethod(this, "load", Qt::QueuedConnection);
//QTimer::singleShot(10, this, SLOT(load()));
}
QColor DeviceSizeTable::getBgColor() const