Chocobo1
662e1e6134
Clean up code in TrackerListWidget class
5 years ago
Chocobo1
b55c6a360a
Implement tri-state checkbox action in menu
...
The new TriStateAction class is an improvement of the old one in the
sense that:
1. Have public method to set states.
2. Can connect to the usual Qt slots.
3. Draws checkbox at the correct offset (where QAction draws) in menu
and better handling of mouse clicking and keyboard navigating.
5 years ago
Chocobo1
8eabaf5eb2
Replace QList by QVector
5 years ago
Chocobo1
9e7f50517e
Add "Tracker entries" dialog
5 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
5 years ago
Chocobo1
ed2199b91c
Add "File pool size" option
5 years ago
Chocobo1
6286bc716c
Add "Socket backlog size" option
...
The default value in libtorrent is 5 which is too small nowadays.
The new default value 30 is chosen to be in line with
QTcpServer::maxPendingConnections().
5 years ago
Chocobo1
4eff268095
Replace obsoleted QFontMetrics::width()
...
Qt 5.13 marked QFontMetrics::width() obsolete.
5 years ago
Vladimir Golovnev (Glassez)
c7f3693ad1
Implement "Application instances manager"
5 years ago
Chocobo1
da2bfd2457
Replace QList by QVector
5 years ago
Chocobo1
5b9b5ce577
Remove buttons from search widget
...
These buttons are replaced by right-click menu actions.
5 years ago
Chocobo1
4f5302adf8
Add more copy field actions to search widget
...
Closes #10250 .
5 years ago
Chocobo1
26ff9150a2
Rename label in search widget
5 years ago
Chocobo1
af5af0ad3f
Remove unused lambda capture
5 years ago
Chocobo1
32a861fd1b
Add right click menu to SearchJobWidget
5 years ago
Chocobo1
cf89c2f5bf
Properly deallocate actions when menu closed
...
Fixup 3748b995ff
.
6 years ago
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
6 years ago
Chocobo1
04e7b3f6d2
Move copy actions under a submenu
6 years ago
Chocobo1
0b1b3c1f84
Use numeric_limits instead of constants from C
...
In C++, using numeric_limits is more idiomatic compared to using constants.
6 years ago
Chocobo1
75c80c3716
Remove limits of "Disk cache expiry interval" setting
6 years ago
Chocobo1
042cd4267f
Remove upper limit of "Disk cache" setting
6 years ago
Chocobo1
88c3ffbef8
Avoid creating unnecessary event loops
...
This is part 2.
6 years ago
Chocobo1
4880dc812c
Use appropriate type
6 years ago
Chocobo1
516c968373
Support year unit in userFriendlyDuration()
6 years ago
Chocobo1
1de4c2497c
Fix wrong "Time Active" value displayed
...
Closes #9612 .
6 years ago
Chocobo1
19f50a363d
Fix crash when removing phantom tags
...
Normally a tag is stored in both session and torrent's fastresume.
A phantom tag is a tag that is stored in fastresume but not in
session.
This crash can occur when user resets his config file and choose
to remove tag from torrent.
Closes #10569 .
6 years ago
Chocobo1
e83019bdfa
Set wheel event to accepted only if we handle it
6 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
6 years ago
Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
6 years ago
Chocobo1
440860c4a9
Properly remove empty leftover folders after rename
...
TorrentInfo::origFilePath will return the very original path from
.torrent file, not the most recent file path before the rename operation
and thus the code would not be working as we expected.
6 years ago
Chocobo1
89124bdcc8
Add WebAPI session timeout settings
...
Raise default timeout to 1 hour.
6 years ago
silverqx
3e97793ef1
Focus behavior row in Options dialog
6 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
6 years ago
Chocobo1
eabcae1018
Fix unable to rename folder on Windows
...
The bug occurs when the new path and old path only differ by letter case.
6 years ago
Chocobo1
9c747d3c6d
Move renameSelectedFile(BitTorrent::TorrentInfo &)
6 years ago
Chocobo1
62ccfd37b2
Move renameSelectedFile(BitTorrent::TorrentHandle *)
6 years ago
Chocobo1
e071c31a4e
Use Qt5 connect syntax
6 years ago
Chocobo1
dc9d0ed76f
Fix unable to control add torrent dialogs when opened simultaneously
6 years ago
Chocobo1
03fdc0e1c4
Remove redundant disconnect()
...
The dialog is going out-of-scope in these instance and the signal-slot connection will disconnect
automatically.
6 years ago
Chocobo1
014273d7ec
Drop support for "BC Link" format
...
Fixup 19d6de795c
.
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
Chocobo1
f52dcc08eb
Use native folder icon in content tree
...
This icon is used in content tree where all icons should be OS native
and not the ones from qbt.
6 years ago
Chocobo1
49df1cd3c7
Use less operations when building strings
6 years ago
Chocobo1
0d9fcb0c1d
Fix arrow too large on macOS
...
By changing to use natvie UI tree controls.
Closes #10709 .
6 years ago
Chocobo1
ccbb4576b6
Tweak visuals in Options dialog
6 years ago
Chocobo1
d7afc91975
Avoid combo boxes extending to the right in Options dialog
6 years ago
Prince Gupta
e283026a3c
Replace CheckBox with Arrow in transferlistfilterswidget.cpp
6 years ago
Chocobo1
1e029da5ad
Fix search icon placement when using RTL languages
6 years ago