mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 04:24:23 +00:00
- FEATURE: DHT is always ON (no longer used as fallback)
- FEATURE: The number of DHT nodes is displayed - COSMETIC: Transfer speed, ratio and DHT nodes are displayed in status bar
This commit is contained in:
parent
0054a330fb
commit
77c97b5b43
@ -1,3 +1,8 @@
|
||||
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.2.0
|
||||
- FEATURE: DHT is always ON (no longer used as fallback)
|
||||
- FEATURE: The number of DHT nodes is displayed
|
||||
- COSMETIC: Transfer speed, ratio and DHT nodes are displayed in status bar
|
||||
|
||||
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.1.0
|
||||
- FEATURE: Web interface to control qbittorrent (Ishan Arora)
|
||||
- FEATURE: Can spoof Azureus peer id to avoid ban
|
||||
|
49
src/GUI.cpp
49
src/GUI.cpp
@ -23,6 +23,8 @@
|
||||
#include <QDesktopWidget>
|
||||
#include <QTimer>
|
||||
#include <QDesktopServices>
|
||||
#include <QStatusBar>
|
||||
#include <QFrame>
|
||||
#ifdef QT_4_4
|
||||
#include <QLocalServer>
|
||||
#include <QLocalSocket>
|
||||
@ -115,8 +117,6 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
||||
actionDelete_Permanently->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/delete_perm.png")));
|
||||
actionTorrent_Properties->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/properties.png")));
|
||||
actionCreate_torrent->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/new.png")));
|
||||
// Set default ratio
|
||||
lbl_ratio_icon->setPixmap(QPixmap(QString::fromUtf8(":/Icons/stare.png")));
|
||||
// Fix Tool bar layout
|
||||
toolBar->layout()->setSpacing(7);
|
||||
// creating options
|
||||
@ -208,12 +208,39 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
||||
show();
|
||||
}
|
||||
createKeyboardShortcuts();
|
||||
dlSpeedLbl = new QLabel(tr("DL: %1 KiB/s").arg("0.0"));
|
||||
upSpeedLbl = new QLabel(tr("UP: %1 KiB/s").arg("0.0"));
|
||||
ratioLbl = new QLabel(tr("Ratio: %1").arg("1.0"));
|
||||
DHTLbl = new QLabel(tr("DHT: %1 Nodes").arg(0));
|
||||
statusSep1 = new QFrame();
|
||||
statusSep1->setFixedWidth(1);
|
||||
statusSep1->setFrameStyle(QFrame::Box);
|
||||
statusSep2 = new QFrame();
|
||||
statusSep2->setFixedWidth(1);
|
||||
statusSep2->setFrameStyle(QFrame::Box);
|
||||
statusSep3 = new QFrame();
|
||||
statusSep3->setFixedWidth(1);
|
||||
statusSep3->setFrameStyle(QFrame::Box);
|
||||
QMainWindow::statusBar()->addPermanentWidget(DHTLbl);
|
||||
QMainWindow::statusBar()->addPermanentWidget(statusSep1);
|
||||
QMainWindow::statusBar()->addPermanentWidget(dlSpeedLbl);
|
||||
QMainWindow::statusBar()->addPermanentWidget(statusSep2);
|
||||
QMainWindow::statusBar()->addPermanentWidget(upSpeedLbl);
|
||||
QMainWindow::statusBar()->addPermanentWidget(statusSep3);
|
||||
QMainWindow::statusBar()->addPermanentWidget(ratioLbl);
|
||||
qDebug("GUI Built");
|
||||
}
|
||||
|
||||
// Destructor
|
||||
GUI::~GUI() {
|
||||
qDebug("GUI destruction");
|
||||
delete dlSpeedLbl;
|
||||
delete upSpeedLbl;
|
||||
delete ratioLbl;
|
||||
delete DHTLbl;
|
||||
delete statusSep1;
|
||||
delete statusSep2;
|
||||
delete statusSep3;
|
||||
delete rssWidget;
|
||||
delete searchEngine;
|
||||
delete refresher;
|
||||
@ -261,16 +288,9 @@ void GUI::updateRatio() {
|
||||
if(ratio > 10.)
|
||||
ratio = 10.;
|
||||
}
|
||||
LCD_Ratio->display(QString(QByteArray::number(ratio, 'f', 1)));
|
||||
if(ratio < 0.5) {
|
||||
lbl_ratio_icon->setPixmap(QPixmap(QString::fromUtf8(":/Icons/unhappy.png")));
|
||||
}else{
|
||||
if(ratio > 1.0) {
|
||||
lbl_ratio_icon->setPixmap(QPixmap(QString::fromUtf8(":/Icons/smile.png")));
|
||||
}else{
|
||||
lbl_ratio_icon->setPixmap(QPixmap(QString::fromUtf8(":/Icons/stare.png")));
|
||||
}
|
||||
}
|
||||
ratioLbl->setText(tr("Ratio: %1").arg(QString(QByteArray::number(ratio, 'f', 1))));
|
||||
// Update DHT nodes
|
||||
DHTLbl->setText(tr("DHT: %1 Nodes").arg(QString::number(sessionStatus.dht_nodes)));
|
||||
}
|
||||
|
||||
void GUI::on_actionWebsite_triggered() const {
|
||||
@ -999,6 +1019,7 @@ void GUI::configureSession(bool deleteOptions) {
|
||||
sessionSettings.user_agent = "qBittorrent "VERSION;
|
||||
}
|
||||
sessionSettings.upnp_ignore_nonrouters = true;
|
||||
sessionSettings.use_dht_as_fallback = false;
|
||||
BTSession->setSessionSettings(sessionSettings);
|
||||
// Bittorrent
|
||||
// * Max connections limit
|
||||
@ -1282,8 +1303,8 @@ void GUI::on_actionTorrent_Properties_triggered() {
|
||||
|
||||
void GUI::updateLists() {
|
||||
// update global informations
|
||||
LCD_UpSpeed->display(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))); // UP LCD
|
||||
LCD_DownSpeed->display(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))); // DL LCD
|
||||
dlSpeedLbl = new QLabel(tr("DL: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadDownloadRate()/1024., 'f', 1))));
|
||||
upSpeedLbl = new QLabel(tr("UP: %1 KiB/s").arg(QString(QByteArray::number(BTSession->getPayloadUploadRate()/1024., 'f', 1))));
|
||||
switch(getCurrentTabIndex()){
|
||||
case 0:
|
||||
downloadingTorrentTab->updateDlList();
|
||||
|
@ -52,6 +52,7 @@ class QTabWidget;
|
||||
class QLabel;
|
||||
class QModelIndex;
|
||||
class HttpServer;
|
||||
class QFrame;
|
||||
|
||||
class GUI : public QMainWindow, private Ui::MainWindow{
|
||||
Q_OBJECT
|
||||
@ -75,6 +76,13 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
||||
bool force_exit;
|
||||
unsigned int refreshInterval;
|
||||
QTimer *refresher;
|
||||
QLabel *dlSpeedLbl;
|
||||
QLabel *upSpeedLbl;
|
||||
QLabel *ratioLbl;
|
||||
QLabel *DHTLbl;
|
||||
QFrame *statusSep1;
|
||||
QFrame *statusSep2;
|
||||
QFrame *statusSep3;
|
||||
// Keyboard shortcuts
|
||||
QShortcut *switchSearchShortcut;
|
||||
QShortcut *switchSearchShortcut2;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@ -21,190 +21,10 @@
|
||||
<x>0</x>
|
||||
<y>58</y>
|
||||
<width>849</width>
|
||||
<height>505</height>
|
||||
<height>482</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="vboxLayout" >
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="_3" >
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lbl_DLSpeed_2" >
|
||||
<property name="text" >
|
||||
<string>Total DL Speed:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLCDNumber" name="LCD_DownSpeed" >
|
||||
<property name="autoFillBackground" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="frameShadow" >
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<property name="smallDecimalPoint" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="numDigits" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="segmentStyle" >
|
||||
<enum>QLCDNumber::Flat</enum>
|
||||
</property>
|
||||
<property name="value" stdset="0" >
|
||||
<double>0.000000000000000</double>
|
||||
</property>
|
||||
<property name="intValue" stdset="0" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="unitDL_2" >
|
||||
<property name="text" >
|
||||
<string>KiB/s</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2" >
|
||||
<property name="text" >
|
||||
<string>Session ratio: </string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLCDNumber" name="LCD_Ratio" >
|
||||
<property name="autoFillBackground" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="numDigits" >
|
||||
<number>4</number>
|
||||
</property>
|
||||
<property name="segmentStyle" >
|
||||
<enum>QLCDNumber::Flat</enum>
|
||||
</property>
|
||||
<property name="value" stdset="0" >
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lbl_ratio_icon" >
|
||||
<property name="text" >
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="lbl_UPSpeed_2" >
|
||||
<property name="text" >
|
||||
<string>Total UP Speed:</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLCDNumber" name="LCD_UpSpeed" >
|
||||
<property name="autoFillBackground" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="smallDecimalPoint" >
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="numDigits" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="segmentStyle" >
|
||||
<enum>QLCDNumber::Flat</enum>
|
||||
</property>
|
||||
<property name="value" stdset="0" >
|
||||
<double>0.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="unitUP_2" >
|
||||
<property name="text" >
|
||||
<string>KiB/s</string>
|
||||
</property>
|
||||
<property name="alignment" >
|
||||
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
<layout class="QVBoxLayout" name="vboxLayout" />
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar" >
|
||||
<property name="geometry" >
|
||||
@ -310,6 +130,16 @@
|
||||
<addaction name="actionExit" />
|
||||
<addaction name="separator" />
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>540</y>
|
||||
<width>849</width>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<action name="actionOpen" >
|
||||
<property name="text" >
|
||||
<string>Open</string>
|
||||
|
183
src/icons.qrc
183
src/icons.qrc
@ -1,106 +1,103 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>Icons/folder.png</file>
|
||||
<file>Icons/qbittorrent32.png</file>
|
||||
<file>Icons/file.png</file>
|
||||
<file>Icons/smile.png</file>
|
||||
<file>Icons/qbittorrent22.png</file>
|
||||
<file>Icons/mascot.png</file>
|
||||
<file>Icons/downarrow.png</file>
|
||||
<file>Icons/unavailable.png</file>
|
||||
<file>Icons/proxy.png</file>
|
||||
<file>Icons/description.png</file>
|
||||
<file>Icons/log.png</file>
|
||||
<file>Icons/uparrow.png</file>
|
||||
<file>Icons/home.png</file>
|
||||
<file>Icons/unsubscribe.png</file>
|
||||
<file>Icons/url.png</file>
|
||||
<file>Icons/unsubscribe16.png</file>
|
||||
<file>Icons/stare.png</file>
|
||||
<file>Icons/qbittorrent16.png</file>
|
||||
<file>Icons/locale.png</file>
|
||||
<file>Icons/splash.png</file>
|
||||
<file>Icons/subscribe16.png</file>
|
||||
<file>Icons/loading.png</file>
|
||||
<file>Icons/star.png</file>
|
||||
<file>Icons/gnome-shutdown.png</file>
|
||||
<file>Icons/style.png</file>
|
||||
<file>Icons/rss16.png</file>
|
||||
<file>Icons/add_file.png</file>
|
||||
<file>Icons/add_folder.png</file>
|
||||
<file>Icons/bt_settings.png</file>
|
||||
<file>Icons/button_cancel.png</file>
|
||||
<file>Icons/button_ok.png</file>
|
||||
<file>Icons/configure.png</file>
|
||||
<file>Icons/connection.png</file>
|
||||
<file>Icons/systemtray.png</file>
|
||||
<file>Icons/sphere.png</file>
|
||||
<file>Icons/add_folder.png</file>
|
||||
<file>Icons/button_cancel.png</file>
|
||||
<file>Icons/encrypted.png</file>
|
||||
<file>Icons/wizard.png</file>
|
||||
<file>Icons/edit_clear.png</file>
|
||||
<file>Icons/rss32.png</file>
|
||||
<file>Icons/subscribe.png</file>
|
||||
<file>Icons/bt_settings.png</file>
|
||||
<file>Icons/password.png</file>
|
||||
<file>Icons/newmsg.png</file>
|
||||
<file>Icons/sphere2.png</file>
|
||||
<file>Icons/button_ok.png</file>
|
||||
<file>Icons/unhappy.png</file>
|
||||
<file>Icons/add_file.png</file>
|
||||
<file>Icons/filter.png</file>
|
||||
<file>Icons/money.png</file>
|
||||
<file>Icons/description.png</file>
|
||||
<file>Icons/downarrow.png</file>
|
||||
<file>Icons/download.png</file>
|
||||
<file>Icons/time.png</file>
|
||||
<file>Icons/refresh.png</file>
|
||||
<file>Icons/edit_clear.png</file>
|
||||
<file>Icons/encrypted.png</file>
|
||||
<file>Icons/file.png</file>
|
||||
<file>Icons/filter.png</file>
|
||||
<file>Icons/folder.png</file>
|
||||
<file>Icons/gear.png</file>
|
||||
<file>Icons/skin/new.png</file>
|
||||
<file>Icons/skin/qb_question.png</file>
|
||||
<file>Icons/skin/play.png</file>
|
||||
<file>Icons/skin/connecting.png</file>
|
||||
<file>Icons/skin/settings.png</file>
|
||||
<file>Icons/skin/add.png</file>
|
||||
<file>Icons/skin/open.png</file>
|
||||
<file>Icons/skin/play_all.png</file>
|
||||
<file>Icons/skin/info.png</file>
|
||||
<file>Icons/skin/connected.png</file>
|
||||
<file>Icons/skin/search.png</file>
|
||||
<file>Icons/skin/url.png</file>
|
||||
<file>Icons/skin/firewalled.png</file>
|
||||
<file>Icons/skin/properties.png</file>
|
||||
<file>Icons/skin/preview.png</file>
|
||||
<file>Icons/skin/remove.png</file>
|
||||
<file>Icons/skin/delete_perm.png</file>
|
||||
<file>Icons/skin/pause_all.png</file>
|
||||
<file>Icons/skin/delete_all.png</file>
|
||||
<file>Icons/skin/stalled.png</file>
|
||||
<file>Icons/skin/downloading.png</file>
|
||||
<file>Icons/skin/delete.png</file>
|
||||
<file>Icons/skin/exit.png</file>
|
||||
<file>Icons/skin/seeding.png</file>
|
||||
<file>Icons/skin/paused.png</file>
|
||||
<file>Icons/skin/disconnected.png</file>
|
||||
<file>Icons/skin/pause.png</file>
|
||||
<file>Icons/flags/turkey.png</file>
|
||||
<file>Icons/flags/portugal.png</file>
|
||||
<file>Icons/flags/finland.png</file>
|
||||
<file>Icons/flags/ukraine.png</file>
|
||||
<file>Icons/flags/bulgaria.png</file>
|
||||
<file>Icons/flags/spain_catalunya.png</file>
|
||||
<file>Icons/gnome-shutdown.png</file>
|
||||
<file>Icons/home.png</file>
|
||||
<file>Icons/loading.png</file>
|
||||
<file>Icons/locale.png</file>
|
||||
<file>Icons/log.png</file>
|
||||
<file>Icons/mascot.png</file>
|
||||
<file>Icons/money.png</file>
|
||||
<file>Icons/newmsg.png</file>
|
||||
<file>Icons/password.png</file>
|
||||
<file>Icons/proxy.png</file>
|
||||
<file>Icons/qbittorrent16.png</file>
|
||||
<file>Icons/qbittorrent22.png</file>
|
||||
<file>Icons/qbittorrent32.png</file>
|
||||
<file>Icons/refresh.png</file>
|
||||
<file>Icons/rss16.png</file>
|
||||
<file>Icons/rss32.png</file>
|
||||
<file>Icons/sphere.png</file>
|
||||
<file>Icons/sphere2.png</file>
|
||||
<file>Icons/splash.png</file>
|
||||
<file>Icons/star.png</file>
|
||||
<file>Icons/style.png</file>
|
||||
<file>Icons/subscribe.png</file>
|
||||
<file>Icons/subscribe16.png</file>
|
||||
<file>Icons/systemtray.png</file>
|
||||
<file>Icons/time.png</file>
|
||||
<file>Icons/unavailable.png</file>
|
||||
<file>Icons/unsubscribe.png</file>
|
||||
<file>Icons/unsubscribe16.png</file>
|
||||
<file>Icons/uparrow.png</file>
|
||||
<file>Icons/url.png</file>
|
||||
<file>Icons/wizard.png</file>
|
||||
<file>Icons/flags/brazil.png</file>
|
||||
<file>Icons/flags/norway.png</file>
|
||||
<file>Icons/flags/slovakia.png</file>
|
||||
<file>Icons/flags/romania.png</file>
|
||||
<file>Icons/flags/united_kingdom.png</file>
|
||||
<file>Icons/flags/netherlands.png</file>
|
||||
<file>Icons/flags/bulgaria.png</file>
|
||||
<file>Icons/flags/china.png</file>
|
||||
<file>Icons/flags/denmark.png</file>
|
||||
<file>Icons/flags/hungary.png</file>
|
||||
<file>Icons/flags/greece.png</file>
|
||||
<file>Icons/flags/spain.png</file>
|
||||
<file>Icons/flags/italy.png</file>
|
||||
<file>Icons/flags/germany.png</file>
|
||||
<file>Icons/flags/russia.png</file>
|
||||
<file>Icons/flags/japan.png</file>
|
||||
<file>Icons/flags/south_korea.png</file>
|
||||
<file>Icons/flags/finland.png</file>
|
||||
<file>Icons/flags/france.png</file>
|
||||
<file>Icons/flags/sweden.png</file>
|
||||
<file>Icons/flags/germany.png</file>
|
||||
<file>Icons/flags/greece.png</file>
|
||||
<file>Icons/flags/hungary.png</file>
|
||||
<file>Icons/flags/italy.png</file>
|
||||
<file>Icons/flags/japan.png</file>
|
||||
<file>Icons/flags/netherlands.png</file>
|
||||
<file>Icons/flags/norway.png</file>
|
||||
<file>Icons/flags/poland.png</file>
|
||||
<file>Icons/flags/portugal.png</file>
|
||||
<file>Icons/flags/romania.png</file>
|
||||
<file>Icons/flags/russia.png</file>
|
||||
<file>Icons/flags/slovakia.png</file>
|
||||
<file>Icons/flags/south_korea.png</file>
|
||||
<file>Icons/flags/spain.png</file>
|
||||
<file>Icons/flags/spain_catalunya.png</file>
|
||||
<file>Icons/flags/sweden.png</file>
|
||||
<file>Icons/flags/turkey.png</file>
|
||||
<file>Icons/flags/ukraine.png</file>
|
||||
<file>Icons/flags/united_kingdom.png</file>
|
||||
<file>Icons/skin/add.png</file>
|
||||
<file>Icons/skin/connected.png</file>
|
||||
<file>Icons/skin/connecting.png</file>
|
||||
<file>Icons/skin/delete.png</file>
|
||||
<file>Icons/skin/delete_all.png</file>
|
||||
<file>Icons/skin/delete_perm.png</file>
|
||||
<file>Icons/skin/disconnected.png</file>
|
||||
<file>Icons/skin/downloading.png</file>
|
||||
<file>Icons/skin/exit.png</file>
|
||||
<file>Icons/skin/firewalled.png</file>
|
||||
<file>Icons/skin/info.png</file>
|
||||
<file>Icons/skin/new.png</file>
|
||||
<file>Icons/skin/open.png</file>
|
||||
<file>Icons/skin/pause.png</file>
|
||||
<file>Icons/skin/pause_all.png</file>
|
||||
<file>Icons/skin/paused.png</file>
|
||||
<file>Icons/skin/play.png</file>
|
||||
<file>Icons/skin/play_all.png</file>
|
||||
<file>Icons/skin/preview.png</file>
|
||||
<file>Icons/skin/properties.png</file>
|
||||
<file>Icons/skin/qb_question.png</file>
|
||||
<file>Icons/skin/remove.png</file>
|
||||
<file>Icons/skin/search.png</file>
|
||||
<file>Icons/skin/seeding.png</file>
|
||||
<file>Icons/skin/settings.png</file>
|
||||
<file>Icons/skin/stalled.png</file>
|
||||
<file>Icons/skin/url.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
36
src/lang.qrc
36
src/lang.qrc
@ -1,29 +1,29 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>lang/qbittorrent_uk.qm</file>
|
||||
<file>lang/qbittorrent_tr.qm</file>
|
||||
<file>lang/qbittorrent_nl.qm</file>
|
||||
<file>lang/qbittorrent_de.qm</file>
|
||||
<file>lang/qbittorrent_ru.qm</file>
|
||||
<file>lang/qbittorrent_fr.qm</file>
|
||||
<file>lang/qbittorrent_bg.qm</file>
|
||||
<file>lang/qbittorrent_ca.qm</file>
|
||||
<file>lang/qbittorrent_da.qm</file>
|
||||
<file>lang/qbittorrent_de.qm</file>
|
||||
<file>lang/qbittorrent_el.qm</file>
|
||||
<file>lang/qbittorrent_en.qm</file>
|
||||
<file>lang/qbittorrent_es.qm</file>
|
||||
<file>lang/qbittorrent_fi.qm</file>
|
||||
<file>lang/qbittorrent_pl.qm</file>
|
||||
<file>lang/qbittorrent_fr.qm</file>
|
||||
<file>lang/qbittorrent_hu.qm</file>
|
||||
<file>lang/qbittorrent_it.qm</file>
|
||||
<file>lang/qbittorrent_ja.qm</file>
|
||||
<file>lang/qbittorrent_ko.qm</file>
|
||||
<file>lang/qbittorrent_nb.qm</file>
|
||||
<file>lang/qbittorrent_sv.qm</file>
|
||||
<file>lang/qbittorrent_zh.qm</file>
|
||||
<file>lang/qbittorrent_el.qm</file>
|
||||
<file>lang/qbittorrent_sk.qm</file>
|
||||
<file>lang/qbittorrent_ca.qm</file>
|
||||
<file>lang/qbittorrent_hu.qm</file>
|
||||
<file>lang/qbittorrent_bg.qm</file>
|
||||
<file>lang/qbittorrent_it.qm</file>
|
||||
<file>lang/qbittorrent_nl.qm</file>
|
||||
<file>lang/qbittorrent_pl.qm</file>
|
||||
<file>lang/qbittorrent_pt.qm</file>
|
||||
<file>lang/qbittorrent_en.qm</file>
|
||||
<file>lang/qbittorrent_pt_BR.qm</file>
|
||||
<file>lang/qbittorrent_ja.qm</file>
|
||||
<file>lang/qbittorrent_ro.qm</file>
|
||||
<file>lang/qbittorrent_es.qm</file>
|
||||
<file>lang/qbittorrent_ru.qm</file>
|
||||
<file>lang/qbittorrent_sk.qm</file>
|
||||
<file>lang/qbittorrent_sv.qm</file>
|
||||
<file>lang/qbittorrent_tr.qm</file>
|
||||
<file>lang/qbittorrent_uk.qm</file>
|
||||
<file>lang/qbittorrent_zh.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -145,6 +145,7 @@ int main(int argc, char *argv[]){
|
||||
#endif
|
||||
QApplication app(argc, argv);
|
||||
useStyle(&app, settings.value("Preferences/General/Style", 0).toInt());
|
||||
app.setStyleSheet("QStatusBar::item { border: 0px solid black }; ");
|
||||
QSplashScreen *splash = new QSplashScreen(QPixmap(QString::fromUtf8(":/Icons/splash.png")));
|
||||
splash->show();
|
||||
// Open options file to read locale
|
||||
|
@ -1,16 +1,16 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>search_engine/novaprinter.py</file>
|
||||
<file>search_engine/nova2.py</file>
|
||||
<file>search_engine/novaprinter.py</file>
|
||||
<file>search_engine/engines/btjunkie.png</file>
|
||||
<file>search_engine/engines/btjunkie.py</file>
|
||||
<file>search_engine/engines/isohunt.png</file>
|
||||
<file>search_engine/engines/piratebay.png</file>
|
||||
<file>search_engine/engines/isohunt.py</file>
|
||||
<file>search_engine/engines/mininova.png</file>
|
||||
<file>search_engine/engines/mininova.py</file>
|
||||
<file>search_engine/engines/btjunkie.py</file>
|
||||
<file>search_engine/engines/piratebay.png</file>
|
||||
<file>search_engine/engines/piratebay.py</file>
|
||||
<file>search_engine/engines/isohunt.py</file>
|
||||
<file>search_engine/engines/torrentreactor.png</file>
|
||||
<file>search_engine/engines/btjunkie.png</file>
|
||||
<file>search_engine/engines/torrentreactor.py</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -11,9 +11,9 @@ TARGET = qbittorrent
|
||||
CONFIG += qt thread x11 network
|
||||
|
||||
# Update this VERSION for each release
|
||||
DEFINES += VERSION=\\\"v1.1.0beta3\\\"
|
||||
DEFINES += VERSION=\\\"v1.2.0alpha1\\\"
|
||||
DEFINES += VERSION_MAJOR=1
|
||||
DEFINES += VERSION_MINOR=1
|
||||
DEFINES += VERSION_MINOR=2
|
||||
DEFINES += VERSION_BUGFIX=0
|
||||
|
||||
QMAKE_LFLAGS += -Wl,--as-needed
|
||||
|
Loading…
x
Reference in New Issue
Block a user