Commit Graph

434 Commits

Author SHA1 Message Date
sledgehammer999
fb7ba92f69 Rename Chinese translation files. Closes #2936. 2015-06-17 23:06:08 +03:00
sledgehammer999
a2c48646ae New translation: Indonesian. 2015-06-14 23:43:21 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a Redesign main core classes. 2015-06-09 21:30:42 +03:00
Chocobo1
010bf80b90 Increase resource files compression level, the result is 1.9% smaller binary size 2015-05-08 15:33:40 +08:00
sledgehammer999
25afb8a338 New translation: Hindi(India). 2015-03-29 21:09:18 +03:00
sledgehammer999
2c90ded9aa Fix qmake files. 2015-02-23 20:00:48 +02:00
Vladimir Golovnev (Glassez)
ff9a281b72 Change project directory structure.
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
2015-02-05 19:10:26 +03:00
sledgehammer999
95c75bb8c8 Merge pull request #2374 from pmzqla/slider-bandwidth
Allow bandwidth values up to 65535 KiB/s
2015-01-28 00:49:16 +02:00
sledgehammer999
1504bbfe43 Logger base class. 2015-01-23 19:05:14 +02:00
Gabriele
737f6c5b4e Split speedlimitdlg.h into speedlimitdlg.cpp and speedlimitdlg.h 2015-01-11 01:22:28 +01:00
sledgehammer999
6c7eeb5c5b Merge pull request #2289 from glassez/fix_main
Improve program startup code.
2014-12-20 15:06:56 +02:00
Vladimir Golovnev (Glassez)
ede6715e72 Simplify main() logic.
Add Application class.
Put application initialization code to Application class.
Place some code into separate functions.
2014-12-15 17:24:31 +03:00
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
Ivan Sorokin
8bafc5e216 Merge StatusSortFilterProxyModel into TransferListSortModel
I thought merging all 3 sort-filter proxy models into one should
speedup dataChanged() signal. As turned out this is not the case. The
time difference is within inaccuracy range, so this doesn't affect
performance.

But I still think it is good to merge them into one proxy model as it
simplifies code.
2014-11-09 03:58:50 +03:00
Ivan Sorokin
cf2cb29826 Split transferlistsortmodel into .h and .cpp 2014-11-09 03:58:50 +03:00
Ivan Sorokin
da867fd022 Split trackerlogin into .h and .cpp 2014-11-05 03:10:39 +03:00
Ivan Sorokin
ed197a193d Split statusbar into .h and .cpp 2014-11-05 03:10:39 +03:00
Ivan Sorokin
16eb407453 Split src/torrentpersistentdata into .h and .cpp 2014-10-25 16:12:17 +04:00
Ivan Sorokin
e1b4c5534e Split src/transferlistfilterswidget into .h and .cpp 2014-10-25 16:12:17 +04:00
Ivan Sorokin
03b06fbf81 Split src/transferlistdelegate into .h and .cpp 2014-10-25 16:12:17 +04:00
sledgehammer999
baf9d21072 Show stalled downloads that are uploading under the 'Active' filter. Closes #1654." 2014-09-13 16:49:11 +03:00
sledgehammer999
71e5c9e17b Fix code style.
(thanks to glassez)
2014-05-04 15:31:27 +03:00
Vladimir Golovnev (Glassez)
ce3aac5f9d Fix functions and macros using to support both Qt4 and Qt5. 2014-05-02 00:00:03 +03:00
bob23450
6b26adfed2 Fix nox build. Closes #1368 2014-02-05 09:17:27 +01:00
sledgehammer999
a27867ae2b Bring dialog boxes in the front when qbt doesn't have focus.
Code inspired by glassez patch.
2014-02-01 14:02:37 +02:00
Nick Tiskov
f12b64d36a Add dialog to show statistics 2013-11-17 02:16:25 +04:00
sledgehammer999
2b9f79fafe Expose new translations and improve language code. 2013-10-20 20:29:32 +03:00
sledgehammer999
7712ca3efd Add the new translation to the build. 2013-10-12 16:52:42 +03:00
Nick Tiskov
e028fa9be0 Add auto resizable input dialog class 2013-07-27 14:14:00 +04:00
Nick Tiskov
2fa0f86df4 Use number-aware sort in transfer list 2013-07-08 18:03:19 +04:00
Nick Tiskov
314fc003b3 Use <OS_name>conf.pri file to control libz linkage 2013-03-11 00:04:40 +04:00
Christophe Dumez
e98fb61400 Link against lz 2013-03-10 20:29:46 +02:00
sledgehammer999
1f0d4ce871 Move Windows backtrace functionality to the windows specific *.pri files. 2013-03-03 00:52:51 +02:00
Nick Tiskov
5eaf4201ae Fixes: 1) Building fails w/o "CONFIG += strace_win" 2) mingw build
Commenting Mingw release flags section for now. Strace is not reliable with mingw (only calls to other libraries are resolved, internal calls show up as addresses).
2013-01-25 22:52:12 +04:00
Nick Tiskov
a9cffd8863 Support stacktrace on Windows
adds 'strace_win' CONFIG option
2013-01-19 22:07:20 +04:00
Nick Tiskov
f55ea07c1d Move QTPLUGIN qmake macro to src.pro. 2012-12-29 20:06:15 +04:00
Christophe Dumez
cf3f0a606d Add Hebrew translation 2012-09-15 10:05:50 +03:00
Christophe Dumez
0fdacf4d54 Use polymorphism to distinguish folder / file items in torrent content model
Step to address issue #24.
2012-08-26 18:10:32 +03:00
Christophe Dumez
0f291629cc Move FileSystem utility functions out of misc.h
Use new fs_utils.h instead.
2012-05-16 21:19:05 +03:00
Christophe Dumez
c502edf9e1 Brand new torrent addition dialog 2012-05-15 19:57:31 +03:00
Christophe Dumez
ce6f942ed3 Integrate Basque translation 2012-03-07 08:12:14 -08:00
Christophe Dumez
a5452d04ae Clean up and refactor torrent content model code 2012-02-21 21:54:24 +02:00
Christophe Dumez
3da9fec665 Add Belarusian translation by Mihas Varantsou 2012-01-31 19:25:57 +02:00
Christophe Dumez
26b8decb24 I18N: Add Georgian translation 2011-12-27 13:29:35 +02:00
Christophe Dumez
6606cf60af Fix execution log lines selection and copying 2011-09-24 15:39:27 +03:00
Christophe Dumez
c85cb8799e FEATURE: qBittorrent can update dynamic DNS services (DynDNS, no-ip) 2011-04-15 13:02:39 +00:00
Christophe Dumez
188a8ae4f5 Add MinGW-specific project file (sledgehammer999) 2011-03-23 17:02:26 +00:00
Christophe Dumez
0a0579bc8b Fix nox compilation 2011-03-10 19:42:12 +00:00
Christophe Dumez
82e41f36ee FEATURE: Added per-torrent ratio limiting (Christian Kandeler) 2011-03-07 19:26:44 +00:00
Christophe Dumez
c05e6ba580 Fix compilation error on Windows
Fix possible encoding problem on Windows (torrent creation tool)
Fix compilation with boost >= v1.46
2011-02-26 15:04:15 +00:00