mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Updated Changelog
Fix cursor over status bar buttons
This commit is contained in:
parent
34cb5efb72
commit
ea1a54c5f1
@ -6,6 +6,7 @@
|
|||||||
- FEATURE: Added a transfer list column to display the current tracker
|
- FEATURE: Added a transfer list column to display the current tracker
|
||||||
- FEATURE: Remember the last trackers used in the torrent creation tool
|
- FEATURE: Remember the last trackers used in the torrent creation tool
|
||||||
- FEATURE: The optimal piece size is now automatically computed in the torrent creation tool
|
- FEATURE: The optimal piece size is now automatically computed in the torrent creation tool
|
||||||
|
- FEATURE: Bring up the connection settings when clicking on the connection status icon
|
||||||
- COSMETIC: Replaced message box by on-screen notification for download errors
|
- COSMETIC: Replaced message box by on-screen notification for download errors
|
||||||
- COSMETIC: Improved the torrent creation tool appearance
|
- COSMETIC: Improved the torrent creation tool appearance
|
||||||
|
|
||||||
|
@ -58,7 +58,9 @@ public:
|
|||||||
container->setLayout(layout);
|
container->setLayout(layout);
|
||||||
connecStatusLblIcon = new QPushButton();
|
connecStatusLblIcon = new QPushButton();
|
||||||
connecStatusLblIcon->setFlat(true);
|
connecStatusLblIcon->setFlat(true);
|
||||||
|
connecStatusLblIcon->setFocusPolicy(Qt::NoFocus);
|
||||||
connecStatusLblIcon->setFixedWidth(22);
|
connecStatusLblIcon->setFixedWidth(22);
|
||||||
|
connecStatusLblIcon->setCursor(Qt::PointingHandCursor);
|
||||||
connecStatusLblIcon->setIcon(QIcon(":/Icons/skin/firewalled.png"));
|
connecStatusLblIcon->setIcon(QIcon(":/Icons/skin/firewalled.png"));
|
||||||
connecStatusLblIcon->setToolTip(QString::fromUtf8("<b>")+tr("Connection status:")+QString::fromUtf8("</b><br>")+QString::fromUtf8("<i>")+tr("No direct connections. This may indicate network configuration problems.")+QString::fromUtf8("</i>"));
|
connecStatusLblIcon->setToolTip(QString::fromUtf8("<b>")+tr("Connection status:")+QString::fromUtf8("</b><br>")+QString::fromUtf8("<i>")+tr("No direct connections. This may indicate network configuration problems.")+QString::fromUtf8("</i>"));
|
||||||
dlSpeedLbl = new QPushButton(tr("D: %1 B/s - T: %2", "Download speed: x B/s - Transferred: x MiB").arg("0.0").arg(misc::friendlyUnit(0)));
|
dlSpeedLbl = new QPushButton(tr("D: %1 B/s - T: %2", "Download speed: x B/s - Transferred: x MiB").arg("0.0").arg(misc::friendlyUnit(0)));
|
||||||
@ -66,11 +68,13 @@ public:
|
|||||||
connect(dlSpeedLbl, SIGNAL(clicked()), this, SLOT(capDownloadSpeed()));
|
connect(dlSpeedLbl, SIGNAL(clicked()), this, SLOT(capDownloadSpeed()));
|
||||||
dlSpeedLbl->setFlat(true);
|
dlSpeedLbl->setFlat(true);
|
||||||
dlSpeedLbl->setFocusPolicy(Qt::NoFocus);
|
dlSpeedLbl->setFocusPolicy(Qt::NoFocus);
|
||||||
|
dlSpeedLbl->setCursor(Qt::PointingHandCursor);
|
||||||
|
|
||||||
altSpeedsBtn = new QPushButton();
|
altSpeedsBtn = new QPushButton();
|
||||||
altSpeedsBtn->setFixedWidth(22);
|
altSpeedsBtn->setFixedWidth(22);
|
||||||
altSpeedsBtn->setFlat(true);
|
altSpeedsBtn->setFlat(true);
|
||||||
altSpeedsBtn->setFocusPolicy(Qt::NoFocus);
|
altSpeedsBtn->setFocusPolicy(Qt::NoFocus);
|
||||||
|
altSpeedsBtn->setCursor(Qt::PointingHandCursor);
|
||||||
updateAltSpeedsBtn(Preferences::isAltBandwidthEnabled());
|
updateAltSpeedsBtn(Preferences::isAltBandwidthEnabled());
|
||||||
|
|
||||||
connect(altSpeedsBtn, SIGNAL(clicked()), this, SLOT(toggleAlternativeSpeeds()));
|
connect(altSpeedsBtn, SIGNAL(clicked()), this, SLOT(toggleAlternativeSpeeds()));
|
||||||
@ -80,6 +84,7 @@ public:
|
|||||||
connect(upSpeedLbl, SIGNAL(clicked()), this, SLOT(capUploadSpeed()));
|
connect(upSpeedLbl, SIGNAL(clicked()), this, SLOT(capUploadSpeed()));
|
||||||
upSpeedLbl->setFlat(true);
|
upSpeedLbl->setFlat(true);
|
||||||
upSpeedLbl->setFocusPolicy(Qt::NoFocus);
|
upSpeedLbl->setFocusPolicy(Qt::NoFocus);
|
||||||
|
upSpeedLbl->setCursor(Qt::PointingHandCursor);
|
||||||
DHTLbl = new QLabel(tr("DHT: %1 nodes").arg(0));
|
DHTLbl = new QLabel(tr("DHT: %1 nodes").arg(0));
|
||||||
DHTLbl->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
DHTLbl->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
||||||
statusSep1 = new QFrame();
|
statusSep1 = new QFrame();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user