Browse Source

Merge pull request #10073 from sledgehammer999/stylized_icons

[cleanup]Converted remaining icons to svg
adaptive-webui-19844
sledgehammer999 6 years ago committed by GitHub
parent
commit
6eaab41820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/gui/optionsdialog.cpp
  2. 4
      src/gui/statusbar.cpp
  3. 21
      src/icons/icons.qrc
  4. BIN
      src/icons/qbt-theme/kt-magnet.png
  5. 3
      src/icons/qbt-theme/kt-magnet.svg
  6. BIN
      src/icons/qbt-theme/kt-set-max-download-speed.png
  7. 4
      src/icons/qbt-theme/kt-set-max-download-speed.svg
  8. BIN
      src/icons/qbt-theme/kt-set-max-upload-speed.png
  9. 4
      src/icons/qbt-theme/kt-set-max-upload-speed.svg
  10. 2
      src/icons/qbt-theme/list-remove.svg
  11. BIN
      src/icons/qbt-theme/rss-config.png
  12. 6
      src/icons/qbt-theme/rss-config.svg
  13. BIN
      src/icons/qbt-theme/task-complete.png
  14. 3
      src/icons/qbt-theme/task-complete.svg
  15. BIN
      src/icons/qbt-theme/task-ongoing.png
  16. 3
      src/icons/qbt-theme/task-ongoing.svg
  17. BIN
      src/icons/qbt-theme/task-reject.png
  18. 3
      src/icons/qbt-theme/task-reject.svg
  19. BIN
      src/icons/skin/collapse-expand.gif
  20. 3
      src/icons/skin/collapse.svg
  21. 4
      src/icons/skin/completed.svg
  22. 4
      src/icons/skin/downloading.svg
  23. 3
      src/icons/skin/expand.svg
  24. BIN
      src/icons/slow.png
  25. 5
      src/icons/slow.svg
  26. BIN
      src/icons/slow_off.png
  27. 5
      src/icons/slow_off.svg
  28. BIN
      src/icons/url.png
  29. 5
      src/webui/www/private/css/Layout.css
  30. 8
      src/webui/www/private/index.html
  31. 4
      src/webui/www/private/scripts/client.js

4
src/gui/optionsdialog.cpp

@ -139,8 +139,8 @@ OptionsDialog::OptionsDialog(QWidget *parent) @@ -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();

4
src/gui/statusbar.cpp

@ -231,12 +231,12 @@ void StatusBar::refresh() @@ -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);
}

21
src/icons/icons.qrc

@ -290,9 +290,9 @@ @@ -290,9 +290,9 @@
<file>qbt-theme/help-contents.svg</file>
<file>qbt-theme/inode-directory.svg</file>
<file>qbt-theme/insert-link.svg</file>
<file>qbt-theme/kt-magnet.png</file>
<file>qbt-theme/kt-set-max-download-speed.png</file>
<file>qbt-theme/kt-set-max-upload-speed.png</file>
<file>qbt-theme/kt-magnet.svg</file>
<file>qbt-theme/kt-set-max-download-speed.svg</file>
<file>qbt-theme/kt-set-max-upload-speed.svg</file>
<file>qbt-theme/list-add.svg</file>
<file>qbt-theme/list-remove.svg</file>
<file>qbt-theme/mail-folder-inbox.svg</file>
@ -308,7 +308,7 @@ @@ -308,7 +308,7 @@
<file>qbt-theme/preferences-other.svg</file>
<file>qbt-theme/preferences-system-network.svg</file>
<file>qbt-theme/preferences-web-browser-cookies.svg</file>
<file>qbt-theme/rss-config.png</file>
<file>qbt-theme/rss-config.svg</file>
<file>qbt-theme/security-high.svg</file>
<file>qbt-theme/security-low.svg</file>
<file>qbt-theme/services.svg</file>
@ -316,9 +316,9 @@ @@ -316,9 +316,9 @@
<file>qbt-theme/system-log-out.svg</file>
<file>qbt-theme/tab-close.svg</file>
<file>qbt-theme/task-attention.svg</file>
<file>qbt-theme/task-complete.png</file>
<file>qbt-theme/task-ongoing.png</file>
<file>qbt-theme/task-reject.png</file>
<file>qbt-theme/task-complete.svg</file>
<file>qbt-theme/task-ongoing.svg</file>
<file>qbt-theme/task-reject.svg</file>
<file>qbt-theme/text-plain.svg</file>
<file>qbt-theme/tools-report-bug.svg</file>
<file>qbt-theme/unavailable.svg</file>
@ -338,7 +338,7 @@ @@ -338,7 +338,7 @@
<file>skin/bg-header.gif</file>
<file>skin/bg-panel-header.gif</file>
<file>skin/checking.svg</file>
<file>skin/collapse-expand.gif</file>
<file>skin/collapse.svg</file>
<file>skin/completed.svg</file>
<file>skin/connected.svg</file>
<file>skin/disconnected.svg</file>
@ -377,10 +377,9 @@ @@ -377,10 +377,9 @@
<file>skin/toolbox-divider.gif</file>
<file>skin/toolbox-divider2.gif</file>
<file>skin/uploading.svg</file>
<file>slow.png</file>
<file>slow_off.png</file>
<file>slow.svg</file>
<file>slow_off.svg</file>
<file>sphere.png</file>
<file>sphere2.png</file>
<file>url.png</file>
</qresource>
</RCC>

