##// END OF EJS Templates
added quick fileName generation for data export, and fixed wrong date reading...
added quick fileName generation for data export, and fixed wrong date reading on cassini data files.

File last commit:

r4:b41a5ed0a855 default
r10:63067c6877ba default
Show More
downloadhistory.cpp
34 lines | 702 B | text/x-c | CppLexer
#include "downloadhistory.h"
#include "ui_downloadhistory.h"
DownLoadHistory::DownLoadHistory(QWidget *parent) :
QWidget(parent),
ui(new Ui::DownLoadHistory)
{
ui->setupUi(this);
vblayout = new QVBoxLayout(this->ui->scrollAreaWidgetContents);
vblayout->addStretch(1);
}
DownLoadHistory::~DownLoadHistory()
{
delete ui;
}
void DownLoadHistory::addElement(DownloadHistoryElement *element)
{
if(element)
this->vblayout->insertWidget(0,element);
}
void DownLoadHistory::changeEvent(QEvent *e)
{
QWidget::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui->retranslateUi(this);
break;
default:
break;
}
}