Just found a solution. It was threading issue, just needed to use
QApplication.invokeLater().

On Wed, Jul 15, 2009 at 11:55 AM, Aekold Helbrass<[email protected]> wrote:
> Some more details on the same issue. Please take a look at following code:
> http://code.google.com/p/heresylabs/source/browse/trunk/qlipboard/src/org/heresylabs/qlipboard/Qlipboard.java#435
>
> When running and pressing required hotkey - message "hotkeys works"
> displayed, than "messages are supported" displayed. But no message on
> QSystemTrayIcon is displayed. The same when I am trying to invoke
> contextMenu.exec(QCursor.pos()) - it's just ignored. What I did wrong?
>
> On Mon, Jul 13, 2009 at 4:33 PM, Aekold Helbrass<[email protected]> wrote:
>> Hi All!
>>
>> I have tray-only application, and I want to show qmenu in current
>> cursor position. But when I invoke contextMenu.popup(QCursor.pos()) -
>> nothing happens. Is it possible to show it at all without parent
>> object's invocation, and if it is - how can I do it?
>>
>



-- 
Heresylabs code: http://heresylabs.googlecode.com/
Heresylabs blog: http://heresylabs.org/
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to