qint64 labor::fileSizer(QString nameRar)
{
qint64 fileSize=0;
QFile fileRar("C:\\QtProject\\modulINFO\\temp\\lab\\lab2\\"+nameRar+".rar");
fileRar.open(QIODevice::ReadOnly);
fileSize = fileRar.size();
fileRar.close();
return fileSize;
}
ui->label_2->setText(QString::number(fileSizer("test1")));