John Maguire
341dc7326f
Reformat all C++
2020-09-22 14:56:06 +01:00
SDNick484
ed0078b8d4
Adds missing QPainterPath include
2020-05-28 10:24:47 +01:00
Jim Broadus
72ac3cb88c
OSDPretty: Check return of current_screen in showEvent
2020-03-30 10:55:54 +01:00
Jim Broadus
33ffb4973a
OSDPretty: Fall back to primary screen
...
If current screen can't be find, use primary screen. This the
current behavior when used with older qt versions.
2020-03-30 10:55:54 +01:00
Jim Broadus
8706a39559
OSDPretty: Consolidate current_screen code in OSDPretty
2020-03-30 10:55:54 +01:00
Jonas Kvinge
9e3461f818
Fix formatting
2020-01-04 21:24:31 +01:00
Jonas Kvinge
6a8f70285f
Replace all uses of QDesktopWidget with QScreen
2020-01-04 21:18:12 +01:00
Jonas Kvinge
8c198a99a5
Qt 5 fixes
2018-11-21 10:31:17 +00:00
Pavel Vatagin
b52c99755d
Fix windows7thumbbar.cpp and osdpretty.cpp ( #5588 )
...
* fix problem with toWinHICON() in Qt5
* fix Windows (Qt5) build (conversion to HWND)
2017-01-09 20:11:27 +00:00
Mark Furneaux
faa3b8b022
Fix Pretty OSD positioning on Windows
...
Fixes #1218
Windows uses the primary monitor as the origin for coordinates, so any monitor to the left or above the primary uses negative coordinates.
This would cause the OSD to always be displayed on the primary as the negative values would be set to 0.
2015-07-04 14:24:12 -04:00
John Maguire
bebd781fdf
Reformat all non-3rd-party C/C++/Objective-C++.
...
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
-style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
David Sansome
df25f6291f
On Windows, don't activate the pretty OSD when it is first shown and
...
don't show it in the taskbar.
2012-07-15 14:46:00 +01:00
David Sansome
ed5b1d787b
Remove the tooltip flag on the pretty OSD on Windows, to remove the
...
drop-shadow that was added to tooltip windows in Qt 4.8
(QTBUG-13276). Fixes issue 3017.
2012-07-15 13:23:14 +01:00
David Sansome
1ef03b31f7
Set _NET_WM_WINDOW_TYPE_NOTIFICATION on the Pretty OSD window. Fixes issue 2485
2011-12-27 16:06:48 +00:00
David Sansome
263f57b47b
Only set the pretty OSD's message in the notifications settings page's constructor - don't show it as well. It would just get hidden again straight away, and for some reason this triggers a (Qt?) bug where the window gets painted in the top-left corner, but reacts to mouse clicks in its actual position.
...
Fixes issue 2110
2011-08-26 23:34:13 +01:00
Andrea Decorte
0a5c8e3995
Fixed two little issue with OSD toggling and new lines
2011-06-05 13:34:12 +00:00
Andrea Decorte
527171fadb
Toggle visibility for Pretty OSD by command line and global shortcut.
...
Fixes issue 1344
2011-06-05 08:21:17 +00:00
Andrea Decorte
86c3ec269f
Fix maximum size for pretty OSD when changing fonts
2011-05-29 19:44:03 +00:00
Andrea Decorte
44302a59b3
Added option to disable pretty OSD timeout
2011-05-29 12:44:38 +00:00
Andrea Decorte
61092899c9
Add font choice for pretty OSD and fixed bugs in the notification
...
preview
2011-05-28 08:50:29 +00:00
David Sansome
eb61b67dd1
Oops, remove debug output
2010-12-19 14:22:47 +00:00
David Sansome
a348a4529d
Make the pretty OSD snap to the center of the screen while dragging. Thanks brunciter.
2010-12-19 14:06:51 +00:00
David Sansome
ed1a25693c
Add missing licenses to debian/copyright, and add copyright information to each source file
2010-11-20 13:27:10 +00:00
David Sansome
7539c3b222
Fix indentation
2010-09-25 15:04:20 +00:00
David Sansome
1ce8ba2abf
Don't include qtwin on non-windows os. Thanks oget. Fixes issue #798
2010-09-25 14:55:36 +00:00
David Sansome
f151df00b0
Blur behind the pretty OSD on Windows Vista and above
2010-07-07 23:03:35 +00:00
David Sansome
e110febc86
Add a background to the pretty OSD
2010-06-02 19:19:30 +00:00
David Sansome
1aee5e4667
Split all the source files up into seven new directories.
2010-05-10 21:50:31 +00:00