Commit Graph

45 Commits

Author SHA1 Message Date
Martchus 9ba1aa32cf Protect pending DBusNotifications from concurrent access 2019-08-03 16:26:54 +02:00
Martchus 7cf1a57368 Don't rely on QCursor::pos() in dialog utils
It might not work under Wayland.
2019-07-20 18:38:39 +02:00
Martchus 4e3aaee223 Improve DBusNotification
* Allow setting application name
* Add more functions for hints
* Add return value to hide()
2019-06-16 17:35:31 +02:00
Martchus b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
Martchus 303d9ae779 Add override to DBusNotification 2019-05-28 21:33:24 +02:00
Martchus 2ae98f8ba4 Prevent using deprecated Qt features 2019-05-04 22:16:46 +02:00
Marius Kittler fa53b13f73 Fix typo occured -> occurred 2018-07-23 14:45:16 +02:00
Marius Kittler 7472ddc5af Improve coding style 2018-07-11 13:16:57 +02:00
Martchus aa300b237f Use const in generateWindowTitle() 2018-05-23 23:20:01 +02:00
Martchus 1b0cdc9878 Fix DBusNotification::image()
It is not possible to extract data from the QDBusArgument
anymore. So let's just make the NotificationImage become a
QDBusArgument itself and add it directly as hint.
2018-05-02 00:53:32 +02:00
Martchus 2525c37f00 Fix documentation of NotificationImage 2018-04-26 00:12:59 +02:00
Marius Kittler dc799fb606 Include functional explicitely 2018-04-05 12:03:01 +02:00
Martchus 6727f97ac6 Allow querying capabilities of DBus notification daemon 2018-03-31 23:35:39 +02:00
Martchus f76d4044aa Support setting image and image path of DBus notifications 2018-03-18 03:07:03 +01:00
Martchus afe3373896 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus d441590274 Add documentation about D-Bus notification actions 2017-08-20 02:03:21 +02:00
Martchus 0599eb354d Apply clang-format 2017-05-04 22:46:37 +02:00
Martchus 2dcbc02f4b Apply clang-format 2017-05-01 03:16:25 +02:00
Martchus 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
Martchus ad6f040881 Fix typo 2017-03-01 18:20:14 +01:00
Martchus 783c00b78c Fix handling special chars like # in openLocalFileOrDir() 2016-12-27 20:22:20 +01:00
Martchus 60403202df Add function to convert QString to native filename 2016-12-21 00:51:11 +01:00
Martchus 662d03ff71 Ensure notification is closed when action invoked 2016-12-13 21:49:13 +01:00
Martchus e31c2df570 Consider notification as closed when action invoked 2016-12-11 18:05:01 +01:00
Martchus e5481f5f43 Add class to show notifications via D-Bus 2016-12-11 17:54:23 +01:00
Martchus b51b53190b Improve macros for XML parsing 2016-08-31 23:39:04 +02:00
Martchus 7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus 3ea0e47a53 Add functions for positioning 2016-08-27 14:54:19 +02:00
Martchus 9e61cf8e18 Add option for built-in SVG icon support 2016-08-19 22:37:43 +02:00
Martchus d97e112f0d Allow using static Qt libraries 2016-08-19 16:16:10 +02:00
Martchus 20e663cbcc Make include guards more unique and consistent 2016-07-04 23:26:48 +02:00
Martchus 9137a63462 Improve documentation 2016-06-10 23:05:43 +02:00
Martchus cca4395fe6 Fix -Winconsistent-missing-override 2016-05-13 22:53:01 +02:00
Martchus c1570df362 use Q_* macros instead of signals/slots 2016-04-26 20:10:49 +02:00
Martchus e3eb263962 refactored "recently opened files menu" 2016-04-19 01:38:21 +02:00
Martchus 323c3b8824 allow building without Qt Widgets specific features 2016-04-09 02:33:09 +02:00
Martchus 98897b26f8 added locker classes intended to be used with QMutex 2016-03-10 22:15:16 +01:00
Martchus ba8dd4c113 added header to undefine macros for XML parser 2016-03-06 17:12:50 +01:00
Martchus 74b76e83a3 added macros to utilize XML parsing 2016-03-03 01:43:48 +01:00
Martchus 1f890920e6 added Dialogs::updateStyle() 2016-02-05 20:23:02 +01:00
Martchus b5ee1adc3f added DesktopUtils::openLocalFileOrDir() 2016-02-05 19:29:11 +01:00
Martchus f44930d580 unified dialog style sheet, removed hard coded colors 2015-09-26 20:28:30 +02:00
Martchus 721e79d027 fixed includes 2015-09-06 20:19:21 +02:00
Martchus 2d0df9b093 suppress warning 2015-07-31 01:25:30 +02:00
Martchus bb9bc4eb5d added helper method for generating window title 2015-07-07 00:48:52 +02:00