FileInfoWindow.cpp 520 Bytes
Newer Older
Anakin's avatar
Anakin committed
1
2
3
4
5
6
7
8
9
#include "..\Header\FileInfoWindow.h"
#include <QIcon>

FileInfoWindow::FileInfoWindow(QWidget *parent)
	: QWidget(parent)
	, ui(new Ui::FileInfoWindow)
{
	ui->setupUi(this);

Anakin's avatar
Anakin committed
10
11
	setWindowFlags(Qt::Tool | Qt::NoDropShadowWindowHint);

12
	ui->scrollArea->widget()->setStyleSheet("background-color: #ffffff");
Anakin's avatar
Anakin committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

}

FileInfoWindow::~FileInfoWindow()
{
	delete ui;
}

void FileInfoWindow::setBasicText(QString text)
{
	ui->basic->setText(text);
}

void FileInfoWindow::setDetailText(QString text)
{
	ui->detail->setText(text);
}