BIN
src/icons/qbt-theme/kt-magnet.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

3
src/icons/qbt-theme/kt-magnet.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M29.525 10.799c0-1.772.005-3.543-.002-5.314-.005-1.103-.803-1.945-1.882-1.954a290.277 290.277 0 0 0-5.555.002c-.754.008-1.341.38-1.658 1.068-.14.307-.198.678-.201 1.02-.033 3.22-.014 6.44-.081 9.658-.027 1.251-.532 2.362-1.47 3.24-1.745 1.632-4.565 1.331-5.931-.633-.719-1.034-.967-2.2-.97-3.43-.009-2.979 0-5.957-.005-8.936-.001-1.142-.799-1.983-1.907-1.99a218.825 218.825 0 0 0-5.495.012c-.35.005-.728.154-1.038.334-.648.374-.855 1.02-.856 1.727-.002.945.044 1.89.042 2.835-.001 1.065-.044 2.13-.047 3.195-.002.793.07 1.589.037 2.38-.047 1.086-.08 2.17.084 3.25.38 2.507 1.42 4.708 3.136 6.573a14.344 14.344 0 0 0 5.026 3.526c2.466 1.045 5.015 1.4 7.646.887 3.104-.606 5.754-2.062 7.89-4.418 2.11-2.328 3.185-5.067 3.232-8.203.025-1.61.004-3.22.005-4.83zM4.779 5.452c.784.015 1.57.005 2.354.005s1.57.007 2.354-.004c.255-.004.359.079.357.346a341.774 341.774 0 0 0 0 4.164c0 .253-.098.33-.34.328a539.567 539.567 0 0 0-4.708 0c-.24.001-.341-.07-.343-.325a307.326 307.326 0 0 0-.052-4.132c-.007-.288.087-.388.378-.382zM27.537 9.97c-.003.232-.082.321-.318.32-1.59-.006-3.179-.006-4.768 0-.22 0-.304-.083-.303-.303a540.93 540.93 0 0 0 0-4.225c-.001-.243.108-.31.33-.309.795.008 1.59.003 2.385.003.774 0 1.549.01 2.323-.005.294-.007.412.072.405.388-.03 1.377-.044 2.754-.054 4.13z" fill="#733737"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/icons/qbt-theme/kt-set-max-download-speed.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 B

