mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
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:
parent
24ac53dcc9
commit
9e11f833e8
@ -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));
|
||||||
|
@ -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;
|
||||||
|
@ -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>
|
||||||
|
BIN
retroshare-gui/src/gui/images/go-bottom.png
Normal file
BIN
retroshare-gui/src/gui/images/go-bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 711 B |
BIN
retroshare-gui/src/gui/images/go-down.png
Normal file
BIN
retroshare-gui/src/gui/images/go-down.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 623 B |
BIN
retroshare-gui/src/gui/images/go-top.png
Normal file
BIN
retroshare-gui/src/gui/images/go-top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 675 B |
BIN
retroshare-gui/src/gui/images/go-up.png
Normal file
BIN
retroshare-gui/src/gui/images/go-up.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 672 B |
Loading…
Reference in New Issue
Block a user