To maintain consistency with the actual English menu item, the variable
names and method name have been changed to reflect the menu item text.
Per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
The Copy icon is added to the menu item. This is in tandem with other
uses of the same icon, such as "Copy" (in log), "Copy selected" (in peer
list), "Copy tracker url", etc.
Also changed the ordering to have the new option appear before the
existing "Copy magnet link" icon.
This is as per comments in PR qbittorrent#2493
Signed-off-by: ADTC <send2adtc@gmail.com>
Implementation of feature request #2452https://github.com/qbittorrent/qBittorrent/issues/2452
Adds a new option in the right-click menu of the torrent list to copy
the name(s) of selected torrent(s) to the clipboard. This is similar to
the existing option to copy the magnet links to the clipboard.
This patch was originally authored by Chris Hirst (ciaobaby). I changed
the item name from "Copy caption" to "Copy name" (the torrent list
column header says "Name"), and I added the missing line in the header
file.
Note: Translations are not updated for the English menu item "Copy
name".
Signed-off-by: ADTC <send2adtc@gmail.com>
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.
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.
Since the content of some sections is right aligned, automatically
resizing the width of the last one to fill the header could be
sometimes undesired.
Let the user choose the width of each section and never change his
preference.