ProgressBar::ProgressBar(FileManipulatorThread *thread, QWidget *parent) :
QProgressBar(parent),
+ paused(false),
contextEvent(false),
thread(thread)
{
barFont.setPointSize(12);
setFont(barFont);
setMinimumHeight(44);
- setStyle(new QPlastiqueStyle);
- //progressBar->setStyle(new QMotifStyle);
+ setFormat("");
+ mainText = tr("gathering information...");
+}
+
+
+void ProgressBar::setIcons(const QPixmap &icon, const QPixmap &inverseIcon) {
+ bgIcon = icon;
+ fgIcon = inverseIcon;
}