mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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 */
|
||||
@ -57,6 +60,8 @@ SharedFilesDialog::SharedFilesDialog(QWidget *parent)
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
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
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ private:
|
||||
|
||||
|
||||
QTreeView *shareddirtreeview;
|
||||
|
||||
QMovie *movie;
|
||||
|
||||
/** Qt Designer generated object */
|
||||
Ui::SharedFilesDialog ui;
|
||||
|
@ -507,6 +507,9 @@
|
||||
</property>
|
||||
<item row="0" column="0" >
|
||||
<layout class="QVBoxLayout" >
|
||||
<property name="spacing" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" >
|
||||
<item>
|
||||
@ -576,9 +579,6 @@ p, li { white-space: pre-wrap; }
|
||||
<property name="text" >
|
||||
<string/>
|
||||
</property>
|
||||
<property name="pixmap" >
|
||||
<pixmap resource="images.qrc" >:/qss/black/checkBox_selected.png</pixmap>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
@ -3,6 +3,7 @@
|
||||
<file>help/authors.html</file>
|
||||
<file>help/licence.html</file>
|
||||
<file>help/thanks.html</file>
|
||||
<file>images/browse-looking.gif</file>
|
||||
<file>images/addfriendlabel.png</file>
|
||||
<file>images/backgroundl.png</file>
|
||||
<file>images/blockdevice.png</file>
|
||||
@ -192,6 +193,13 @@
|
||||
<file>images/textedit/textcenter.png</file>
|
||||
<file>images/textedit/textleft.png</file>
|
||||
<file>images/textedit/textright.png</file>
|
||||
<file>images/textedit/text_bold.png</file>
|
||||
<file>images/textedit/text_italic.png</file>
|
||||
<file>images/textedit/text_under.png</file>
|
||||
<file>images/textedit/text_block.png</file>
|
||||
<file>images/textedit/text_center.png</file>
|
||||
<file>images/textedit/text_left.png</file>
|
||||
<file>images/textedit/text_right.png</file>
|
||||
<file>images/textedit/editcopy.png</file>
|
||||
<file>images/textedit/editcut.png</file>
|
||||
<file>images/textedit/editpaste.png</file>
|
||||
|
BIN
retroshare-gui/src/gui/images/browse-looking.gif
Normal file
BIN
retroshare-gui/src/gui/images/browse-looking.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
Loading…
Reference in New Issue
Block a user