2017-01-16 14:41:37 +00:00
|
|
|
#include "..\Header\FileInfoWindow.h"
|
|
|
|
#include <QIcon>
|
|
|
|
|
|
|
|
FileInfoWindow::FileInfoWindow(QWidget *parent)
|
|
|
|
: QWidget(parent)
|
|
|
|
, ui(new Ui::FileInfoWindow)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
|
2017-01-22 14:41:08 +00:00
|
|
|
setWindowFlags(Qt::Tool | Qt::NoDropShadowWindowHint);
|
|
|
|
|
2017-01-23 10:57:23 +00:00
|
|
|
ui->scrollArea->widget()->setStyleSheet("background-color: #ffffff");
|
2017-01-16 14:41:37 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
FileInfoWindow::~FileInfoWindow()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileInfoWindow::setBasicText(QString text)
|
|
|
|
{
|
|
|
|
ui->basic->setText(text);
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileInfoWindow::setDetailText(QString text)
|
|
|
|
{
|
|
|
|
ui->detail->setText(text);
|
|
|
|
}
|