Chocobo1
3fd0241abb
Set dialog properties at the caller site
...
Redundant `setModal(true)` are removed since the dialog is already opened via `open()`.
2022-06-02 23:53:30 +08:00
Chocobo1
f54cc5796e
Move function into anonymous namespace
2022-05-27 16:23:19 +08:00
Vladimir Golovnev
7e0cd223fd
Revamp tracker entries handling
...
PR #17017 .
2022-05-22 09:09:11 +03:00
summer
56667e717b
Prevent the new update box from blocking input on other dialogues
...
PR #16678 .
2022-05-01 16:18:22 +03:00
Chocobo1
3f762a416d
Use proper method for deferred calls
2022-04-12 16:23:39 +08:00
Vladimir Golovnev
4efece4ab8
Use an appropriate method to show modal dialog
...
PR #16809 .
2022-04-05 07:26:17 +03:00
Chocobo1
75c93d72be
Revise string literal usage
...
This commit covers src/gui folder.
PR #16757 .
2022-03-29 10:41:17 +08:00
Chocobo1
7c1a986e61
Implement stringable interface for Version
type
2022-03-26 13:58:25 +08:00
Chocobo1
c6b772da11
Improve function interface
...
`SettingsStorage` methods require `QString` so make `SettingValue` follow it.
`Path::operator+` can use `QStringView` to accept wider audience.
2022-03-26 12:41:02 +08:00
AbeniMatteo
baa8d2c326
Add option to toggle filters sidebar
...
PR #15409 .
2022-03-21 12:41:06 +08:00
Chocobo1
efc04645b7
Use QString literals
...
It covers src/webui and enables `QT_NO_CAST_FROM_ASCII`.
2022-03-20 13:33:40 +08:00
Chocobo1
802ec5a14e
Use QString literals
...
This patch covers src/gui and some leftovers from previous commit.
2022-03-18 12:46:01 +08:00
Chocobo1
88fe94bd6a
Remove obsoleted functions from Utils::Gui namespace
...
`widget` parameter is kept for now to avoid major disruption for other PR.
Also add comments for loading svg images.
PR #16613 .
2022-03-11 13:40:58 +08:00
Chocobo1
ab64ee872b
Use QString literals
...
The plan is to define `QT_NO_CAST_FROM_ASCII` eventually.
PR #16561 .
2022-03-04 13:25:22 +08:00
Vladimir Golovnev
4a7f1116ac
Improve tracker status handling
...
PR #16383 .
2022-02-09 18:23:41 +03:00
Vladimir Golovnev
dd1bd8ad10
Implement class for handling filesystem paths
...
PR #15915 .
2022-02-08 06:03:48 +03:00
Chocobo1
a2c44dedce
Fix crash when shutting down and clicked on system tray icon
...
Disconnect all signals of system tray icon when shutting down.
Closes #16324 .
PR #16328 .
2022-01-31 11:54:44 +08:00
Chocobo1
44c8d60a70
Remove unused parameter
2022-01-23 15:03:26 +08:00
Chocobo1
54252184ab
Make use of std algorithms
...
Since the result code is shorter.
2022-01-23 15:03:26 +08:00
Chocobo1
cca93c2be2
Show GUI lock icon after system tray icon is initialized
2021-12-14 14:41:17 +08:00
Chocobo1
85777ea491
Simplify tray icon related code
2021-12-13 15:56:20 +08:00
Chocobo1
b8a84dbd83
Disable system tray icon menu when app is exiting
2021-12-13 15:56:16 +08:00
Chocobo1
1fa940876f
Remove redundant UI cleanups
...
Just exiting the application will handle all of them automatically.
2021-12-13 15:08:25 +08:00
Chocobo1
e3fe66d3ec
Store enum type in settings directly
...
Affected settings will be migrated to new keys so nothing should break.
PR #15800 .
2021-12-06 13:53:52 +08:00
Chocobo1
32698fe0be
Migrate away from low-level SettingsStorage
class
...
Also add `QFlags<T>` support to `SettingsStorage`.
PR #15693 .
2021-11-08 13:23:33 +08:00
Chocobo1
7087565d92
Fix typo
2021-10-11 22:17:17 +08:00
Chocobo1
45a1c25a29
Merge pull request #15467 from xavier2k6/Python_URL
...
Update python installer URL for Windows
2021-10-11 12:47:00 +08:00
xavier2k6
a92a6404cb
Make Python minimum version requirement an argument
2021-10-09 10:45:26 +01:00
Vladimir Golovnev (glassez)
add75fbc77
Make complete type declarations available where needed
2021-10-02 09:23:50 +03:00
Chocobo1
03012cc175
Revise description wordings
2021-09-18 12:59:07 +08:00
xavier2k6
4b78af268f
Update python installer URL for Windows
2021-09-12 17:17:06 +01:00
Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
2021-07-15 10:56:49 +03:00
Vladimir Golovnev
5c0378a684
Merge pull request #15029 from glassez/qt-5.14
...
Raise minimum Qt version to 5.14
2021-06-14 16:48:15 +03:00
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
2021-06-03 08:56:41 +03:00
Chocobo1
2503271a45
Fix main window turns blank after restoring from tray ( #15031 )
...
When restoring from tray icon, although the window manager shows qbt
window but qbt itself didn't handle the event correctly, i.e. the
`show()` was missing and thus qbt did nothing and the window is blank.
Note that at this point the `visible` property is `false`.
After invoking `show()` qbt will start showing the contents and also
fire another showEvent where `visible` property is `true` and here is where
qbt should handle preparations for the window.
Fix #9510 .
2021-05-31 12:19:22 +08:00
Vladimir Golovnev
e0d17e496a
Merge pull request #14783 from glassez/macutils
...
Don't use "Qt Mac Extras" module
2021-04-16 18:40:40 +03:00
Chocobo1
53b7956968
Clean up code
...
and remove unused parameters/variables.
2021-04-15 11:29:22 +08:00
Chocobo1
d13be829c3
Fix D-Bus Notification desktop-entry
field
2021-04-15 11:24:28 +08:00
Chocobo1
e18b2ab437
Regenerate D-Bus notifications related code
2021-04-15 11:24:25 +08:00
Vladimir Golovnev (Glassez)
35032d7eed
Don't use "Qt Mac Extras" module
...
"Qt Mac Extras" module is removed in Qt6.
2021-04-14 15:41:46 +03:00
kevtechxx
7722916fad
Add "Notification timeout" option
2021-04-13 16:22:48 +02:00
Vladimir Golovnev (Glassez)
43c8ac0aa1
Don't use deprecated operators
2021-03-20 09:08:48 +03:00
Vladimir Golovnev (Glassez)
8d9b6cca63
Include missing header
2021-03-19 13:59:04 +03:00
Vladimir Golovnev (Glassez)
561b597031
Improve "info hash" handling
...
Define "torrent ID" concept, which is either a SHA1 hash for torrents of version 1,
or a SHA256 hash (truncated to SHA1 hash length) for torrents of version 2.
Add support for native libtorrent2 info hashes.
2021-03-12 12:43:14 +03:00
Chocobo1
12938799a6
Remove unused lambda capture
2021-03-05 22:18:08 +08:00
Chocobo1
e6a8c02745
Prolong checking interval for program updates
2021-01-28 16:52:04 +08:00
Chocobo1
88d695f7af
Improve behavior when using ProgramUpdater class
...
This is mainly to avoid involving of `sender()` function.
2021-01-28 16:52:04 +08:00
Chocobo1
44e4dd3700
Don't let "program update" dialog steal focus
...
And also avoid creating an unnecessary event loop.
Closes #14250 .
2021-01-21 12:22:08 +08:00
Chocobo1
d85a41ad75
Disable translation of program name
2021-01-20 11:30:33 +08:00
Mike Tzou
478ddfe102
Merge pull request #14242 from xavier2k6/Change-qBittorrent-Updater-window-title
...
Change title of "version update" dialog box
2021-01-20 11:21:40 +08:00