Commit Graph

67 Commits

Author SHA1 Message Date
dries.k
b569eee977 write a settings value only if it has been changed 2023-08-18 00:03:16 +02:00
dries.k
b4accedd61 Merge branch 'application-order' 2023-08-17 23:25:00 +02:00
dries.k
6b5434978b remove python-dateutil dependency in favor of QDateTime 2023-08-05 15:21:28 +02:00
dries.k
84495caf43 add option to toggle server watchdog thread 2023-07-09 15:03:10 +02:00
dries.k
7ed6eb02e1 user parent() method 2023-06-11 22:53:55 +02:00
dries.k
10d1d7b0ae don't recompute the index 2023-06-11 22:53:23 +02:00
dries.k
c1323fefed set message priority color in stylesheet 2023-05-31 21:11:45 +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
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
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
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
953e1db6f1 add option to clear the image cache 2022-12-04 19:55:31 +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
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
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
7957c0c4d6 add extensions to default settings 2022-09-03 13:31:34 +02:00
dries.k
6b2536916f track underMouse 2022-09-03 13:31:34 +02:00
dries.k
a53ff4cee2 scale with SmoothTransformation 2022-09-03 13:31:34 +02:00
dries.k
dc81f443aa center the image on the cursor 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
71a6036cce increase the relative font size of the selected application label 2022-08-27 11:06:05 +02:00