1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/qt
Charles Kerr aa9b752cd9
refactor: don't load the same stock more than once (#1041)
* refactor: don't load the same stock more than once

Some actions share an icon -- for example, "start all", "start now", and
"start" each use "media-playback-start". When this happens, get the icon
once and cache it to avoid hitting the disk more often than necessary.

In addition, the statusbar's network transfer icon was being reloaded in
a periodic upkeep timer, reloading with QIcon::fromTheme each time. Only
give icons are needed, so load them once and cache them.

* refactor: better lookup of torrent mime-type icons

filename-to-mime-type and mime-type-to-icon lookups are both expensive,
so do a better job of detecting top-level folders and caching the icons
based on file suffixes.

This also lets find a good mime icon even if the torrent doesn't have
its 'files' property populated yet from RPC.
2019-11-06 15:09:04 -06:00
..
icons lossless compression of images saved 72KB 2017-06-03 23:52:34 +01:00
translations Add new translations from Transifex (95% and higher) 2019-03-06 03:14:15 +03:00
AboutDialog.cc Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
AboutDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
AboutDialog.ui Switch to HTTPS links, adjust wiki links where possible 2018-01-16 01:12:59 +03:00
AddData.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
AddData.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
Application.cc Use explicit boolean conversions 2019-07-14 16:25:07 +03:00
Application.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
application.qrc (qt) #4917 'request for 256x256 icon for transmission-qt': patch by krab 2013-01-22 19:00:40 +00:00
BaseDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
CMakeLists.txt Actually add new languages to the build 2019-03-13 23:35:16 +03:00
ColumnResizer.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
ColumnResizer.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
ComInteropHelper.cc Use nullptr consistencty instead of 0 and NULL (Qt client) 2017-04-30 19:26:01 +03:00
ComInteropHelper.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
config.pri.in Replace tabs with spaces; remove trailing spaces 2015-01-02 11:15:31 +00:00
CustomVariantType.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
DBusInteropHelper.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
DBusInteropHelper.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
DetailsDialog.cc Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
DetailsDialog.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
DetailsDialog.ui Set idle seed limit range to 1..40320 (4 weeks tops) in all clients 2017-07-05 21:07:16 +03:00
FaviconCache.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
FaviconCache.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FileTreeDelegate.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
FileTreeDelegate.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FileTreeItem.cc Show file names in tooltips in Torrent Properties 2017-09-30 20:26:49 +03:00
FileTreeItem.h Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
FileTreeModel.cc Qt: Fix assert with one-letter root folder names 2018-01-30 23:44:12 +02:00
FileTreeModel.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FileTreeView.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FileTreeView.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FilterBar.cc Update Uncrustify config to 0.69 2019-07-15 02:30:41 +03:00
FilterBar.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FilterBarComboBox.cc Use nullptr consistencty instead of 0 and NULL (Qt client) 2017-04-30 19:26:01 +03:00
FilterBarComboBox.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FilterBarComboBoxDelegate.cc Fix a number of other style inconsistencies met along the way (part 2) 2017-05-01 18:47:49 +03:00
FilterBarComboBoxDelegate.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
Filters.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
Filters.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
Formatter.cc Avoid declaring multiple variables on the same line 2017-05-01 18:46:41 +03:00
Formatter.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
FreeSpaceLabel.cc Use nullptr consistencty instead of 0 and NULL (Qt client) 2017-04-30 19:26:01 +03:00
FreeSpaceLabel.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
IconToolButton.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
IconToolButton.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
InteropHelper.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
InteropHelper.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
InteropObject.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
InteropObject.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
LicenseDialog.cc Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
LicenseDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
LicenseDialog.ui Updated copyright strings to 2019 2019-01-11 19:36:19 +01:00
MainWindow.cc refactor: don't load the same stock more than once (#1041) 2019-11-06 15:09:04 -06:00
MainWindow.h refactor: don't load the same stock more than once (#1041) 2019-11-06 15:09:04 -06:00
MainWindow.ui Added queue up/down hotkeys to the Qt interface. 2017-05-01 18:57:06 +03:00
MakeDialog.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
MakeDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
MakeDialog.ui Use PascalCase for Qt client filenames 2015-06-10 21:27:11 +00:00
MakeProgressDialog.ui Use PascalCase for Qt client filenames 2015-06-10 21:27:11 +00:00
my-valgrind.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
OptionsDialog.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
OptionsDialog.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
OptionsDialog.ui Use PascalCase for Qt client filenames 2015-06-10 21:27:11 +00:00
PathButton.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
PathButton.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
Prefs.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
Prefs.h Use nullptr consistencty instead of 0 and NULL (Qt client) 2017-04-30 19:26:01 +03:00
PrefsDialog.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
PrefsDialog.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
PrefsDialog.ui Set idle seed limit range to 1..40320 (4 weeks tops) in all clients 2017-07-05 21:07:16 +03:00
qtr.ico
qtr.pro Don't force debug configuration in qmake project 2017-07-21 01:39:55 +03:00
qtr.rc
README.txt Merge branch '2.9x' 2018-01-25 03:07:52 +03:00
RelocateDialog.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
RelocateDialog.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
RelocateDialog.ui Use PascalCase for Qt client filenames 2015-06-10 21:27:11 +00:00
RpcClient.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
RpcClient.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
RpcQueue.cc Revert dd538539aa, fix RPC queue processing 2017-07-15 08:46:31 +03:00
RpcQueue.h fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
Session.cc fix: gcc warnings in libtransmission/ and utils/ (#843) 2019-11-06 11:27:03 -06:00
Session.h Code style change leftovers 2017-04-21 10:40:57 +03:00
SessionDialog.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
SessionDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
SessionDialog.ui Fix session dialog not showing up after first close 2015-09-01 20:39:34 +00:00
Speed.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
SqueezeLabel.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
SqueezeLabel.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
StatsDialog.cc Use nullptr consistencty instead of 0 and NULL (Qt client) 2017-04-30 19:26:01 +03:00
StatsDialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
StatsDialog.ui Create dialogs on demand, don't keep them ready all the time 2015-07-30 06:18:02 +00:00
StyleHelper.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
StyleHelper.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
Torrent.cc refactor: don't load the same stock more than once (#1041) 2019-11-06 15:09:04 -06:00
Torrent.h Don't return NaN from Torrent::percentComplete (Qt client) 2017-05-01 12:55:52 +03:00
TorrentDelegate.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
TorrentDelegate.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TorrentDelegateMin.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
TorrentDelegateMin.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TorrentFilter.cc Fix some issues reported by Coverity 2017-05-20 23:31:56 +03:00
TorrentFilter.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TorrentModel.cc Avoid declaring multiple variables on the same line 2017-05-01 18:46:41 +03:00
TorrentModel.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TorrentView.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TorrentView.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TrackerDelegate.cc Update to Uncrustify 0.68.1 2019-02-15 09:21:48 +03:00
TrackerDelegate.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TrackerModel.cc Make conditional expressions explicitly boolean 2017-04-30 19:26:01 +03:00
TrackerModel.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TrackerModelFilter.cc Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
TrackerModelFilter.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
transmission-qt.1 Merge branch '2.9x' 2018-01-25 03:07:52 +03:00
transmission-qt.desktop Correct Qt client desktop file name and add keywords 2017-02-04 15:03:49 +01:00
transmission-qt.idl Add ActiveQt-based COM interop helper 2015-12-16 20:01:03 +00:00
transmission-qt.tlb.rc Add ActiveQt-based COM interop helper 2015-12-16 20:01:03 +00:00
transmission_en.qm
Utils.cc refactor: don't load the same stock more than once (#1041) 2019-11-06 15:09:04 -06:00
Utils.h refactor: don't load the same stock more than once (#1041) 2019-11-06 15:09:04 -06:00
WatchDir.cc Fix a number of other style inconsistencies met along the way (part 2) 2017-05-01 18:47:49 +03:00
WatchDir.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00

VOLUNTEERS WANTED

   - Qt developers and translators are needed
   - If you find a bug, please report it at https://github.com/transmission/transmission

ABOUT TRANSMISSION-QT

   Transmission-qt is a GUI for Transmission loosely based on the GTK+ client.

   This is the only Transmission client that can act as its own self-contained
   session (as the GTK+ and Mac clients do), and can also connect to a remote
   session (as the web client and transmission-remote terminal client do).

   Use Case 1: If you like to run BitTorrent for awhile from your desktop,
   then the Mac, GTK+, and Qt clients are a good match.

   Use Case 2: If you like to leave BitTorrent running nonstop on your
   computer or router, and want to control it from your desktop or
   from a remote site, then transmission-remote and the web and Qt clients
   are a good match.

   To use the Qt client as a remote, in the menu go to Edit > Change Session

   The Qt client is also the most likely to wind up running on Windows,
   though that's not a high priority at the moment...

BUILDING ON WINDOWS

   rb07 has a writeup of this on the Transmission wiki:
   https://trac.transmissionbt.com/wiki/BuildingTransmissionQtWindows

BUILDING ON OS X

   nnc has a writeup of this on the Transmission wiki:
   https://trac.transmissionbt.com/wiki/BuildingTransmissionQtMac

BUILDING ON UNIX

   1. Prerequisites: Qt >= 4.8 and its development packages
   2. Build Transmission as normal
   3. In the qt/ directory, type "qmake qtr.pro" (or "qmake-qt4 qtr.pro", or "qmake-qt5 qtr.pro")
   4. In the qt/ directory, type "make"
   5. In the qt/ directory, as root, type "INSTALL_ROOT=/usr make install"
      (Feel free to replace /usr with /usr/local or /opt or whatever)