Commit Graph

105 Commits

Author SHA1 Message Date
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
76992fe922 fix: colorSchemeChanged not getting triggered after window has been closed 2023-05-27 13:47:17 +02:00
dries.k
234557df46 add option to set date label as system locale format 2023-05-22 23:22:23 +02:00
dries.k
c6e7924681 ServerInfoDialog: unset state when input is changed 2023-05-22 23:16:07 +02:00
dries.k
42b5d6d098 set success/failed hover color 2023-05-22 19:34:13 +02:00
Imran Shah
5dd9c54380 set minimum size hint for short messages 2023-05-21 21:57:24 +01:00
dries.k
8ea89b1df9 try to improve readability 2023-05-21 12:54:59 +02:00
dries.k
b585e3bb97 use _parent attribute instead of parent 2023-05-21 12:54:29 +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
826cef90af set focus when verifying server info 2023-04-08 11:40:00 +02:00
dries.k
b3692a3bf9 fix refresh halting when deleting a message 2023-04-08 09:48:54 +02:00
dries.k
d71b053fdd dark theme: add border around qcheckbox 2023-01-07 21:03:31 +01:00
dries.k
558ec0dbae rename orange/red to medium/high 2023-01-07 21:02:25 +01:00
dries.k
072eb273dc increase contrast between message widget and background in dark theme 2023-01-05 23:04:51 +01:00
dries.k
e00c2d4ca1 display message priority colors 2022-12-28 18:21:43 +01: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
953e1db6f1 add option to clear the image cache 2022-12-04 19:55:31 +01:00
dries.k
12f6e028fb hide the mainwindow with a qtimer 2022-12-04 19:47:18 +01:00
dries.k
86fbf003e1 add scale image factor to default settings 2022-12-04 16:17:47 +01:00
dries.k
304daee5ff make sure pixmap height is an int 2022-12-03 10:06:00 +01:00
dries.k
eaf4ba57a3 render images 2022-12-03 10:03:10 +01:00
dries.k
c7ed4ef27e fix: properly delete font message widget in settings 2022-11-13 18:13:58 +01:00
dries.k
f10ada6cd0 add option to reset fonts to default 2022-11-04 12:02:01 +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
5c01fcc747 use light icons on dark background 2022-11-03 17:41:21 +01:00
dries.k
53ab09bee9 set fusion style before verify_server 2022-11-02 23:46:38 +01:00
dries.k
686bac7499 format theme string 2022-11-02 23:42:29 +01:00
dries.k
857a94ccb5 change button pressed color 2022-11-02 23:27:02 +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
5268864b49 show application icon in font editor 2022-11-01 19:31:46 +01:00
dries.k
61071286ad handle listener error 2022-10-14 21:46:21 +02:00
Hg
5192dead01 pop window on current desktop if window was visible on another desktop
if window was already shown on a desktop and the tray was clicked, the window
would not pop
2022-10-08 14:06:22 +02:00
dries.k
fb15c8bf80 macos icons 2022-09-25 10:42:18 +02:00
dries.k
4fd9b29b75 reorder context menu items 2022-09-04 11:37:38 +02:00
dries.k
de5b535a15 make group box checkable 2022-09-03 13:32:41 +02:00
dries.k
96cf4f71f0 change w/h in settings 2022-09-03 13:32:12 +02:00
dries.k
23250acf31 remove url parameters from extension 2022-09-03 13:31:34 +02:00
dries.k
b640c7a852 only scale if the image is too large 2022-09-03 13:31:34 +02:00
dries.k
3b9931826a do not use the leaveEvent on macos 2022-09-03 13:31:34 +02:00
dries.k
70ec1d2efa do not read cache twice 2022-09-03 13:31:34 +02:00
dries.k
7957c0c4d6 add extensions to default settings 2022-09-03 13:31:34 +02:00