mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Merge pull request #4522 from buinsky/icons
Edit speed limits and upload ratio icons
This commit is contained in:
commit
2bcefe364f
8 changed files with 16 additions and 9 deletions
5
AUTHORS
5
AUTHORS
|
@ -79,6 +79,11 @@ Images Authors:
|
||||||
|
|
||||||
* file: src/icons/oxygen/checked.png
|
* file: src/icons/oxygen/checked.png
|
||||||
copyright: Victor Buinsky <allok.victor@gmail.com>
|
copyright: Victor Buinsky <allok.victor@gmail.com>
|
||||||
|
|
||||||
|
* file: src/icons/skin/ratio.png
|
||||||
|
copyright: Fatcow Web Hosting
|
||||||
|
license: Creative Commons Attribution 3.0 License
|
||||||
|
url: http://www.fatcow.com/free-icons
|
||||||
|
|
||||||
Translations authors:
|
Translations authors:
|
||||||
* files: src/lang/*.ts
|
* files: src/lang/*.ts
|
||||||
|
|
|
@ -129,10 +129,10 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
|
|
||||||
actionOpen->setIcon(GuiIconProvider::instance()->getIcon("list-add"));
|
actionOpen->setIcon(GuiIconProvider::instance()->getIcon("list-add"));
|
||||||
actionDownload_from_URL->setIcon(GuiIconProvider::instance()->getIcon("insert-link"));
|
actionDownload_from_URL->setIcon(GuiIconProvider::instance()->getIcon("insert-link"));
|
||||||
actionSet_upload_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/seeding.png")));
|
actionSet_upload_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/uploadLimit.png")));
|
||||||
actionSet_download_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/download.png")));
|
actionSet_download_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/downloadLimit.png")));
|
||||||
actionSet_global_upload_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/seeding.png")));
|
actionSet_global_upload_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/uploadLimit.png")));
|
||||||
actionSet_global_download_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/download.png")));
|
actionSet_global_download_limit->setIcon(QIcon(QString::fromUtf8(":/icons/skin/downloadLimit.png")));
|
||||||
actionCreate_torrent->setIcon(GuiIconProvider::instance()->getIcon("document-edit"));
|
actionCreate_torrent->setIcon(GuiIconProvider::instance()->getIcon("document-edit"));
|
||||||
actionAbout->setIcon(GuiIconProvider::instance()->getIcon("help-about"));
|
actionAbout->setIcon(GuiIconProvider::instance()->getIcon("help-about"));
|
||||||
actionStatistics->setIcon(GuiIconProvider::instance()->getIcon("view-statistics"));
|
actionStatistics->setIcon(GuiIconProvider::instance()->getIcon("view-statistics"));
|
||||||
|
|
|
@ -638,9 +638,9 @@ void TransferListWidget::displayListMenu(const QPoint&)
|
||||||
connect(&actionPreview_file, SIGNAL(triggered()), this, SLOT(previewSelectedTorrents()));
|
connect(&actionPreview_file, SIGNAL(triggered()), this, SLOT(previewSelectedTorrents()));
|
||||||
QAction actionSet_max_ratio(QIcon(QString::fromUtf8(":/icons/skin/ratio.png")), tr("Limit share ratio..."), 0);
|
QAction actionSet_max_ratio(QIcon(QString::fromUtf8(":/icons/skin/ratio.png")), tr("Limit share ratio..."), 0);
|
||||||
connect(&actionSet_max_ratio, SIGNAL(triggered()), this, SLOT(setMaxRatioSelectedTorrents()));
|
connect(&actionSet_max_ratio, SIGNAL(triggered()), this, SLOT(setMaxRatioSelectedTorrents()));
|
||||||
QAction actionSet_upload_limit(QIcon(QString::fromUtf8(":/icons/skin/seeding.png")), tr("Limit upload rate..."), 0);
|
QAction actionSet_upload_limit(QIcon(QString::fromUtf8(":/icons/skin/uploadLimit.png")), tr("Limit upload rate..."), 0);
|
||||||
connect(&actionSet_upload_limit, SIGNAL(triggered()), this, SLOT(setUpLimitSelectedTorrents()));
|
connect(&actionSet_upload_limit, SIGNAL(triggered()), this, SLOT(setUpLimitSelectedTorrents()));
|
||||||
QAction actionSet_download_limit(QIcon(QString::fromUtf8(":/icons/skin/download.png")), tr("Limit download rate..."), 0);
|
QAction actionSet_download_limit(QIcon(QString::fromUtf8(":/icons/skin/downloadLimit.png")), tr("Limit download rate..."), 0);
|
||||||
connect(&actionSet_download_limit, SIGNAL(triggered()), this, SLOT(setDlLimitSelectedTorrents()));
|
connect(&actionSet_download_limit, SIGNAL(triggered()), this, SLOT(setDlLimitSelectedTorrents()));
|
||||||
QAction actionOpen_destination_folder(GuiIconProvider::instance()->getIcon("inode-directory"), tr("Open destination folder"), 0);
|
QAction actionOpen_destination_folder(GuiIconProvider::instance()->getIcon("inode-directory"), tr("Open destination folder"), 0);
|
||||||
connect(&actionOpen_destination_folder, SIGNAL(triggered()), this, SLOT(openSelectedTorrentsFolder()));
|
connect(&actionOpen_destination_folder, SIGNAL(triggered()), this, SLOT(openSelectedTorrentsFolder()));
|
||||||
|
@ -777,8 +777,8 @@ void TransferListWidget::displayListMenu(const QPoint&)
|
||||||
listMenu.addSeparator();
|
listMenu.addSeparator();
|
||||||
if (one_not_seed)
|
if (one_not_seed)
|
||||||
listMenu.addAction(&actionSet_download_limit);
|
listMenu.addAction(&actionSet_download_limit);
|
||||||
listMenu.addAction(&actionSet_max_ratio);
|
|
||||||
listMenu.addAction(&actionSet_upload_limit);
|
listMenu.addAction(&actionSet_upload_limit);
|
||||||
|
listMenu.addAction(&actionSet_max_ratio);
|
||||||
if (!one_not_seed && all_same_super_seeding && one_has_metadata) {
|
if (!one_not_seed && all_same_super_seeding && one_has_metadata) {
|
||||||
actionSuper_seeding_mode.setChecked(super_seeding_mode);
|
actionSuper_seeding_mode.setChecked(super_seeding_mode);
|
||||||
listMenu.addAction(&actionSuper_seeding_mode);
|
listMenu.addAction(&actionSuper_seeding_mode);
|
||||||
|
|
|
@ -370,5 +370,7 @@
|
||||||
<file>icons/oxygen/go-top.png</file>
|
<file>icons/oxygen/go-top.png</file>
|
||||||
<file>icons/oxygen/checked.png</file>
|
<file>icons/oxygen/checked.png</file>
|
||||||
<file>icons/oxygen/office-chart-line.png</file>
|
<file>icons/oxygen/office-chart-line.png</file>
|
||||||
|
<file>icons/skin/downloadLimit.png</file>
|
||||||
|
<file>icons/skin/uploadLimit.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
BIN
src/icons/skin/downloadLimit.png
Normal file
BIN
src/icons/skin/downloadLimit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 435 B |
Binary file not shown.
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 760 B |
BIN
src/icons/skin/uploadLimit.png
Normal file
BIN
src/icons/skin/uploadLimit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 406 B |
|
@ -118,8 +118,8 @@
|
||||||
<li><a href="#prioBottom"><img src="theme/go-bottom" alt="QBT_TR(Move to bottom)QBT_TR"/> QBT_TR(Move to bottom)QBT_TR</a></li>
|
<li><a href="#prioBottom"><img src="theme/go-bottom" alt="QBT_TR(Move to bottom)QBT_TR"/> QBT_TR(Move to bottom)QBT_TR</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="separator"><a href="#DownloadLimit"><img src="images/skin/download.png" alt="QBT_TR(Limit download rate...)QBT_TR"/> QBT_TR(Limit download rate...)QBT_TR</a></li>
|
<li class="separator"><a href="#DownloadLimit"><img src="images/skin/downloadLimit.png" alt="QBT_TR(Limit download rate...)QBT_TR"/> QBT_TR(Limit download rate...)QBT_TR</a></li>
|
||||||
<li><a href="#UploadLimit"><img src="images/skin/seeding.png" alt="QBT_TR(Limit upload rate...)QBT_TR"/> QBT_TR(Limit upload rate...)QBT_TR</a></li>
|
<li><a href="#UploadLimit"><img src="images/skin/uploadLimit.png" alt="QBT_TR(Limit upload rate...)QBT_TR"/> QBT_TR(Limit upload rate...)QBT_TR</a></li>
|
||||||
<li><a href="#SuperSeeding"><img src="theme/checked" alt="QBT_TR(Super seeding mode)QBT_TR"/> QBT_TR(Super seeding mode)QBT_TR</a></li>
|
<li><a href="#SuperSeeding"><img src="theme/checked" alt="QBT_TR(Super seeding mode)QBT_TR"/> QBT_TR(Super seeding mode)QBT_TR</a></li>
|
||||||
<li class="separator"><a href="#SequentialDownload"><img src="theme/checked" alt="QBT_TR(Download in sequential order)QBT_TR"/> QBT_TR(Download in sequential order)QBT_TR</a></li>
|
<li class="separator"><a href="#SequentialDownload"><img src="theme/checked" alt="QBT_TR(Download in sequential order)QBT_TR"/> QBT_TR(Download in sequential order)QBT_TR</a></li>
|
||||||
<li><a href="#FirstLastPiecePrio"><img src="theme/checked" alt="QBT_TR(Download first and last piece first)QBT_TR"/> QBT_TR(Download first and last piece first)QBT_TR</a></li>
|
<li><a href="#FirstLastPiecePrio"><img src="theme/checked" alt="QBT_TR(Download first and last piece first)QBT_TR"/> QBT_TR(Download first and last piece first)QBT_TR</a></li>
|
||||||
|
|
Loading…
Reference in a new issue