thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
2019-02-16 18:54:17 +02:00
Vladimir Golovnev (Glassez)
5a86c4ac52
Close context menu when content model is reset
...
Closes #9522 .
2019-02-01 18:44:26 +03:00
Vladimir Golovnev (Glassez)
c631dbdaa1
Improve Properties widget
...
Drop redundant dependencies.
Refresh after BitTorrent session refreshing (instead of using timer).
2019-01-28 12:42:12 +03:00
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
2018-12-10 23:21:09 -05:00
thalieht
6b1d26d555
Convert all foreach() to range-based for()
2018-11-28 23:40:12 +02:00
Chocobo1
d866033a8e
Fix divide-by-zero crash
...
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.
Closes #9857 .
2018-11-18 13:50:23 +08:00
dzmat
2d0f0cb372
Allow to disable speed graphs
2018-10-08 23:51:02 +07:00
thalieht
ffc2193df9
Preselect name without extension when renaming files
...
And preselect the whole string for everything else.
2018-09-05 16:55:42 +03:00
Chocobo1
56766dc08b
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
2018-07-23 13:40:25 +08:00
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
2018-07-21 23:26:15 +08:00
thalieht
456270bbb1
Delete several unused #include
2018-07-03 08:38:32 +03:00
thalieht
eb508d67ef
Fix coding style
2018-07-03 08:38:32 +03:00
thalieht
6d4434ad66
Convert the names used in ui and c++ files from snake_case to camelCase
2018-07-03 08:38:32 +03:00
thalieht
d34ddb2e3c
Change file names and classes names to match them
2018-06-15 20:12:59 +03:00
thalieht
4022799881
Fix coding style
2018-06-12 07:17:05 +03:00
thalieht
586e1a0830
Move some connect() from propertieswidget to their corresponding widget
2018-05-09 16:08:22 +03:00
thalieht
6b4455e13d
Use qt5 connect() syntax
2018-05-09 16:08:22 +03:00
Vladimir Golovnev
3a0e5e51df
Merge pull request #8761 from thalieht/nullptr
...
Replace the zeroing of pointers with nullptr
2018-05-08 17:10:37 +03:00
thalieht
3e4099fe5b
Replace the zeroing of pointers with nullptr
2018-04-15 13:06:31 +03:00
Chocobo1
898239a42e
Fix renaming completed files
...
Check whether the file is already downloaded before appending QB_EXT to
filename.
Closes #8039 .
2018-04-12 14:13:59 +08:00
Chocobo1
a468c84b30
Fix warnings from unused variables
2018-03-12 14:36:28 +08:00
Chocobo1
08a2439f46
Check directly if container is empty or not
2018-03-11 23:12:16 +08:00
Chocobo1
0457fd260e
Avoid temporary QString allocations
...
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
2018-03-07 20:06:00 +08:00
Chocobo1
c2c0dd2717
Fix column size too narrow on resize
...
Instead of giving a value, just resize to the content size
2017-12-24 21:54:56 +08:00
Chocobo1
27cf98a962
Resize dialog size on high DPI monitors
2017-12-24 21:54:56 +08:00
Chocobo1
aaaa67050c
Fix gui issues on high DPI monitor
...
Fix LineEdit widget size issues
Up-scale the icons on statusbar
Up-scale the icons in options dialog. Closes #7729 .
Fix small icons in cookie manager
Fix progress bar height
Fix small icons in confirm delete dialog
Fix small icons in options dialog
Fix small images in about dialog
2017-12-24 21:47:46 +08:00
vit9696
ed154d35ba
Fix Finder reveal in preview and torrent contents
2017-12-17 02:16:36 +03:00
Mike Tzou
74d281526b
Merge pull request #7647 from thalieht/style
...
Coding style for many files
2017-11-30 17:09:18 +08:00
Chocobo1
27090f0cfb
Remove superfluous QString::fromUtf8()
2017-11-21 22:48:00 +08:00
thalieht
ae1634623e
Coding style for many files
2017-11-20 23:29:59 +02:00
sledgehammer999
7b5730723d
Fix file list expansion on singlefile torrent with folder.
2017-09-06 01:11:49 +03:00
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-08-13 16:14:57 +03:00
Mike Tzou
92decf83b8
Merge pull request #6330 from Chocobo1/rename
...
Fix renaming files is not case sensitive on Windows platform
2017-05-24 13:12:30 +08:00
Mike Tzou
ce36a7ca62
Merge pull request #6498 from thalieht/trackerList
...
Trackerlist: Add toggle columns menu
2017-05-19 15:06:42 +08:00
Chocobo1
08a6c75227
Refactors
...
Rename variables
Refactor to return early instead of introducing a scope
Revise dialog title & messages
Refactor code logic
2017-05-17 21:28:46 +08:00
Chocobo1
b18bf48014
Improve error message reported to user
...
Should not contain "file" or "folder", because it's not clear which type is selected.
2017-05-13 16:16:59 +08:00
Chocobo1
51e3e5438b
Code formatting
...
Refactor
2017-05-13 16:16:59 +08:00
Chocobo1
0939875ca8
Fix renaming files is not case sensitive on Windows platform. Closes #5128 .
2017-05-13 16:16:59 +08:00
Eugene Shalygin
5c10a24923
Add availability column to torrent properties window
2017-05-12 17:15:00 +02:00
thalieht
e00be240b0
PropertiesWidget: Change 0 to nullptr
2017-05-11 16:53:31 +03:00
thalieht
b360c5453b
PropertiesWidget: Some coding style
2017-05-11 16:53:31 +03:00
Vladimir Golovnev (Glassez)
335443e6a0
Drop QThread::msleep wrapper
2017-04-26 10:44:47 +03:00
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 16:31:19 +02:00
Vladimir Golovnev (Glassez)
d413bc65ef
Improve strip torrent root folder
...
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
2017-04-15 10:11:53 +03:00
sledgehammer999
4b2d8a7941
Setting for creating subfolder on multifile torrents. Closes #588 .
2017-04-15 10:11:53 +03:00
Chocobo1
87384ca2a2
Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped()
2017-03-07 00:03:53 +08:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
Chocobo1
6ca3e4f094
Add Utils::String::toHtmlEscaped
2017-03-03 21:28:30 +02:00
thalieht
2bb2d3fc89
change all existing shortcuts to use Qt::Keys
2017-01-28 19:43:16 +02:00
Anton Lashkov
36901295b2
Simplify if
statement
2016-11-04 21:44:00 +04:00
Chocobo1
85add9a5c8
Use "Standard Shortcuts" defined by Qt whenever possible.
2016-08-10 23:09:15 +08:00
Eugene Shalygin
b3378d4599
Show files in tooltips for pieces progress bars
...
In addition to the current tooltip, which shows color legend, if user
holds the Shift key during hovering we show another tooltip which
contains a table of contents for the piece under the moue cursor. The
table lists file sizes and names. If the cursor points to a part of a
file which spans several pieces, those pieces are highlighted.
2016-06-02 10:30:28 +02:00
Eugene Shalygin
f9c2bd3502
Follow project coding style. Issue #2192 .
2016-05-31 19:42:08 +02:00
Vladimir Golovnev (Glassez)
1760beed17
Fix MainWindow coding style (Issue #2192 )
2016-04-11 19:15:50 +03:00
sledgehammer999
2bb76bf781
Don't display warning when folder named stayed the same.
...
Copy some code from AddNewTorrent dialog and beautify a bit.
Closes #4970 .
2016-03-18 01:09:05 +02:00
Eugene Shalygin
7080d3da98
Fix typos in speed label text
...
Qt's tr() ate 'true' parameter, which was supposed to be for
friendlyUnit()
2016-03-01 23:49:33 +01:00
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
2015-12-06 14:27:00 +03:00
sledgehammer999
17ac4b90be
Use simpler DEFINE for detecting Qt5 so moc will work too.
2015-12-05 22:20:49 +02:00
sledgehammer999
f4ef0633c9
Merge pull request #4170 from vlakoff/filtering-v3
...
Support wildcards for filtering torrent list and torrent content
2015-11-29 18:13:58 -06:00
sledgehammer999
91c3de4620
Merge pull request #4145 from Chocobo1/misc_fix
...
Misc fixes
2015-11-29 18:13:39 -06:00
sledgehammer999
797861a9c0
Merge pull request #4059 from Chocobo1/prop_cleanup
...
Properties widget cleanup
2015-11-29 18:13:05 -06:00
vlakoff
692cac1dc5
Support wildcards for filtering torrent list and torrent content
2015-11-26 19:02:43 +01:00
Vladimir Golovnev (Glassez)
67e90d8d2a
Make setSequentialDownload/setFirstLastPiecePriority independent.
2015-11-26 15:08:01 +03:00
Chocobo1
067a8bf108
Fix -1 is displayed instead of C_INFINITY symbol
2015-11-20 12:05:06 +08:00
Chocobo1
a6d2f5186f
Avoid falling through the switch case
2015-11-09 16:10:04 +08:00
Chocobo1
af90eadf71
Cleanup "Content" page layout
...
Limit lineEdit maximum size
2015-11-07 15:51:29 +08:00
Chocobo1
ff67d29573
Cleanup "Trackers" page layout
2015-11-05 18:37:29 +08:00
Vladimir Golovnev (Glassez)
501ab07024
Fix TorrentHandle path methods. Closes #3847 .
2015-11-01 17:09:09 +03:00
sledgehammer999
c75725e2d8
Fix printing of avg download speed in General button. Closes #4013 .
2015-10-28 01:47:01 +02:00
Chocobo1
7e6dfa759c
Replace horizontal line with border
2015-10-22 17:34:22 +08:00
Chocobo1
c6a6f85a5e
Use theme color for background in PropertiesWidget
2015-10-22 17:34:22 +08:00
Chocobo1
f530bb7537
Fix availability label & progress label clipped on high DPI displays, closes #3237 .
2015-10-12 15:34:22 +08:00
Chocobo1
b5adbaef78
Fix availability bar & progress bar height being too small on high DPI displays
2015-10-12 15:12:42 +08:00
sledgehammer999
581d544f61
Fix typos. Make ìTP
untranslatable. Use American variation of words. Closes #3654 .
2015-09-04 23:14:02 +03:00
Gabriele
5cc5552d9b
Use infinity symbol rather than -1 for nb_connections
2015-09-02 23:34:17 +02:00
Gabriele
42c74f9553
Avoid concatenation when dealing with translatable strings
...
Concatenation could be problematic with RTL languages.
2015-09-02 23:34:17 +02:00
sledgehammer999
a0da4a844c
Merge pull request #3625 from Chocobo1/native_path
...
Use native path separators
2015-08-30 07:07:58 -05:00
Gabriele
e728710430
Select the file of single file torrents when opening destination folder
...
Also, add the support for Nautilus (Gnome 3), Caja and Nemo.
2015-08-29 16:09:22 +02:00
Chocobo1
cf3a87ed55
Use native path separators, fixup of 030dd9e
, 3baec1c
.
2015-08-29 14:17:21 +08:00
sledgehammer999
a56c21551d
Merge pull request #3458 from Chocobo1/path_fix
...
Use `rootPath()` in save path field
2015-07-29 23:24:51 +03:00
sledgehammer999
4f2d74f793
Merge pull request #3374 from ngosang/webui_info
...
[Web UI] Add information in General tab
2015-07-28 03:03:45 +03:00
ngosang
69812bbf18
Converts the string "Seeded for" to lowercase
2015-07-26 14:33:11 +02:00
Chocobo1
030dd9eed8
Use rootPath()
in save path field
2015-07-19 18:17:28 +08:00
Anton Lashkov
7b736b6ae3
Add speedwidget based on QGraphicsView
2015-07-18 00:54:36 +04:00
sledgehammer999
2db4a661ee
Merge pull request #3251 from Chocobo1/unicode_fix
...
Fix MSVC2013 complains on Unicode characters
2015-06-28 16:12:47 +03:00
Chocobo1
e739e81205
Fix compilation on MSVC2013 by moving unicode strings to
...
"unicodestrings.h". Closes #3059 .
2015-06-28 19:18:57 +08:00
Chocobo1
776d91f663
Add connectionsLimit() back
2015-06-28 18:15:17 +08:00
Chocobo1
50b3a24371
Change Comment field from QTextBrowser to QLabel
2015-06-21 13:52:11 +08:00
Chocobo1
6bc42cfd1a
Add functionality to new data fields, cleanups
2015-06-20 20:42:44 +08:00
dartraiden
8ac83cfd42
Fixed typos, spelling correction
2015-06-14 10:55:46 +03:00
ngosang
e01a61d816
changes in typography
2015-06-13 20:04:20 +02:00
sledgehammer999
3aa0a845cd
Merge pull request #2892 from glassez/bittorrent
...
Core classes redesign (Issue #2433 ).
2015-06-11 23:54:05 +03:00
Vladimir Golovnev (Glassez)
7d73bddfd2
Split some "header only" sources.
2015-06-10 10:58:20 +03:00
Vladimir Golovnev (Glassez)
191cdc2849
Move utilities to core/utils folder.
...
Also move the names to Utils namespace.
2015-06-09 21:30:56 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
2015-06-09 21:30:42 +03:00
Vladimir Golovnev (Glassez)
d32bb52390
Don't add core to INCLUDEPATH.
2015-06-03 22:11:43 +03:00
Gabriele
41fa59f164
Allow to Open files from the properties pane by pressing "Enter"
...
Allow to open only one file at a time and ignore keypresses when
multiple items are selected.
2015-04-16 18:50:11 +02:00
sledgehammer999
96d7bfb4ad
Update the UI when trackers or Url seeds are added either via the WebUI or via merging duplicate torrents.
2015-03-28 16:53:36 +02:00
sledgehammer999
f0d5ce4b98
Implement tracker list in the side panel. Closes #170 .
2015-03-28 16:53:19 +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