Revamp tracker list widget
commitc051ee9409a942145bfb38ab8d692786d6750ae3
authorVladimir Golovnev <glassez@yandex.ru>
Tue, 3 Oct 2023 05:42:05 +0000 (3 08:42 +0300)
committerGitHub <noreply@github.com>
Tue, 3 Oct 2023 05:42:05 +0000 (3 08:42 +0300)
treea1e98dfe5b567cc6d5ddd24484210c4aad863b73
parent70b438e6d9249bacf8589ba50d16bbfd617fd199
Revamp tracker list widget

Internally redesign tracker list widget using Qt Model/View architecture.
Make tracker list sortable by any column.

PR #19633.
Closes #261.
30 files changed:
src/base/bittorrent/sessionimpl.cpp
src/base/bittorrent/sessionimpl.h
src/base/bittorrent/torrent.h
src/base/bittorrent/torrentimpl.cpp
src/base/bittorrent/torrentimpl.h
src/base/bittorrent/trackerentry.cpp
src/base/bittorrent/trackerentry.h
src/base/preferences.cpp
src/base/preferences.h
src/base/utils/misc.h
src/gui/CMakeLists.txt
src/gui/mainwindow.cpp
src/gui/properties/propertieswidget.cpp
src/gui/properties/propertieswidget.h
src/gui/properties/trackerlistwidget.cpp [deleted file]
src/gui/trackerlist/trackerlistitemdelegate.cpp [copied from src/gui/properties/trackersadditiondialog.h with 57% similarity]
src/gui/trackerlist/trackerlistitemdelegate.h [copied from src/gui/properties/trackersadditiondialog.h with 61% similarity]
src/gui/trackerlist/trackerlistmodel.cpp [new file with mode: 0644]
src/gui/trackerlist/trackerlistmodel.h [new file with mode: 0644]
src/gui/trackerlist/trackerlistsortmodel.cpp [copied from src/gui/properties/trackersadditiondialog.h with 59% similarity]
src/gui/trackerlist/trackerlistsortmodel.h [copied from src/gui/properties/trackersadditiondialog.h with 61% similarity]
src/gui/trackerlist/trackerlistwidget.cpp [new file with mode: 0644]
src/gui/trackerlist/trackerlistwidget.h [moved from src/gui/properties/trackerlistwidget.h with 65% similarity]
src/gui/trackersadditiondialog.cpp [moved from src/gui/properties/trackersadditiondialog.cpp with 100% similarity]
src/gui/trackersadditiondialog.h [moved from src/gui/properties/trackersadditiondialog.h with 100% similarity]
src/gui/trackersadditiondialog.ui [moved from src/gui/properties/trackersadditiondialog.ui with 100% similarity]
src/gui/transferlistfilters/categoryfiltermodel.cpp
src/gui/transferlistfilters/trackersfilterwidget.cpp
src/webui/api/synccontroller.cpp
src/webui/api/torrentscontroller.cpp