FranciscoPombal
6152b83405
Use #pragma once instead of include guards
2020-12-12 19:41:32 +00:00
Chocobo1
498da509db
Use Qt provided forward declaration header
2020-12-09 18:21:02 +08:00
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
2020-11-17 21:02:37 +03:00
Will Da Silva
6e0cf96726
Make middle-click close search tabs
2020-10-17 00:21:10 -04:00
Chocobo1
b092fc9abb
Disable edit action
2020-07-30 14:31:39 +08:00
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
2020-07-26 13:05:54 +05:30
Chocobo1
c239568658
Don't use deprecated QTextStreamFunctions::flush()
...
Qt doc states: "If QTextStream operates on a string, this function does
nothing". So remove it.
2020-06-04 15:29:32 +08:00
Vladimir Golovnev (Glassez)
eeae308c29
CMake: Don't use subprojects in GUI subfolders
2020-05-02 17:21:03 +03:00
Vladimir Golovnev (Glassez)
642bf7b8a6
CMake: Don't split GUI code into several libraries
2020-05-01 17:03:00 +03:00
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
2020-05-01 17:02:49 +03:00
Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
2020-04-19 10:59:59 +08:00
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
2019-09-05 20:16:18 +08:00
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
2019-08-18 20:00:43 +08:00
Mike Tzou
2427f5d324
Merge pull request #11041 from Chocobo1/splitRef
...
Revise operations in TorrentHandle class
2019-08-09 12:27:44 +08:00
Chocobo1
8d6b9b6181
Revise sort model and delegate code
2019-08-08 22:17:18 +08:00
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
2019-08-08 18:57:54 +08:00
Chocobo1
e90a2c00a5
Replace QList by QVector
2019-08-05 20:56:15 +08:00
Chocobo1
7ab3479a34
Replace static_cast by qOverload
2019-07-26 22:32:18 +08:00
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
2019-07-16 09:31:33 +05:30
Chocobo1
032883e278
Move LineEdit files out of subfolder
2019-07-13 19:46:53 +08:00
Chocobo1
cc663746eb
Forward declare some classes
2019-07-13 19:38:37 +08:00
Chocobo1
599bfc0735
Use Qt object ownership to handle QShortcut deletions
2019-07-13 13:24:27 +08:00
Chocobo1
da2bfd2457
Replace QList by QVector
2019-06-26 20:30:07 +08:00
Chocobo1
5b9b5ce577
Remove buttons from search widget
...
These buttons are replaced by right-click menu actions.
2019-06-26 20:30:07 +08:00
Chocobo1
4f5302adf8
Add more copy field actions to search widget
...
Closes #10250 .
2019-06-26 20:30:07 +08:00
Chocobo1
26ff9150a2
Rename label in search widget
2019-06-26 10:52:13 +08:00
Chocobo1
32a861fd1b
Add right click menu to SearchJobWidget
2019-06-25 16:12:51 +08:00
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
2019-06-24 11:02:35 +08:00
Chocobo1
88c3ffbef8
Avoid creating unnecessary event loops
...
This is part 2.
2019-06-20 11:42:54 +08:00
Mike Tzou
cfd02a4355
Merge pull request #10786 from Chocobo1/dialog
...
Avoid creating unnecessary event loops
2019-06-19 11:02:09 +08:00
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.
2019-06-17 15:55:49 +03:00
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.
2019-06-17 20:44:57 +08:00
Mike Tzou
370544764e
Merge pull request #10750 from Chocobo1/modal
...
Fix unable to control add torrent dialogs when opened simultaneously
2019-06-06 23:16:35 +08:00
Chocobo1
014273d7ec
Drop support for "BC Link" format
...
Fixup 19d6de795c
.
2019-06-05 00:42:46 +08:00
thalieht
9995967fbf
Remove some unused #include
2019-06-04 17:48:55 +03:00
thalieht
4370a7eb12
Forward declare in a few places
2019-06-04 17:48:55 +03:00
thalieht
3731a3ea65
Make num enter key work the same as return in searchjobwidget
2019-03-22 20:01:48 +02:00
Vladimir Golovnev
928ce940c9
Merge pull request #10346 from glassez/download-manager
...
Improve "Download manager"
2019-03-10 09:13:07 +03:00
Vladimir Golovnev (Glassez)
746916a963
Use DownloadHandler behind the scenes
2019-03-08 13:00:37 +03:00
Mike Tzou
ccd8f3e0f1
Merge pull request #10340 from Chocobo1/move
...
Move helper functions to Utils::Gui namespace
2019-03-07 15:11:58 +08:00
paolo-sz
1ea7907e09
Add default tooltip "Searching..." on tab creation.
2019-03-05 20:36:49 +01:00
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.
2019-03-05 20:36:49 +01:00
Vladimir Golovnev (Glassez)
6cb15706f5
Reduce number of DownloadManager signals
2019-03-05 11:28:29 +03:00
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
2019-03-05 14:55:22 +08:00
Chocobo1
3dd969df64
Replace deprecated QSignalMapper class
2019-02-28 12:03:08 +08:00
thalieht
89dce36e98
Use uniform initialization on some default arguments
2019-02-25 17:05:15 +02:00
thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
2019-02-25 17:05:15 +02:00
thalieht
8c944bd4e1
Avoid repeating the return type
2019-02-16 18:54:18 +02:00
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
2019-02-16 18:54:17 +02:00
thalieht
445adb0ab4
Convert pass-by-value arguments to const refs where applicable
2019-02-12 02:45:55 +02:00