1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
20 #ifndef PROGRESSLOGGERGUI_H
21 #define PROGRESSLOGGERGUI_H
25 #include "progressloggerinterface.h"
26 #include "ui_progressloggerfrm.h"
28 class ProgressLoggerGui
:public ProgressloggerInterface
32 ProgressLoggerGui(QWidget
* parent
);
34 virtual void setProgressValue(int value
);
35 virtual void setProgressMax(int max
);
36 virtual int getProgressMax();
37 virtual void setProgressVisible(bool);
44 virtual void addItem(const QString
&text
); //! add a string to the progress list
45 virtual void addItem(const QString
&text
, int flag
); //! add a string to the list
46 virtual void setProgress(int, int); //! set progress bar
50 virtual void setRunning();
51 virtual void setFinished();
55 Ui::ProgressLoggerFrm dp
;
56 QDialog
*downloadProgress
;