#include "..\Header\FileInfoWindow.h" #include FileInfoWindow::FileInfoWindow(QWidget *parent) : QWidget(parent) , ui(new Ui::FileInfoWindow) { ui->setupUi(this); setWindowFlags(Qt::Tool | Qt::NoDropShadowWindowHint); ui->scrollArea->setStyleSheet("background-color: #ffffff"); } FileInfoWindow::~FileInfoWindow() { delete ui; } void FileInfoWindow::setBasicText(QString text) { ui->basic->setText(text); } void FileInfoWindow::setDetailText(QString text) { ui->detail->setText(text); }