changend qcheckbox to QLabel for hashLabel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@476 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2008-04-05 20:03:25 +00:00
parent f922745fe6
commit 1388aaa9dd
5 changed files with 21 additions and 5 deletions

View file

@ -40,6 +40,8 @@
#include <QPixmap>
#include <QHeaderView>
#include <QTimer>
#include <QMovie>
#include <QLabel>
/* Images for context menu icons */
#define IMAGE_DOWNLOAD ":/images/start.png"
@ -48,6 +50,7 @@
#define IMAGE_MSG ":/images/message-mail.png"
#define IMAGE_ATTACHMENT ":/images/attachment.png"
#define IMAGE_FRIEND ":/images/peers_16x16.png"
#define IMAGE_PROGRESS ":/images/browse-looking.gif"
/** Constructor */
@ -55,7 +58,9 @@ SharedFilesDialog::SharedFilesDialog(QWidget *parent)
: MainPage(parent)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
ui.setupUi(this);
connect(ui.checkButton, SIGNAL(clicked()), this, SLOT(forceCheck()));
@ -133,6 +138,9 @@ void SharedFilesDialog::checkUpdate()
if (rsicontrol->InDirectoryCheck())
{
ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_BUSY));
/*QMovie *movie = new QMovie(IMAGE_PROGRESS);
ui.hashLabel->setMovie(movie);
movie->start();*/
}
else
{