added for Queue actions own icons

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2503 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-03-08 21:07:53 +00:00
parent 24ac53dcc9
commit 9e11f833e8
7 changed files with 21 additions and 17 deletions

View File

@ -305,14 +305,14 @@ void TransfersDialog::downloadListCostumPopupMenu( QPoint point )
// clearQueueAct = new QAction(QIcon(), tr("Remove all queued"), this); // clearQueueAct = new QAction(QIcon(), tr("Remove all queued"), this);
// connect(clearQueueAct, SIGNAL(triggered()), this, SLOT(clearQueue())); // connect(clearQueueAct, SIGNAL(triggered()), this, SLOT(clearQueue()));
priorityLowAct = new QAction(QIcon(IMAGE_PRIORITYLOW), tr("Down"), this); queueDownAct = new QAction(QIcon(":/images/go-down.png"), tr("Down"), this);
connect(priorityLowAct, SIGNAL(triggered()), this, SLOT(priorityQueueDown())); connect(queueDownAct, SIGNAL(triggered()), this, SLOT(priorityQueueDown()));
priorityNormalAct = new QAction(QIcon(IMAGE_PRIORITYNORMAL), tr("Up"), this); queueUpAct = new QAction(QIcon(":/images/go-up.png"), tr("Up"), this);
connect(priorityNormalAct, SIGNAL(triggered()), this, SLOT(priorityQueueUp())); connect(queueUpAct, SIGNAL(triggered()), this, SLOT(priorityQueueUp()));
priorityHighAct = new QAction(QIcon(IMAGE_PRIORITYHIGH), tr("Top"), this); queueTopAct = new QAction(QIcon(":/images/go-top.png"), tr("Top"), this);
connect(priorityHighAct, SIGNAL(triggered()), this, SLOT(priorityQueueTop())); connect(queueTopAct, SIGNAL(triggered()), this, SLOT(priorityQueueTop()));
priorityAutoAct = new QAction(QIcon(IMAGE_PRIORITYAUTO), tr("Bottom"), this); queueBottomAct = new QAction(QIcon(":/images/go-bottom.png"), tr("Bottom"), this);
connect(priorityAutoAct, SIGNAL(triggered()), this, SLOT(priorityQueueBottom())); connect(queueBottomAct, SIGNAL(triggered()), this, SLOT(priorityQueueBottom()));
prioritySlowAct = new QAction(QIcon(IMAGE_PRIORITYLOW), tr("Slower"), this); prioritySlowAct = new QAction(QIcon(IMAGE_PRIORITYLOW), tr("Slower"), this);
connect(prioritySlowAct, SIGNAL(triggered()), this, SLOT(speedSlow())); connect(prioritySlowAct, SIGNAL(triggered()), this, SLOT(speedSlow()));
@ -321,12 +321,12 @@ void TransfersDialog::downloadListCostumPopupMenu( QPoint point )
priorityFastAct = new QAction(QIcon(IMAGE_PRIORITYHIGH), tr("Faster"), this); priorityFastAct = new QAction(QIcon(IMAGE_PRIORITYHIGH), tr("Faster"), this);
connect(priorityFastAct, SIGNAL(triggered()), this, SLOT(speedFast())); connect(priorityFastAct, SIGNAL(triggered()), this, SLOT(speedFast()));
QMenu *priorityQueueMenu = new QMenu(tr("Move in queue..."), this); QMenu *priorityQueueMenu = new QMenu(tr("Move in Queue..."), this);
priorityQueueMenu->setIcon(QIcon(IMAGE_PRIORITY)); priorityQueueMenu->setIcon(QIcon(IMAGE_PRIORITY));
priorityQueueMenu->addAction(priorityLowAct); priorityQueueMenu->addAction(queueTopAct);
priorityQueueMenu->addAction(priorityNormalAct); priorityQueueMenu->addAction(queueUpAct);
priorityQueueMenu->addAction(priorityHighAct); priorityQueueMenu->addAction(queueDownAct);
priorityQueueMenu->addAction(priorityAutoAct); priorityQueueMenu->addAction(queueBottomAct);
QMenu *prioritySpeedMenu = new QMenu(tr("Priority (Speed)..."), this); QMenu *prioritySpeedMenu = new QMenu(tr("Priority (Speed)..."), this);
prioritySpeedMenu->setIcon(QIcon(IMAGE_PRIORITY)); prioritySpeedMenu->setIcon(QIcon(IMAGE_PRIORITY));

View File

@ -149,10 +149,10 @@ private:
QAction *prioritySlowAct; QAction *prioritySlowAct;
QAction *priorityMediumAct; QAction *priorityMediumAct;
QAction *priorityFastAct; QAction *priorityFastAct;
QAction *priorityLowAct; QAction *queueDownAct;
QAction *priorityNormalAct; QAction *queueUpAct;
QAction *priorityHighAct; QAction *queueTopAct;
QAction *priorityAutoAct; QAction *queueBottomAct;
QAction *chunkRandomAct; QAction *chunkRandomAct;
QAction *chunkStreamingAct; QAction *chunkStreamingAct;
QAction *detailsfileAct; QAction *detailsfileAct;

View File

@ -188,6 +188,10 @@
<file>images/forward.png</file> <file>images/forward.png</file>
<file>images/friendsfolder24.png</file> <file>images/friendsfolder24.png</file>
<file>images/kgames.png</file> <file>images/kgames.png</file>
<file>images/go-down.png</file>
<file>images/go-top.png</file>
<file>images/go-up.png</file>
<file>images/go-bottom.png</file>
<file>images/graph-area.png</file> <file>images/graph-area.png</file>
<file>images/graph-line.png</file> <file>images/graph-line.png</file>
<file>images/groupchat.png</file> <file>images/groupchat.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 711 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B