4
src/icons/qbt-theme/kt-set-max-download-speed.svg

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M11.643 9.299c0-1.872.03-3.745-.012-5.616-.022-.953.685-1.665 1.65-1.641 1.814.044 3.63.042 5.444 0 .943-.022 1.638.69 1.63 1.626-.029 3.79-.011 7.58-.011 11.37 0 .527 0 .528.537.528 1.86 0 3.722.015 5.582-.008.692-.009 1.185.263 1.472.866.304.638.087 1.206-.345 1.714-.037.044-.08.083-.12.123-3.426 3.428-6.854 6.855-10.278 10.285-.358.359-.76.569-1.285.55-.438-.016-.77-.221-1.06-.508A1427.6 1427.6 0 0 1 4.376 18.06c-.77-.783-.524-1.987.495-2.4.184-.074.402-.09.605-.09 1.895-.007 3.79-.004 5.685-.005.481 0 .483-.001.483-.477V9.299z" fill="#427337"/>
<path d="M5.424 29.959H26.57c.825 0 1.5-.675 1.5-1.5 0-.826-.675-1.502-1.5-1.502H5.424c-.825 0-1.5.676-1.5 1.501 0 .826.675 1.5 1.5 1.5z" fill="#427337"/>
</svg>

After

Width:  |  Height:  |  Size: 791 B

BIN
src/icons/qbt-theme/kt-set-max-upload-speed.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

4
src/icons/qbt-theme/kt-set-max-upload-speed.svg

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M20.357 22.701c0 1.872-.03 3.745.012 5.616.022.953-.685 1.665-1.65 1.641a114.23 114.23 0 0 0-5.444 0c-.943.022-1.638-.69-1.63-1.626.029-3.79.011-7.58.011-11.37 0-.527 0-.528-.537-.528-1.86 0-3.722-.015-5.582.008-.692.009-1.185-.263-1.472-.866-.304-.638-.087-1.206.345-1.714.037-.044.08-.083.12-.123 3.426-3.428 6.854-6.855 10.278-10.285.358-.359.76-.569 1.285-.55.438.016.77.221 1.06.508A1426.757 1426.757 0 0 1 27.624 13.94c.77.783.524 1.987-.495 2.4-.184.074-.402.09-.605.09-1.895.007-3.79.004-5.685.005-.481 0-.483.001-.483.477v5.789z" fill="#d1954e"/>
<path d="M26.576 2.041H5.43c-.825 0-1.5.675-1.5 1.5 0 .826.675 1.502 1.5 1.502h21.146c.825 0 1.5-.676 1.5-1.501 0-.826-.675-1.5-1.5-1.5z" fill="#d1954e"/>
</svg>

After

Width:  |  Height:  |  Size: 792 B

