Commit Graph

21 Commits

Author SHA1 Message Date
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