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
>   


_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to