30 lines
510 B
C++
30 lines
510 B
C++
#include "..\Header\FileInfoWindow.h"
|
|
#include <QIcon>
|
|
|
|
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);
|
|
}
|