new style for the progressbars, display more info
[case] / src / progressbar.h
index 90ba48b..fe67dfd 100644 (file)
@@ -19,6 +19,7 @@
 #define PROGRESSBAR_H
 
 #include <QProgressBar>
+#include <QIcon>
 
 
 class FileManipulatorThread;
@@ -33,6 +34,13 @@ signals:
 public:
     explicit ProgressBar(FileManipulatorThread *thread, QWidget *parent = 0);
 
+    void setIcons(const QPixmap &icon, const QPixmap &inverseIcon);
+
+    QString mainText, fromText, toText;
+    QPixmap bgIcon, fgIcon;
+    bool paused;
+
+
 protected:
     void mouseReleaseEvent(QMouseEvent *);
     void contextMenuEvent(QContextMenuEvent *);