Eskil thanx alot for your answers! But I have more questions ;)

I am developing "tray-mostly" application, and when I open QDialog
(configuration dialog) and then closing it (using accept() or
reject(), hide() or close()) - it closes the application. Dialog is
not modal. How can I make it just hide without closing application?

On Wed, Jul 8, 2009 at 12:33 PM, Eskil Abrahamsen
Blomfeldt<[email protected]> wrote:
> Aekold Helbrass wrote:
>>
>> Hi All! Excuse me for asking those questions here, but I have no other
>> place to do it...
>>
>
> Hi, Aekold.
>
> This is indeed the correct place to ask Qt Jambi-related questions, so don't
> worry about it :-)
>
>> 1. Is it possible in QMenu to make label bold? But not in all the
>> QMenu, only for single QAction. I hoped something like <html><b>my
>> label</b> will work, but it is not.
>>
>
> You can access the font of the action using QAction.font() and
> QAction.setFont(). To make the font bold:
>
>   QFont font = myAction.font();
>   font.setBold(true);
>   myAction.setFont(font);
>
>> 2. It there any way to invoke context menu on QSystemTrayIcon with any
>> mouse button click but not only with right button?
>>
>
> There is no way to customize how the default context menu is activated. For
> more fine-grained control, you can react to the "activated" signal in
> QSystemTrayIcon.
>
>
> http://doc.trolltech.com/qtjambi-4.5.0_01/com/trolltech/qt/gui/QSystemTrayIcon.html#activated
>
> -- Eskil
>
>> Thanx in advance!
>> _______________________________________________
>> Qt-jambi-interest mailing list
>> [email protected]
>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>>
>
>
>



-- 
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