Vladimir Golovnev
e61c882fee
Merge pull request #9015 from thalieht/style
...
Fix coding style
2018-06-03 14:48:04 +03:00
thalieht
356d6a6589
Fix coding style
2018-05-31 19:45:09 +03:00
Chocobo1
09f759355f
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
2018-05-31 22:56:49 +08:00
Chocobo1
c22e6b4502
Cleanup header include order
...
Add missing header.
Cleanup license.
2018-05-31 22:56:25 +08:00
Chocobo1
37ea01bd44
Use lightweight printf instead of iostream
...
Using iostream usually adds a lot of other operators (<<, endl), whereas
*printf takes only 1 function call.
Also use qUtf8Printable whenever possible.
2018-03-31 03:21:53 +08:00
Thomas Piccirello
7278625f53
Calculate supported categories based on selected plugin
2018-03-12 01:33:45 -04:00
Vladimir Golovnev (Glassez)
279bce2014
Make SearchManager singleton
2018-02-23 20:26:32 +03:00
Vladimir Golovnev (Glassez)
f3d370870d
Improve Search handling
...
Legacy SearchEngine class really has three roles:
1. Manage search plugins,
2. Handle the search job, and
3. Handle the download of the torrent file using the search plugin.
Now it is splitted into 3 classes: SearchManager, SearchHandler and
SearchDownloadHandler.
Search GUI is also improved.
2018-02-23 20:15:25 +03:00
Tom Piccirello
e6a1b72354
Only add search separators as needed
2018-01-16 00:22:51 -05:00
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-08-13 16:14:57 +03:00
Chocobo1
24a69a9fe7
Fix crash when exiting qbt with search plugin dialog open
...
Avoid emitting signal in destructor
2017-07-20 13:26:36 +08:00
vit9696
d25467d3e6
Various macOS UI improvements
2017-07-15 20:49:40 +03:00
sledgehammer999
a77e1c9f36
Use qt5 connect style for searchengine, pluginselectdlg and searchwidget.
2017-06-22 18:54:30 +03:00
sledgehammer999
fc543b9db6
Display instructions when no search plugin is installed.
2017-06-15 22:32:41 +03:00
Chocobo1
de54fa2c30
Fix addnewtorrentdialog position
...
Fix messageBox position
2017-05-01 14:48:10 +08:00
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 16:31:19 +02:00
sledgehammer999
68ecbf4185
Merge pull request #5420 from thalieht/alignment
...
Changes and additions in search, peerlist, transferlist
2017-01-21 02:58:32 +02:00
thalieht
b2144f7928
SearchTab: use saveSettings() and loadSettings() to handle header state
2016-12-07 18:19:54 +02:00
Chocobo1
d84461c9b2
Remove unused header
2016-11-29 17:31:14 +08:00
ngosang
204f3d8542
Minor changes in Search UI
2016-05-30 22:51:09 +02:00
Chocobo1
b4bdfa7b2b
Use QString::localeAwareCompare for comparsion
2016-05-24 10:44:42 +08:00
sledgehammer999
ef6e848756
Display notifications when a torrent is added. Closes #334 and #915 .
2016-04-25 20:07:26 +03:00
sledgehammer999
32490f1ef6
Merge pull request #4995 from Chocobo1/border
...
Search UI tweaks
2016-04-13 07:11:31 -05:00
Vladimir Golovnev (Glassez)
a9e63283cc
Use nova2dl.py script instead of DownloadManager
...
Closes #5026
2016-04-13 08:06:06 +03:00
sledgehammer999
50f7c734cb
Merge pull request #5101 from evsh/deduplicate-search-download-code
...
Remove duplicated code from search tab and widget
2016-04-12 15:31:25 -05:00
Chocobo1
216d98844b
Move m_searchPattern widget from code to .ui file
2016-04-12 16:14:09 +08:00
Chocobo1
a52f9d4ef9
[Search] Add seperator for categories & plugins
...
Sort categories & plugins entries
Rename & reorder entries
Use full name for plugins
2016-04-12 16:14:08 +08:00
Chocobo1
2d6669b88d
[Search] minor cleanups
2016-04-12 11:38:27 +08:00
Vladimir Golovnev (Glassez)
1760beed17
Fix MainWindow coding style (Issue #2192 )
2016-04-11 19:15:50 +03:00
Eugene Shalygin
5063940138
Remove duplicated code from search tab and widget
...
Both download handlers (in the tab and widget classes) convert model
index into an URL, set row color, and call download function.
Make the download button handler (in the SearchWidget class) call the
slot of the SearchTab class.
2016-04-11 14:00:50 +02:00
Eugene Shalygin
1336cb7a61
Implement search filters in the proxy model. Partially closes #972
2016-04-04 02:09:32 +02:00
Vladimir Golovnev (Glassez)
dd34663224
Implement Advanced Saving Management subsystem
...
Closes #4696
2016-03-04 19:59:53 +03:00
Vladimir Golovnev (Glassez)
c6ca877b72
Fix unitialized scalar fields
2016-01-13 20:25:06 +03:00
Vladimir Golovnev (Glassez)
ac365c5efb
Fix coding style (Issue #2192 ).
2015-12-20 21:52:26 +03:00
Vladimir Golovnev (Glassez)
54979e6b53
Move basic search-related code into Core.
...
Also use qBittorrent torrent file download routines instead of
nova2dl.py script.
2015-12-20 19:20:59 +03:00
Vladimir Golovnev (Glassez)
8754fd5646
Move Search-related files into Gui.
2015-12-06 21:25:40 +03:00