Mark
2011-09-27 07:58:14 UTC
Hi,
I recently discovered LibQxt because i was looking for some way to have
global key shortcuts without the need of the window being active. LibQxt
has QxtGlobalShortcut for that and i think that should be functionality in
Qt only a bit differently. Qt has QSchortcut which works just fine, but it
needs to have another enum value for the setContext function for system wide
shortcuts, right now there is :
http://doc.qt.nokia.com/latest/qt.html#ShortcutContext-enum For example add
one with the name Qt::SystemShortcut and when that's set you should get the
same behavior as you would get when using QxtGlobalShortcut.
Besides QxtGlobalShortcut there is more in LibQxt, like QxtJSON and
QxtSmtp, that would be really convenient to have in Qt without 3rd party
plugins. Perhaps a few others as well?
Note: How is it even possible in Todays Qt that we do have QML with json
things in it, but no way to use it from C++..? Or did i miss something
somewhere?
Do those interesting parts of LibQxt make any chance of getting in Qt?
Kind regards,
Mark
I recently discovered LibQxt because i was looking for some way to have
global key shortcuts without the need of the window being active. LibQxt
has QxtGlobalShortcut for that and i think that should be functionality in
Qt only a bit differently. Qt has QSchortcut which works just fine, but it
needs to have another enum value for the setContext function for system wide
shortcuts, right now there is :
http://doc.qt.nokia.com/latest/qt.html#ShortcutContext-enum For example add
one with the name Qt::SystemShortcut and when that's set you should get the
same behavior as you would get when using QxtGlobalShortcut.
Besides QxtGlobalShortcut there is more in LibQxt, like QxtJSON and
QxtSmtp, that would be really convenient to have in Qt without 3rd party
plugins. Perhaps a few others as well?
Note: How is it even possible in Todays Qt that we do have QML with json
things in it, but no way to use it from C++..? Or did i miss something
somewhere?
Do those interesting parts of LibQxt make any chance of getting in Qt?
Kind regards,
Mark