diff --git a/src/gui/optionsdialog.cpp b/src/gui/optionsdialog.cpp index 1ed6f6517..577d4cd19 100644 --- a/src/gui/optionsdialog.cpp +++ b/src/gui/optionsdialog.cpp @@ -139,8 +139,8 @@ OptionsDialog::OptionsDialog(QWidget *parent) m_ui->IpFilterRefreshBtn->setIcon(GuiIconProvider::instance()->getIcon("view-refresh")); - m_ui->labelGlobalRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow_off.png", this, 16)); - m_ui->labelAltRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow.png", this, 16)); + m_ui->labelGlobalRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow_off.svg", this, 16)); + m_ui->labelAltRate->setPixmap(Utils::Gui::scaledPixmap(":/icons/slow.svg", this, 16)); m_ui->deleteTorrentWarningIcon->setPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxCritical).pixmap(16, 16)); m_ui->deleteTorrentWarningIcon->hide(); diff --git a/src/gui/statusbar.cpp b/src/gui/statusbar.cpp index 7711d8b64..742cf9941 100644 --- a/src/gui/statusbar.cpp +++ b/src/gui/statusbar.cpp @@ -231,12 +231,12 @@ void StatusBar::refresh() void StatusBar::updateAltSpeedsBtn(bool alternative) { if (alternative) { - m_altSpeedsBtn->setIcon(QIcon(":/icons/slow.png")); + m_altSpeedsBtn->setIcon(QIcon(":/icons/slow.svg")); m_altSpeedsBtn->setToolTip(tr("Click to switch to regular speed limits")); m_altSpeedsBtn->setDown(true); } else { - m_altSpeedsBtn->setIcon(QIcon(":/icons/slow_off.png")); + m_altSpeedsBtn->setIcon(QIcon(":/icons/slow_off.svg")); m_altSpeedsBtn->setToolTip(tr("Click to switch to alternative speed limits")); m_altSpeedsBtn->setDown(false); } diff --git a/src/icons/icons.qrc b/src/icons/icons.qrc index 88b35b2b4..fd9291a9c 100644 --- a/src/icons/icons.qrc +++ b/src/icons/icons.qrc @@ -290,9 +290,9 @@ qbt-theme/help-contents.svg qbt-theme/inode-directory.svg qbt-theme/insert-link.svg - qbt-theme/kt-magnet.png - qbt-theme/kt-set-max-download-speed.png - qbt-theme/kt-set-max-upload-speed.png + qbt-theme/kt-magnet.svg + qbt-theme/kt-set-max-download-speed.svg + qbt-theme/kt-set-max-upload-speed.svg qbt-theme/list-add.svg qbt-theme/list-remove.svg qbt-theme/mail-folder-inbox.svg @@ -308,7 +308,7 @@ qbt-theme/preferences-other.svg qbt-theme/preferences-system-network.svg qbt-theme/preferences-web-browser-cookies.svg - qbt-theme/rss-config.png + qbt-theme/rss-config.svg qbt-theme/security-high.svg qbt-theme/security-low.svg qbt-theme/services.svg @@ -316,9 +316,9 @@ qbt-theme/system-log-out.svg qbt-theme/tab-close.svg qbt-theme/task-attention.svg - qbt-theme/task-complete.png - qbt-theme/task-ongoing.png - qbt-theme/task-reject.png + qbt-theme/task-complete.svg + qbt-theme/task-ongoing.svg + qbt-theme/task-reject.svg qbt-theme/text-plain.svg qbt-theme/tools-report-bug.svg qbt-theme/unavailable.svg @@ -338,7 +338,7 @@ skin/bg-header.gif skin/bg-panel-header.gif skin/checking.svg - skin/collapse-expand.gif + skin/collapse.svg skin/completed.svg skin/connected.svg skin/disconnected.svg @@ -377,10 +377,9 @@ skin/toolbox-divider.gif skin/toolbox-divider2.gif skin/uploading.svg - slow.png - slow_off.png + slow.svg + slow_off.svg sphere.png sphere2.png - url.png diff --git a/src/icons/qbt-theme/kt-magnet.png b/src/icons/qbt-theme/kt-magnet.png deleted file mode 100644 index 3bab5e499..000000000 Binary files a/src/icons/qbt-theme/kt-magnet.png and /dev/null differ diff --git a/src/icons/qbt-theme/kt-magnet.svg b/src/icons/qbt-theme/kt-magnet.svg new file mode 100644 index 000000000..2283b283b --- /dev/null +++ b/src/icons/qbt-theme/kt-magnet.svg @@ -0,0 +1,29 @@ + + + + + + diff --git a/src/icons/qbt-theme/kt-set-max-download-speed.png b/src/icons/qbt-theme/kt-set-max-download-speed.png deleted file mode 100644 index 2cd657da4..000000000 Binary files a/src/icons/qbt-theme/kt-set-max-download-speed.png and /dev/null differ diff --git a/src/icons/qbt-theme/kt-set-max-download-speed.svg b/src/icons/qbt-theme/kt-set-max-download-speed.svg new file mode 100644 index 000000000..43eca5f5d --- /dev/null +++ b/src/icons/qbt-theme/kt-set-max-download-speed.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + diff --git a/src/icons/qbt-theme/kt-set-max-upload-speed.png b/src/icons/qbt-theme/kt-set-max-upload-speed.png deleted file mode 100644 index f5d14e556..000000000 Binary files a/src/icons/qbt-theme/kt-set-max-upload-speed.png and /dev/null differ diff --git a/src/icons/qbt-theme/kt-set-max-upload-speed.svg b/src/icons/qbt-theme/kt-set-max-upload-speed.svg new file mode 100644 index 000000000..aa711ec1d --- /dev/null +++ b/src/icons/qbt-theme/kt-set-max-upload-speed.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + diff --git a/src/icons/qbt-theme/list-remove.svg b/src/icons/qbt-theme/list-remove.svg index 60241b00b..29761c6dd 100644 --- a/src/icons/qbt-theme/list-remove.svg +++ b/src/icons/qbt-theme/list-remove.svg @@ -1,3 +1,40 @@ - - + + + + + + + + diff --git a/src/icons/qbt-theme/rss-config.png b/src/icons/qbt-theme/rss-config.png deleted file mode 100644 index 20aba620b..000000000 Binary files a/src/icons/qbt-theme/rss-config.png and /dev/null differ diff --git a/src/icons/qbt-theme/rss-config.svg b/src/icons/qbt-theme/rss-config.svg new file mode 100644 index 000000000..e2904c283 --- /dev/null +++ b/src/icons/qbt-theme/rss-config.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/src/icons/qbt-theme/task-complete.png b/src/icons/qbt-theme/task-complete.png deleted file mode 100644 index b54b0aefa..000000000 Binary files a/src/icons/qbt-theme/task-complete.png and /dev/null differ diff --git a/src/icons/qbt-theme/task-complete.svg b/src/icons/qbt-theme/task-complete.svg new file mode 100644 index 000000000..fbe34fcf9 --- /dev/null +++ b/src/icons/qbt-theme/task-complete.svg @@ -0,0 +1,13 @@ + + + + + + diff --git a/src/icons/qbt-theme/task-ongoing.png b/src/icons/qbt-theme/task-ongoing.png deleted file mode 100644 index 7adb1afd2..000000000 Binary files a/src/icons/qbt-theme/task-ongoing.png and /dev/null differ diff --git a/src/icons/qbt-theme/task-ongoing.svg b/src/icons/qbt-theme/task-ongoing.svg new file mode 100644 index 000000000..c9c8fbdca --- /dev/null +++ b/src/icons/qbt-theme/task-ongoing.svg @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/icons/qbt-theme/task-reject.png b/src/icons/qbt-theme/task-reject.png deleted file mode 100644 index f165fe0d8..000000000 Binary files a/src/icons/qbt-theme/task-reject.png and /dev/null differ diff --git a/src/icons/qbt-theme/task-reject.svg b/src/icons/qbt-theme/task-reject.svg new file mode 100644 index 000000000..20251f1da --- /dev/null +++ b/src/icons/qbt-theme/task-reject.svg @@ -0,0 +1,18 @@ + + + + + + diff --git a/src/icons/skin/collapse-expand.gif b/src/icons/skin/collapse-expand.gif deleted file mode 100644 index 5833c0c67..000000000 Binary files a/src/icons/skin/collapse-expand.gif and /dev/null differ diff --git a/src/icons/skin/collapse.svg b/src/icons/skin/collapse.svg new file mode 100644 index 000000000..6f9413399 --- /dev/null +++ b/src/icons/skin/collapse.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/src/icons/skin/completed.svg b/src/icons/skin/completed.svg index bc170aa6c..ace543c99 100644 --- a/src/icons/skin/completed.svg +++ b/src/icons/skin/completed.svg @@ -1,3 +1,11 @@ - - + + + + + diff --git a/src/icons/skin/downloading.svg b/src/icons/skin/downloading.svg index 7c88dfa3f..48a43ba57 100644 --- a/src/icons/skin/downloading.svg +++ b/src/icons/skin/downloading.svg @@ -1,3 +1,11 @@ - - + + + + + diff --git a/src/icons/skin/expand.svg b/src/icons/skin/expand.svg new file mode 100644 index 000000000..0e0344331 --- /dev/null +++ b/src/icons/skin/expand.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/src/icons/slow.png b/src/icons/slow.png deleted file mode 100644 index 0d978fc70..000000000 Binary files a/src/icons/slow.png and /dev/null differ diff --git a/src/icons/slow.svg b/src/icons/slow.svg new file mode 100644 index 000000000..d1bc0658a --- /dev/null +++ b/src/icons/slow.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + diff --git a/src/icons/slow_off.png b/src/icons/slow_off.png deleted file mode 100644 index 930663e78..000000000 Binary files a/src/icons/slow_off.png and /dev/null differ diff --git a/src/icons/slow_off.svg b/src/icons/slow_off.svg new file mode 100644 index 000000000..a70d2bf55 --- /dev/null +++ b/src/icons/slow_off.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + diff --git a/src/icons/url.png b/src/icons/url.png deleted file mode 100644 index cc0930ff1..000000000 Binary files a/src/icons/url.png and /dev/null differ diff --git a/src/webui/www/private/css/Layout.css b/src/webui/www/private/css/Layout.css index 7008b69e0..1748321dd 100644 --- a/src/webui/www/private/css/Layout.css +++ b/src/webui/www/private/css/Layout.css @@ -316,11 +316,12 @@ li.divider { } .panel-collapse { - background: url(../images/skin/collapse-expand.gif) left top no-repeat; + background: url(../images/skin/collapse.svg) left top no-repeat; } .panel-expand { - background: url(../images/skin/collapse-expand.gif) left -16px no-repeat; + background: url(../images/skin/collapse.svg) left top no-repeat; + transform: rotate(180deg); } .icon16 { diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index e4c9c66a9..c93f1bbd4 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -131,8 +131,8 @@
  • QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget]
  • -
  • QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]
  • -
  • QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]
  • +
  • QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]
  • +
  • QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]
  • QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget]
  • QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget]
  • QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget]
  • @@ -150,7 +150,7 @@
  • QBT_TR(Copy name)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Copy name)QBT_TR[CONTEXT=TransferListWidget]
  • QBT_TR(Copy hash)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Copy hash)QBT_TR[CONTEXT=TransferListWidget]
  • -
  • QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]
  • +
  • QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget] QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]