forked from len0rd/rockbox
Automatically scroll to the last line of the progress logger when adding a new item.
Cosmetics. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14716 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4bcd0fa2d4
commit
78d7ece5e9
3 changed files with 40 additions and 38 deletions
|
|
@ -18,22 +18,22 @@
|
|||
****************************************************************************/
|
||||
#ifndef PROGRESSLOGGERGUI_H
|
||||
#define PROGRESSLOGGERGUI_H
|
||||
|
||||
|
||||
#include <QtGui>
|
||||
|
||||
#include "progressloggerinterface.h"
|
||||
#include "ui_installprogressfrm.h"
|
||||
|
||||
class ProgressLoggerGui :public ProgressloggerInterface
|
||||
class ProgressLoggerGui :public ProgressloggerInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProgressLoggerGui(QObject * parent);
|
||||
|
||||
virtual void addItem(QString text) ; //adds a string to the list
|
||||
|
||||
virtual void addItem(QString text, int flag) ; //adds a string to the list
|
||||
|
||||
|
||||
virtual void addItem(const QString &text); //adds a string to the list
|
||||
|
||||
virtual void addItem(const QString &text, int flag); //adds a string to the list
|
||||
|
||||
virtual void setProgressValue(int value);
|
||||
virtual void setProgressMax(int max);
|
||||
virtual int getProgressMax();
|
||||
|
|
@ -47,8 +47,8 @@ public slots:
|
|||
virtual void undoAbort();
|
||||
virtual void close();
|
||||
virtual void show();
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
Ui::InstallProgressFrm dp;
|
||||
QDialog *downloadProgress;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue