Copyright 2010 Comarch S.A.
*******************************************************************************/
-
-/*! \file XdxfCachingDialog.cpp
+/*!
+ \file XdxfCachingDialog.cpp
+ \author Mateusz Półrola
*/
-//Created by Mateusz Półrola
#include "XdxfCachingDialog.h"
#include "xdxfplugin.h"
cachingProgressBar->setTextVisible(true);
cancelButton = new QPushButton(tr("Cancel"),this);
-
-
cachingTimeLabel = new QLabel(this);
cachingTimeLabel->hide();
verticalLayout->addWidget(cachingLabel, 0, Qt::AlignCenter);
#endif
-
verticalLayout->addWidget(cachingTimeLabel);
verticalLayout->addWidget(cachingProgressBar);
verticalLayout->addWidget(cancelButton);
this, SIGNAL(cancelCaching()));
time.start();
-
setModal(true);
}
return;
}
+
void XdxfCachingDialog::updateCachingProgress(int progress, int time) {
cachingProgressBar->setValue(progress);