2
src/icons/qbt-theme/list-remove.svg

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path fill="#733737" d="M25.8 14.7v2.7c0 .4-.1.7-.4.9-.3.3-.6.4-.9.4h-17c-.4 0-.7-.1-.9-.4-.3-.3-.4-.6-.4-.9v-2.7c0-.4.1-.7.4-.9s.6-.4.9-.4h17c.4 0 .7.1.9.4.3.2.4.5.4.9z"/>
<path d="M16.002 10.045h8.179c.61 0 .748.139.748.751 0 4.94-.012 9.878.01 14.817.005 1.042-.717 2.019-1.738 2.248a1.817 1.817 0 0 1-.394.041c-4.54.002-9.081.004-13.622 0-1.116 0-2.112-.995-2.113-2.11-.005-5.036-.003-10.072-.002-15.108 0-.464.178-.638.648-.638 2.761-.002 5.523 0 8.284 0zm-5.204 8.931c0 1.654-.001 3.309.001 4.963.001.615.257.946.726.956.478.011.749-.33.75-.96.001-3.308.001-6.616-.004-9.924a1.72 1.72 0 0 0-.086-.518c-.086-.263-.353-.432-.637-.439-.286-.006-.576.17-.66.441a2.017 2.017 0 0 0-.086.572c-.007 1.637-.004 3.273-.004 4.91zm4.463.006c0 1.627-.003 3.255.003 4.882 0 .183.02.373.071.548.107.363.475.55.84.454.377-.099.56-.374.56-.883.003-3.334.003-6.669 0-10.003 0-.131-.021-.266-.055-.392a.685.685 0 0 0-.674-.534.682.682 0 0 0-.683.521 1.98 1.98 0 0 0-.06.498c-.004 1.636-.002 3.272-.002 4.909zm5.939.021c0-1.663.001-3.325-.001-4.988-.001-.631-.27-.97-.75-.96-.469.01-.725.34-.725.956a4689.8 4689.8 0 0 0 .003 9.924c0 .182.037.371.096.543a.653.653 0 0 0 .65.414c.278-.02.531-.12.625-.41a2.01 2.01 0 0 0 .098-.596c.007-1.628.004-3.255.004-4.883zM16.003 8.568H6.337c-.616 0-.755-.137-.755-.744 0-.363.027-.729-.006-1.088-.055-.593.568-1.174 1.153-1.163 1.602.03 3.204.004 4.806.015.258.002.41-.075.509-.315.098-.236.222-.464.355-.682a.97.97 0 0 1 .86-.492c1.823-.005 3.647-.004 5.47-.001.458 0 .755.263.963.644.101.186.205.374.283.57.087.215.23.276.453.275 1.593-.008 3.187.022 4.78-.017.656-.016 1.28.57 1.215 1.21-.037.369-.005.744-.007 1.115-.002.504-.167.672-.667.673h-9.745z" fill="#733737"/>
</svg>

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/icons/qbt-theme/rss-config.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

6
src/icons/qbt-theme/rss-config.svg

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M-1027.8-1421.5H1716v2625h-2743.8v-2625z" fill="none"/>
<path d="M27.6 30.7h-1.4c-.8 0-1.2-.4-1.2-1.2-.2-4.1-1.4-7.9-3.6-11.4-1.1-1.7-2.4-3.3-4-4.7-1.4-1.3-3-2.4-4.6-3.3-2.5-1.4-5.2-2.3-8.1-2.6-.6-.2-1.2-.2-1.8-.2C2 7.2 1.6 6.9 1.6 6V3.2c0-.8.5-1.2 1.3-1.1 1.3.1 2.6.2 3.9.4 2.3.4 4.4 1.1 6.5 2 2.3 1 4.5 2.4 6.5 4 1.3 1.1 2.5 2.3 3.7 3.6 1.5 1.7 2.7 3.6 3.7 5.5.8 1.6 1.5 3.2 1.9 4.9.6 2.2 1 4.5 1.1 6.8 0 .8-.6 1.2-1.2 1.2-.5.2-.9.2-1.4.2z" fill="#375273"/>
<path d="M1.6 13.9v-1.6c0-.6.5-1 1.1-1 1.6.1 3.2.4 4.8.9 1.6.5 3.1 1.2 4.5 2.1 3.2 2.1 5.7 4.8 7.3 8.3.8 1.8 1.4 3.7 1.6 5.6.1.5.1 1 .1 1.5s-.3.9-.8 1c-.4.1-.8.1-1.2.1h-2.2c-.6 0-.9-.4-.9-1-.1-1.5-.5-3-1-4.4-1.2-3-3.2-5.3-6-6.9C7 17.4 5 16.7 2.8 16.6c-.6 0-1.2-.5-1.1-1.2-.1-.6-.1-1.1-.1-1.5z" fill="#375273"/>
<path d="M1.6 26.5c0-2.1 1.7-4.1 4.1-4.1 2.4 0 4.1 1.8 4.1 4.1S8 30.6 5.7 30.6c-2.4.1-4.2-1.9-4.1-4.1z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 977 B

BIN
src/icons/qbt-theme/task-complete.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 678 B

