1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-12 07:48:04 +00:00
Some work about adaptive color scheme for Web UI (PR #19901) http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
Go to file
Ivan Sorokin 97d08a5b2f Implement sane behavior of space key in torrent content list. Closes #140.
Definitions:

Selection in QTreeView consist of two things:

   currentIndex -- is a (dotted) cell where user clicked last time. Note
                   that it is a cell
   selectedIndexes -- is a set of cells (blue) of current selection.

Checkboxes in torrent content lists are belong to COL_NAME column.

Problem:

The problem is that spacebar toggled checkbox only in currentIndex
index. This has two consequences:

  1. It is impossible to toggle checkboxes on multiple rows
     simultaneously.
  2. If currentIndex is not in COL_NAME column a space key doesn't work
     at all. This problem is amplifyed by the fact that SelectionBehavior
     is set to SelectRows. So visually it is impossible to tell which
     column does it belong to. For end user it looks like "space doesn't
     work sometimes".

This patch addresses the problem by implementing TorrentContentTreeView
derived from QTreeView and overridding keyPressEvent(QKeyEvent*).

The code of TorrentContentTreeView::keyPressEvent is written under
inspiration from QAbstractItemView::keyPressEvent and
QItemDelegate::editorEvent.
2014-11-16 17:19:04 +03:00
.tx Update transifex config file. 2013-10-20 20:29:33 +03:00
build-aux Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
doc Optional daemon-mode for qbittorrent-nox 2012-08-18 17:33:51 +02:00
m4 Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
src Implement sane behavior of space key in torrent content list. Closes #140. 2014-11-16 17:19:04 +03:00
.gitignore Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
.travis.yml Temporarily disable Travis CI tests against libtorrent 1.0.x until #1878 is resolved. 2014-08-26 01:16:21 +03:00
AUTHORS Update Translator's info. 2013-10-27 16:07:02 +02:00
bootstrap.sh Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
Changelog Updated Changelog. 2014-05-04 15:41:47 +03:00
conf.pri.in Migrate the build system to autotools. 2014-05-04 15:28:58 +03:00
configure Support out of srcdir builds. 2014-05-08 00:57:11 +03:00
configure.ac Support out of srcdir builds. 2014-05-08 00:57:11 +03:00
COPYING Remove unprintable 0x0C from license text 2013-02-10 22:46:03 +04:00
INSTALL RSS code clean up 2012-02-20 20:49:31 +02:00
install.os2 OS/2 fixes by Silvan Scherrer 2012-09-20 20:45:53 +03:00
macxconf.pri Use <OS_name>conf.pri file to control libz linkage 2013-03-11 00:04:40 +04:00
NEWS - Moved everything to trunk to create a stable branch 2006-09-30 16:02:39 +00:00
os2conf.pri Use <OS_name>conf.pri file to control libz linkage 2013-03-11 00:04:40 +04:00
qbittorrent.pro Create translations at configure time 2013-01-16 00:21:41 +04:00
qbittorrent.qc Get rid of libnotify dependency (Use DBus instead) 2011-04-02 08:54:28 +00:00
qm_gen.pri Create translations at configure time 2013-01-16 00:21:41 +04:00
README.md Update README file. 2014-05-04 16:28:29 +03:00
README.os2 OS/2 Fixes from Silvan Scherrer 2012-09-06 15:40:50 +03:00
TODO - Updated TODO 2009-07-15 11:02:56 +00:00
unixconf.pri Add patches for support Haiku (https://www.haiku-os.org) 2014-09-04 13:23:16 +06:00
version.pri Correct version.pri 2013-10-20 13:25:21 +03:00
winconf-mingw.pri Fix linkers errors with AllowSetForegroundWindow function 2013-09-27 14:07:47 +04:00
winconf-msvc.pri Fix linkers errors with AllowSetForegroundWindow function 2013-09-27 14:07:47 +04:00
winconf.pri Don't force stacktrace with mingw 2013-07-28 20:31:01 +04:00

qBittorrent - A BitTorrent client in Qt

Build Status


###Description: qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.

It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features.

This product includes GeoLite data created by MaxMind, available from http://maxmind.com/

Installation:

For installation, follow the instructions from INSTALL file, but simple:

./configure
make && make install
qbittorrent

will install and execute qBittorrent hopefully without any problem.

For more information please visit: http://www.qbittorrent.org

or our wiki here: http://wiki.qbittorrent.org

Please report any bug (or feature request) to: http://bugs.qbittorrent.org

You can also meet me (sledgehammer_999) on IRC: #qbittorrent on irc.freenode.net


sledgehammer999 sledgehammer999@qbittorrent.org