Chocobo1
757ab3dc92
Remember dialog sizes
...
This applies to "About Dialog", "Ban List Options Dialog", "Download From URL Dialog", "IP Subnet
Whitelist Options Dialog", "Search Plugin Select Dialog", "Search Plugin Source Dialog",
"Statistics Dialog", "Speed Limit Dialog" and "Torrent Options Dialog".
Also unifies storing the dialog size under the key "Size".
4 years ago
Chocobo1
0b0597be0c
Add a thin layer around SettingsStorage class
...
This new layer would be handy for saving GUI widget states as they don't
need the value cached and they store/load rarely.
4 years ago
FranciscoPombal
6152b83405
Use #pragma once instead of include guards
4 years ago
Chocobo1
498da509db
Use Qt provided forward declaration header
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
Will Da Silva
6e0cf96726
Make middle-click close search tabs
4 years ago
Chocobo1
b092fc9abb
Disable edit action
4 years ago
jagannatharjun
00413b0dd1
Use default delegate for SearchModel
...
Introduce and use data role - SearchFilterModel::UnderlyingDataRole as a filter role in SearchFilterModel
Removes the usage of QItemDelegate
4 years ago
Chocobo1
c239568658
Don't use deprecated QTextStreamFunctions::flush()
...
Qt doc states: "If QTextStream operates on a string, this function does
nothing". So remove it.
5 years ago
Vladimir Golovnev (Glassez)
eeae308c29
CMake: Don't use subprojects in GUI subfolders
5 years ago
Vladimir Golovnev (Glassez)
642bf7b8a6
CMake: Don't split GUI code into several libraries
5 years ago
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
5 years ago
Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
5 years ago
Chocobo1
8d6b9b6181
Revise sort model and delegate code
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Chocobo1
7ab3479a34
Replace static_cast by qOverload
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Chocobo1
032883e278
Move LineEdit files out of subfolder
5 years ago
Chocobo1
cc663746eb
Forward declare some classes
5 years ago
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
5 years ago
Chocobo1
da2bfd2457
Replace QList by QVector
6 years ago
Chocobo1
5b9b5ce577
Remove buttons from search widget
...
These buttons are replaced by right-click menu actions.
6 years ago
Chocobo1
4f5302adf8
Add more copy field actions to search widget
...
Closes #10250 .
6 years ago
Chocobo1
26ff9150a2
Rename label in search widget
6 years ago
Chocobo1
32a861fd1b
Add right click menu to SearchJobWidget
6 years ago
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
6 years ago
Chocobo1
88c3ffbef8
Avoid creating unnecessary event loops
...
This is part 2.
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
014273d7ec
Drop support for "BC Link" format
...
Fixup 19d6de795c
.
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
thalieht
3731a3ea65
Make num enter key work the same as return in searchjobwidget
6 years ago
Vladimir Golovnev (Glassez)
746916a963
Use DownloadHandler behind the scenes
6 years ago
paolo-sz
1ea7907e09
Add default tooltip "Searching..." on tab creation.
6 years ago
paolo-sz
22835c0350
Avoid crashes on torrent search
...
qbittorrent closes itself without any error message when a search tab
should be notified of a status change: fixed bad pointer variable catch
in lambda code.
6 years ago
Vladimir Golovnev (Glassez)
6cb15706f5
Reduce number of DownloadManager signals
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
Chocobo1
3dd969df64
Replace deprecated QSignalMapper class
6 years ago
thalieht
89dce36e98
Use uniform initialization on some default arguments
6 years ago
thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
445adb0ab4
Convert pass-by-value arguments to const refs where applicable
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
2b903fc3d1
Move Utils::Misc::isUrl() function
...
All usage of this function gets to call Net::DownloadManager eventually.
6 years ago
Chocobo1
0ad831e48a
Fix strings not translated
...
Closes #9934 .
6 years ago