3
src/icons/qbt-theme/task-complete.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M22.479 23.025l-2.313 2.313c-.308.308-.616.462-1.079.462s-.77-.154-1.079-.462l-2.158-2.159-5.858-5.857c-.308-.308-.462-.617-.462-1.08 0-.462.154-.77.462-1.078l2.159-2.158c.308-.309.616-.463 1.079-.463.462 0 .77.154 1.079.463l4.778 4.778L29.22 7.36V4.055c0-.55-.45-1-1-1H3.78c-.55 0-1 .45-1 1v23.89c0 .55.45 1 1 1h24.44c.55 0 1-.45 1-1v-11.66l-6.74 6.74z" fill="#427337"/>
</svg>

After

Width:  |  Height:  |  Size: 451 B

BIN
src/icons/qbt-theme/task-ongoing.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 B

3
src/icons/qbt-theme/task-ongoing.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M21.878 24.367l-2.312 2.312c-.308.308-.616.462-1.079.462s-.77-.154-1.079-.462l-2.158-2.158-5.858-5.858c-.308-.308-.462-.616-.462-1.079 0-.462.154-.77.462-1.079l2.159-2.158c.308-.308.616-.462 1.079-.462s.77.154 1.079.462l4.778 4.779 10.27-10.567c-2.564-4.386-7.31-7.34-12.757-7.34C7.837 1.219 1.219 7.837 1.219 16S7.837 30.781 16 30.781 30.781 24.163 30.781 16c0-.172-.02-.34-.026-.51l-8.877 8.877z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 495 B

BIN
src/icons/qbt-theme/task-reject.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 765 B

3
src/icons/qbt-theme/task-reject.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path d="M28.219 3.055H3.78c-.55 0-1 .45-1 1v23.89c0 .55.45 1 1 1h24.44c.55 0 1-.45 1-1V4.055c0-.55-.45-1-1-1zm-3.191 17.738c.32.32.479.64.479 1.119 0 .32-.16.799-.48.959l-2.236 2.236c-.32.32-.64.48-1.119.48-.48 0-.799-.16-1.118-.48l-4.634-4.633-4.634 4.633c-.32.32-.639.48-1.118.48-.48 0-.799-.16-1.118-.48l-2.237-2.236c-.32-.32-.48-.64-.48-1.119 0-.48.16-.799.48-1.118L11.446 16l-4.633-4.634c-.32-.32-.48-.639-.48-1.118 0-.48.16-.799.48-1.119L9.05 6.893c.32-.32.639-.48 1.118-.48.48 0 .799.16 1.119.48l4.633 4.633 4.794-4.474c.32-.32.639-.479 1.118-.479.48 0 .799.16 1.118.48l2.237 2.236c.32.32.48.64.48 1.119s-.16.799-.48 1.118l-4.633 4.634 4.474 4.633z" fill="#733737"/>
</svg>

After

Width:  |  Height:  |  Size: 745 B

BIN
src/icons/skin/collapse-expand.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

3
src/icons/skin/collapse.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15">
<path d="M7.5.9C3.9.9.9 3.9.9 7.5s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.2.9 7.5.9zm0 9.2l-4-4.3h8l-4 4.3z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 187 B

4
src/icons/skin/completed.svg

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="23.2" height="27.267">
<path fill="#000081" d="M22.7 9.234l-10.8 10.8-2 2c-.2.2-.7.4-1 .4-.4 0-.7-.2-1-.4l-2-2-5.4-5.4c-.3-.3-.5-.7-.5-1.1 0-.4.2-.7.4-1l2-2c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l4.4 4.4 9.8-9.7c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l2 2c.4.2.6.6.6 1-.1.4-.2.7-.5 1z"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.7 18.1">
<path d="M23 4.6L12.2 15.4l-2 2c-.2.2-.7.4-1 .4-.4 0-.7-.2-1-.4l-2-2L.8 10C.5 9.7.3 9.3.3 8.9s.2-.7.4-1l2-2c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l4.4 4.4L18.9.6c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l2 2c.4.2.6.6.6 1-.1.4-.2.7-.5 1z" fill="#375273"/>
</svg>

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 308 B

