Browse Source

- Added missing icons in trackers tab (torrent properties) -> still unfinished

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
db7c7bd21a
  1. BIN
      src/Icons/downarrow.png
  2. BIN
      src/Icons/uparrow.png
  3. 2
      src/icons.qrc
  4. 5
      src/properties_imp.cpp

BIN
src/Icons/downarrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

BIN
src/Icons/uparrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

2
src/icons.qrc

@ -19,6 +19,8 @@
<file>Icons/filter.png</file> <file>Icons/filter.png</file>
<file>Icons/splash.jpg</file> <file>Icons/splash.jpg</file>
<file>Icons/home.png</file> <file>Icons/home.png</file>
<file>Icons/uparrow.png</file>
<file>Icons/downarrow.png</file>
<file>Icons/flags/portugal.png</file> <file>Icons/flags/portugal.png</file>
<file>Icons/flags/france.png</file> <file>Icons/flags/france.png</file>
<file>Icons/flags/ukraine.png</file> <file>Icons/flags/ukraine.png</file>

5
src/properties_imp.cpp

@ -29,7 +29,10 @@ properties::properties(QWidget *parent, torrent_handle h, QStringList trackerErr
// set icons // set icons
unselect->setIcon(QIcon(QString::fromUtf8(":/Icons/button_cancel.png"))); unselect->setIcon(QIcon(QString::fromUtf8(":/Icons/button_cancel.png")));
select->setIcon(QIcon(QString::fromUtf8(":/Icons/button_ok.png"))); select->setIcon(QIcon(QString::fromUtf8(":/Icons/button_ok.png")));
addTracker_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/add.png")));
removeTracker_button->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/remove.png")));
lowerTracker_button->setIcon(QIcon(QString::fromUtf8(":/Icons/downarrow.png")));
riseTracker_button->setIcon(QIcon(QString::fromUtf8(":/Icons/uparrow.png")));
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);
// Set Properties list model // Set Properties list model
PropListModel = new QStandardItemModel(0,4); PropListModel = new QStandardItemModel(0,4);

Loading…
Cancel
Save