Browse Source

Improve Icon theme integration

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
f510852cd7
  1. BIN
      src/Icons/oxygen/emblem-favorite.png
  2. BIN
      src/Icons/oxygen/emblem-locked.png
  3. BIN
      src/Icons/oxygen/wallet-open.png
  4. 2
      src/deletionconfirmationdlg.h
  5. 4
      src/icons.qrc
  6. 4
      src/mainwindow.cpp

BIN
src/Icons/oxygen/emblem-favorite.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

BIN
src/Icons/oxygen/emblem-locked.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 B

BIN
src/Icons/oxygen/wallet-open.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

2
src/deletionconfirmationdlg.h

@ -45,7 +45,7 @@ class DeletionConfirmationDlg : public QDialog, private Ui::confirmDeletionDlg {
// Icons // Icons
lbl_warn->setPixmap(misc::getIcon("dialog-warning").pixmap(lbl_warn->height())); lbl_warn->setPixmap(misc::getIcon("dialog-warning").pixmap(lbl_warn->height()));
lbl_warn->setFixedWidth(lbl_warn->height()); lbl_warn->setFixedWidth(lbl_warn->height());
rememberBtn->setIcon(misc::getIcon("emblem-locked")); rememberBtn->setIcon(misc::getIcon("object-locked"));
move(misc::screenCenter(this)); move(misc::screenCenter(this));
checkPermDelete->setChecked(Preferences().deleteTorrentFilesAsDefault()); checkPermDelete->setChecked(Preferences().deleteTorrentFilesAsDefault());

4
src/icons.qrc

@ -320,19 +320,19 @@
<file>Icons/oxygen/document-properties.png</file> <file>Icons/oxygen/document-properties.png</file>
<file>Icons/oxygen/user-group-new.png</file> <file>Icons/oxygen/user-group-new.png</file>
<file>Icons/oxygen/network-server.png</file> <file>Icons/oxygen/network-server.png</file>
<file>Icons/oxygen/wallet-open.png</file>
<file>Icons/oxygen/preferences-web-browser-cookies.png</file> <file>Icons/oxygen/preferences-web-browser-cookies.png</file>
<file>Icons/oxygen/list-add.png</file> <file>Icons/oxygen/list-add.png</file>
<file>Icons/oxygen/edit-paste.png</file> <file>Icons/oxygen/edit-paste.png</file>
<file>Icons/oxygen/folder-remote.png</file> <file>Icons/oxygen/folder-remote.png</file>
<file>Icons/oxygen/help-about.png</file> <file>Icons/oxygen/help-about.png</file>
<file>Icons/oxygen/document-save.png</file> <file>Icons/oxygen/document-save.png</file>
<file>Icons/oxygen/emblem-favorite.png</file>
<file>Icons/oxygen/gear.png</file> <file>Icons/oxygen/gear.png</file>
<file>Icons/oxygen/view-categories.png</file> <file>Icons/oxygen/view-categories.png</file>
<file>Icons/oxygen/emblem-locked.png</file>
<file>Icons/oxygen/document-new.png</file> <file>Icons/oxygen/document-new.png</file>
<file>Icons/oxygen/dialog-information.png</file> <file>Icons/oxygen/dialog-information.png</file>
<file>Icons/oxygen/preferences-other.png</file> <file>Icons/oxygen/preferences-other.png</file>
<file>Icons/oxygen/object-locked.png</file>
<file>Icons/oxygen/view-calendar-journal.png</file> <file>Icons/oxygen/view-calendar-journal.png</file>
<file>Icons/oxygen/application-rss+xml.png</file> <file>Icons/oxygen/application-rss+xml.png</file>
<file>Icons/oxygen/document-encrypt.png</file> <file>Icons/oxygen/document-encrypt.png</file>

4
src/mainwindow.cpp

@ -113,10 +113,10 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
actionDecreasePriority->setIcon(misc::getIcon("go-down")); actionDecreasePriority->setIcon(misc::getIcon("go-down"));
actionDelete->setIcon(misc::getIcon("edit-delete")); actionDelete->setIcon(misc::getIcon("edit-delete"));
actionDocumentation->setIcon(misc::getIcon("help-contents")); actionDocumentation->setIcon(misc::getIcon("help-contents"));
actionDonate_money->setIcon(misc::getIcon("emblem-favorite")); actionDonate_money->setIcon(misc::getIcon("wallet-open"));
actionExit->setIcon(misc::getIcon("application-exit")); actionExit->setIcon(misc::getIcon("application-exit"));
actionIncreasePriority->setIcon(misc::getIcon("go-up")); actionIncreasePriority->setIcon(misc::getIcon("go-up"));
actionLock_qBittorrent->setIcon(misc::getIcon("emblem-locked")); actionLock_qBittorrent->setIcon(misc::getIcon("object-locked"));
actionOptions->setIcon(misc::getIcon("preferences-system")); actionOptions->setIcon(misc::getIcon("preferences-system"));
actionPause->setIcon(misc::getIcon("media-playback-pause")); actionPause->setIcon(misc::getIcon("media-playback-pause"));
actionPause_All->setIcon(misc::getIcon("media-playback-pause")); actionPause_All->setIcon(misc::getIcon("media-playback-pause"));

Loading…
Cancel
Save