4
src/icons/skin/downloading.svg

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.678459 25.799999" width="20.678" height="25.8">
<path d="M20.2 14.4l-9 9c-.3.3-.5.4-.9.4s-.7-.1-.9-.4l-9-9c-.4-.4-.5-.8-.3-1.5.3-.5.7-.8 1.2-.8h5.2V3.3c0-.4.1-.7.4-.9.3-.3.5-.4.9-.4H13c.4 0 .7.1.9.4.2.2.4.5.4.9v9h5.2c.5-.1.9.1 1.1.7.2.5 0 1-.4 1.4z" fill="#228b22"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21.2 22.4">
<path d="M20.5 12.7l-9 9c-.3.3-.5.4-.9.4s-.7-.1-.9-.4l-9-9c-.4-.4-.5-.8-.3-1.5.3-.5.7-.8 1.2-.8h5.2V1.6c0-.4.1-.7.4-.9.3-.3.5-.4.9-.4h5.2c.4 0 .7.1.9.4.2.2.4.5.4.9v9h5.2c.5-.1.9.1 1.1.7.2.5 0 1-.4 1.4z" fill="#427337"/>
</svg>

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 294 B

3
src/icons/skin/expand.svg

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15">
<path d="M7.5.9C3.9.9.9 3.9.9 7.5s3 6.6 6.6 6.6 6.6-3 6.6-6.6S11.1.9 7.5.9zm0 8.4h-4l4-4.3 4 4.3h-4z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 189 B

BIN
src/icons/slow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

5
src/icons/slow.svg

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 17.8">
<path d="M36.7 14.9C35 7.1 28.3 1.1 20.1.3H20c-.5 0-1-.1-1.5-.1s-1 0-1.5.1h-.1C8.6 1.1 2 7.1.2 14.9c-.1.3 0 .4.1.6s.5.3.5.3h35.3s.4-.1.5-.3c.1-.2.2-.3.1-.6z" fill="#375273"/>
<path d="M17.1 17c-.1 0-.3 0-.3-.1L3.4 4c-.2-.2-.2-.5-.1-.7.1-.1.2-.2.4-.2.1 0 .2 0 .2.1l16.2 9.1c.1.1.2.2.2.3 0 .1 0 .3-.1.4l-2.8 3.8c0 .1-.1.2-.3.2z" fill="#fff"/>
<path d="M3.7 3.6l16.2 9.1-2.8 3.8L3.7 3.6m0-1c-.3 0-.6.2-.8.4-.3.4-.2 1 .1 1.3l13.4 12.8c.2.2.4.3.7.3h.1c.3 0 .5-.2.7-.4l2.8-3.8c.2-.2.2-.5.2-.8-.1-.3-.2-.5-.5-.7L4.2 2.8c-.1-.1-.3-.2-.5-.2z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 627 B

BIN
src/icons/slow_off.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

5
src/icons/slow_off.svg

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36.9 17.8">
<path d="M.2 15C2 7.1 8.6 1.1 16.8.4h.1c.5 0 1-.1 1.5-.1s1 0 1.5.1h.1c8.3.7 15 6.7 16.7 14.6.1.3 0 .4-.1.6-.1.2-.5.3-.5.3H.8s-.4-.1-.5-.3-.1-.4-.1-.6z" fill="#375273"/>
<path d="M19.8 17c-.1 0-.3-.1-.4-.2L16.6 13c-.1-.1-.1-.3-.1-.4 0-.1.1-.3.2-.3L33 3.2c.1 0 .2-.1.2-.1.2 0 .3.1.4.2.2.2.1.5-.1.7L20.2 16.9c-.1.1-.2.1-.4.1z" fill="#fff"/>
<path d="M33.2 3.7L19.8 16.5 17 12.7l16.2-9m0-1c-.2 0-.3 0-.5.1l-16.2 9.1c-.3.1-.4.4-.5.7-.1.3 0 .6.2.8l2.8 3.8c.2.2.4.4.7.4h.1c.3 0 .5-.1.7-.3L33.9 4.4c.4-.4.4-.9.1-1.3-.2-.3-.5-.4-.8-.4z" fill="#375273"/>
</svg>

