Chocobo1
be2cdca1e9
Draw progress bar in disabled style
4 years ago
Chocobo1
a78929dadf
Simplify progress bar painting
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
jagannatharjun
49d5591f48
Use ProgressBarDelegate for drawing progressbar in TransferListView
4 years ago
jagannatharjun
332dd027af
Use global style options for drawing progress in TransferList
4 years ago
Vladimir Golovnev (Glassez)
15f2a3b564
Use QStyledItemDelegate instead of QItemDelegate
5 years ago
Vladimir Golovnev (Glassez)
766cfb67df
Fix transfer list architecture
...
Model returns string for DisplayRole.
Text alignment is set by Model (using TextAlignmentRole).
Delegate performs custom painting only where necessary
(i.e. for Progress bar).
5 years ago
Chocobo1
b6050463f4
Show torrent error message in transfer list
5 years ago
Chocobo1
061219d0a2
Simplify code
5 years ago
Chocobo1
60faba60ea
Add availability column
...
Closes #1632 .
5 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
5 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
e288de7ec1
Forward declare as much as possible
6 years ago
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10
6 years ago
Nick Korotysh
bd1856594b
Draw progress bar in Fusion style on macOS systems
...
Qt has a bug QTBUG-72558, which leads to incorrect progress bar
position, when drawing it in delegate.
Also, since OS X 10.10 Yosemite macOS default style was changed,
and progress bars became very tiny and without text (percentage).
These two cases make qBittorrent look pretty awful, but drawing
progress bar in Fusion style solves both issues.
6 years ago
thalieht
94613c2fa2
Fix some warnings
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
sledgehammer999
565ffa7d1e
Add 'Moving' state for torrents being relocated/moved
...
This is another indication to the user that something is happening
behind the scenes.
Uses the same icon/color as "Checking" status.
Torrents in the `Moving` state are considered as "Active". This should
prevent accidental program exit from the user and inhibit system sleep.
7 years ago
Chocobo1
0457fd260e
Avoid temporary QString allocations
...
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
7 years ago
Eugene Shalygin
db35bb54e1
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
7 years ago
Chocobo1
2d12c126eb
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
7 years ago
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
7 years ago
Eugene Shalygin
74cecb1b6c
Replace C-style casts with C++ ones
8 years ago
Vladimir Golovnev (Glassez)
5dc54aa224
Don't use deprecated torrent_status fields
8 years ago
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
8 years ago
Chocobo1
ce3c53b3c4
Replace deprecated classes
8 years ago
Chocobo1
4eadda5c9a
Improve TransferListDelegate::sizeHint
9 years ago
Chocobo1
ee277bf126
Add "Paused torrents only" option for "Hide zero and infinity values"
9 years ago
Chocobo1
1a010cbfc6
Fix total values for "Seeds" & "Peers"
9 years ago
Chocobo1
b0a5c973a5
Simplify common paint actions
9 years ago
Chocobo1
5c4470ec07
Remove unused destructor
...
move get state text to its own function
9 years ago
Chocobo1
a56b745429
Follow project coding style. Issue #2192 .
9 years ago
Chocobo1
325ba48601
Add "Hide zero values" option. Closes #3543 .
9 years ago
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
9 years ago
sledgehammer999
17ac4b90be
Use simpler DEFINE for detecting Qt5 so moc will work too.
9 years ago
sledgehammer999
bf0319f7b2
Fix status string for errored torrents.
9 years ago
Gabriele
42c74f9553
Avoid concatenation when dealing with translatable strings
...
Concatenation could be problematic with RTL languages.
9 years ago
ngosang
69812bbf18
Converts the string "Seeded for" to lowercase
9 years ago
Vladimir Golovnev (Glassez)
5ec2af7b5a
Fix missing torrent states.
10 years ago
Chocobo1
e739e81205
Fix compilation on MSVC2013 by moving unicode strings to
...
"unicodestrings.h". Closes #3059 .
10 years ago
Vladimir Golovnev (Glassez)
64c8f61bb1
Improve TorrentModel class.
10 years ago
Vladimir Golovnev (Glassez)
191cdc2849
Move utilities to core/utils folder.
...
Also move the names to Utils namespace.
10 years ago
Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
10 years ago
Vladimir Golovnev (Glassez)
d32bb52390
Don't add core to INCLUDEPATH.
10 years ago
sledgehammer999
2c5edf8652
Implement 'Force Start' feature. Closes #270 .
10 years ago
sledgehammer999
f9e7345776
Implement a 'Completed' status. Closes #2326 #2483 #939 .
10 years ago
LazyBui
4dadf96925
Implementing support for session-based download and upload statistics
10 years ago