Commit Graph

47 Commits

Author SHA1 Message Date
dries.k
ad5797b5b3 do not set the tray icon color on low priority messages 2023-06-02 21:17:41 +02:00
dries.k
c57e3d5bca Follow the system theme and set the icons accordingly, no more handcrafted theming 2023-05-30 21:51:58 +02:00
dries.k
b2718acf1b disable MainWindow buttons while messages are being inserted 2023-05-30 21:21:57 +02:00
dries.k
4eceae5a40 use QCoreApplication.instance instead of passing the instance through several objects 2023-05-30 20:53:25 +02:00
dries.k
a7f5534c6b in addition to aborting the task, also disconnect from the message signal 2023-05-28 18:14:44 +02:00
dries.k
6e385b57c2 fix mixing of messages when changing applications too quickly 2023-05-27 17:07:11 +02:00
dries.k
8ea89b1df9 try to improve readability 2023-05-21 12:54:59 +02:00
dries.k
0ca78ad8d9 update type hinting 2023-05-21 12:53:33 +02:00
dries.k
7d47c79898 Simplify the inserting and processing of messages.
Message widgets are now inserted into the listView through the `rowsInserted` callback of the messages model.

Messages are processed in the GetMessagesTask and GetApplicationMessagesTask when fetching multiple new messages. Single new incoming messages are processed in ProcessMessageTask.
2023-05-21 12:52:52 +02:00
seird
bc221d6c8f Automatic theme (#29)
* add "automatic" theme

set the theme and icons based on the system theme

* update the default icons based on system theme

* update pyqt to 6.5.0 to get the colorSchemeChanged callback

* rename style to theme

* remove unused svg files for default theme

* ServerInfoDialog: update feedback colors in dark mode
2023-05-21 11:41:01 +02:00
dries.k
b3692a3bf9 fix refresh halting when deleting a message 2023-04-08 09:48:54 +02:00
dries.k
a9aac24085 clear the cache after deleting *all* messages 2022-12-28 16:05:50 +01:00
dries.k
1c67cdc357 no longer clear cache when refreshing applications 2022-12-04 20:56:12 +01:00
dries.k
12f6e028fb hide the mainwindow with a qtimer 2022-12-04 19:47:18 +01:00
dries.k
eaf4ba57a3 render images 2022-12-03 10:03:10 +01:00
dries.k
a6a3869371 change the status widget on theme change 2022-11-04 11:38:45 +01:00
dries.k
eea1c874cc update icons on theme change 2022-11-03 18:21:41 +01:00
dries.k
79370bc232 add tray unread icon setting 2022-11-03 17:42:22 +01:00
dries.k
53ab09bee9 set fusion style before verify_server 2022-11-02 23:46:38 +01:00
dries.k
ac15d079ef change the tray icon to show there are unread notifications 2022-11-02 20:19:02 +01:00
seird
a8a854ce6b Add basic dark & light theme (#18) 2022-11-02 19:31:56 +01:00
dries.k
61071286ad handle listener error 2022-10-14 21:46:21 +02:00
dries.k
fb15c8bf80 macos icons 2022-09-25 10:42:18 +02:00
dries.k
70ec1d2efa do not read cache twice 2022-09-03 13:31:34 +02:00
dries.k
6b2536916f track underMouse 2022-09-03 13:31:34 +02:00
dries.k
1b4fec83d4 make sure the pop-up is closed when the main window is hidden 2022-09-03 13:31:34 +02:00
dries.k
28fef2c9de basic image pop-up on hover 2022-09-03 13:31:33 +02:00
dries.k
548b49f610 add option to change notification click behavior 2022-09-03 12:43:52 +02:00
dries.k
7a7b23b877 macos: prevent hang on quit (?) 2022-08-21 10:34:17 +02:00
dries.k
1426e75632 macos: do not trigger the main window and context menu simultaneously 2022-08-21 10:18:31 +02:00
dries.k
9ec3ca401d manual refresh also redownloads the application images 2022-08-04 00:28:55 +02:00
dries.k
d575a74a8e simplify GotifyClient.listen 2022-07-29 18:55:00 +02:00
dries.k
e373536263 apply new server settings without needing to restart 2022-07-29 18:41:58 +02:00
dries.k
e5ce9f6201 rename setting keys 2022-04-05 12:55:35 +02:00
dries.k
b622a0fe58 import/export/reset settings 2022-04-04 15:44:46 +02:00
dries.k
a06977abe3 ctrl+Q to quit 2022-03-30 14:10:38 +02:00
dries.k
17e41c414d check for missed messages on reconnect 2022-03-29 17:06:45 +02:00
dries.k
150af23fd8 improve manual reconnecting 2022-03-02 20:05:57 +01:00
dries.k
01738b8411 improve manual reconnecting 2022-02-17 14:00:31 +01:00
dries.k
6f51afee4d use absolute path for window icon 2022-02-11 21:15:55 +01:00
dries.k
0bea6ea14f a better main window 2022-02-08 22:12:52 +01:00
dries.k
63c47c470c cleanup 2022-02-02 17:36:46 +01:00
dries.k
cf84f138f6 move watchdog callback 2022-02-01 21:01:31 +01:00
dries.k
16131e513d apply QApplication properties before verifying server 2022-02-01 21:00:46 +01:00
dries.k
a3673a9e5f restructure new_message_callback 2022-01-31 20:06:36 +01:00
dries.k
829a9a7c67 remove themes 2022-01-30 13:08:47 +01:00
dries.k
c063f11285 remove MainWindow 2022-01-30 12:59:31 +01:00