After

Width:  |  Height:  |  Size: 623 B

BIN
src/icons/url.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 B

5
src/webui/www/private/css/Layout.css

@ -316,11 +316,12 @@ li.divider { @@ -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 {

8
src/webui/www/private/index.html

@ -131,8 +131,8 @@ @@ -131,8 +131,8 @@
<li>
<a href="#AutoTorrentManagement"><img src="images/qbt-theme/checked.svg" alt="QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Automatic Torrent Management)QBT_TR[CONTEXT=TransferListWidget]</a>
</li>
<li class="separator"><a href="#DownloadLimit"><img src="images/qbt-theme/kt-set-max-download-speed.png" alt="QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#UploadLimit"><img src="images/qbt-theme/kt-set-max-upload-speed.png" alt="QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li class="separator"><a href="#DownloadLimit"><img src="images/qbt-theme/kt-set-max-download-speed.svg" alt="QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Limit download rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#UploadLimit"><img src="images/qbt-theme/kt-set-max-upload-speed.svg" alt="QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Limit upload rate...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#ShareRatio"><img src="images/skin/ratio.svg" alt="QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Limit share ratio...)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#SuperSeeding"><img src="images/qbt-theme/checked.svg" alt="QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Super seeding mode)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li class="separator"><a href="#SequentialDownload"><img src="images/qbt-theme/checked.svg" alt="QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Download in sequential order)QBT_TR[CONTEXT=TransferListWidget]</a></li>
@ -150,7 +150,7 @@ @@ -150,7 +150,7 @@
</li>
<li class="separator"><a href="#" id="CopyName" class="copyToClipboard"><img src="images/qbt-theme/edit-copy.svg" alt="QBT_TR(Copy name)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Copy name)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#" id="CopyHash" class="copyToClipboard"><img src="images/qbt-theme/edit-copy.svg" alt="QBT_TR(Copy hash)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Copy hash)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#" id="CopyMagnetLink" class="copyToClipboard"><img src="images/qbt-theme/kt-magnet.png" alt="QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]</a></li>
<li><a href="#" id="CopyMagnetLink" class="copyToClipboard"><img src="images/qbt-theme/kt-magnet.svg" alt="QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]"/> QBT_TR(Copy magnet link)QBT_TR[CONTEXT=TransferListWidget]</a></li>
</ul>
<ul id="categoriesFilterMenu" class="contextMenu">
<li><a href="#CreateCategory"><img src="images/qbt-theme/list-add.svg" alt="QBT_TR(Add category...)QBT_TR[CONTEXT=CategoryFilterWidget]"/> QBT_TR(Add category...)QBT_TR[CONTEXT=CategoryFilterWidget]</a></li>
@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
<td class="statusBarSeparator"></td>
<td><img id="connectionStatus" alt="Connection Status" src="images/skin/firewalled.svg" style="height: 1.5em;" /></td>
<td class="statusBarSeparator"></td>
<td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.png" /></td>
<td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.svg" style="height: 1.5em;"/></td>
<td class="statusBarSeparator"></td>
<td class="speedLabel"><img src="images/skin/download.svg" alt="" style="height: 1.4em; padding-right: 5px; margin-bottom: -4px;"><span id="DlInfos"></span></td>
<td class="statusBarSeparator"></td>

4
src/webui/www/private/scripts/client.js

@ -515,9 +515,9 @@ window.addEvent('load', function() { @@ -515,9 +515,9 @@ window.addEvent('load', function() {
var updateAltSpeedIcon = function(enabled) {
if (enabled)
$('alternativeSpeedLimits').src = "images/slow.png";
$('alternativeSpeedLimits').src = "images/slow.svg";
else
$('alternativeSpeedLimits').src = "images/slow_off.png";
$('alternativeSpeedLimits').src = "images/slow_off.svg";
};
$('alternativeSpeedLimits').addEvent('click', function() {

Loading…
Cancel
Save