更新代码

This commit is contained in:
feiyangqingyun
2021-11-03 14:14:27 +08:00
parent f027369f27
commit 39199724c2
151 changed files with 391 additions and 188 deletions

View File

@@ -7,6 +7,7 @@
#include "qfileinfo.h"
#include "qdir.h"
#include "qprogressbar.h"
#include "qtimer.h"
#include "qdebug.h"
#ifdef Q_OS_WIN
@@ -52,7 +53,8 @@ DeviceSizeTable::DeviceSizeTable(QWidget *parent) : QTableWidget(parent)
this->setSelectionMode(QAbstractItemView::SingleSelection);
this->verticalHeader()->setVisible(true);
this->horizontalHeader()->setStretchLastSection(true);
QMetaObject::invokeMethod(this, "load");
//QMetaObject::invokeMethod(this, "load");
QTimer::singleShot(10, this, SLOT(load()));
}
QColor DeviceSizeTable::getBgColor() const