mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 17:45:15 -04:00
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:
parent
f922745fe6
commit
1388aaa9dd
5 changed files with 21 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue