<html><head></head>
<body dir="ltr"><div id="fenix-user-content">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">Hello Naikel,</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'NokiaPureTextLight';"><br></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">There are two things that come to my mind:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">- I implemented a Qt-based api for that stuff a long time ago</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">- It's not possible to attach them to your window, but it's possible to add an entry to a config file, and then it will attach the notification to your window</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">- Led/vibration notifications are possible by setting a notification hint, regardless of whether or not it's attached to your window.<br><br>If you wish, I can point you to the right direction. :)<br></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'NokiaPureTextLight';">Timur<br>Sent from my Nokia N950<br></span></p></div><br><div id="fenix-reply-header"><p>On 2012.06.08. 7:34 Naikel Aparicio wrote:<br></p></div><div id="fenix-quoted-body">
<div dir="ltr">
<div style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<div>Not really.</div>
<div>&nbsp;</div>
<div>Those are the banners and notes, as you can see in screenshots in <a href="http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-informationbox.html">http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-informationbox.html</a></div>
<div>&nbsp;</div>
<div>What I want is the notification bubble.&nbsp; Sadly anyway I just found 
libhildon-plugins-notify-sv.so didn’t implement correctly the 
org.freedesktop.Notifications notifications.&nbsp; Maemo will only attach the 
notifications depending on the hint category to a predefined program, that is 
Modest for email, Conversations for IM/chat, etc.&nbsp; It’s not 
customizable.&nbsp; If you don’t set a category hint in your notification the 
daemon simply ignores everything and shows a notification that is totally 
useless with no sound, no LED alert, no vibration, no attachment to another 
widget and most importantly: it never updates itself.</div>
<div>&nbsp;</div>
<div>That means if you write your own email client, you can’t create 
notifications that are attached to it; if you set the category “email-message” 
it will always be attached to modest.&nbsp; When I say “attach” is that the 
notification belongs to the same widget and it doesn’t appear as a new window, 
it appears as if it were the same window than the application that generated 
it.</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; Naikel</div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<div style="FONT: 10pt tahoma">
<div>&nbsp;</div>
<div style="BACKGROUND: #f5f5f5">
<div style="font-color: black"><b>From:</b> <a title="timop.harkonen@gmail.com" href="mailto:timop.harkonen@gmail.com">timop.harkonen@gmail.com</a> </div>
<div><b>Sent:</b> Friday, June 08, 2012 12:24 AM</div>
<div><b>To:</b> <a title="maemo-developers@maemo.org" href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a> ; <a title="naikel@gmail.com" href="mailto:naikel@gmail.com">Naikel Aparicio</a> </div>
<div><b>Subject:</b> Re: GtkWidget* handler from QWidget</div></div></div>
<div>&nbsp;</div></div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<div id="fenix-user-content">
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0">The maemo5 module 
has the notification stuff. Check if it does what you need</p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty">&nbsp;</p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><a href="http://doc.qt.nokia.com/qt-maemo/qtmaemo5.html"><span style="COLOR: #0000ff; TEXT-DECORATION: underline">http://doc.qt.nokia.com/qt-maemo/qtmaemo5.html</span></a></p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty"><font size="2" face="Arial"></font>&nbsp;</p>
<p style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0">Timo</p></div>
<div>&nbsp;</div>
<div id="fenix-reply-header">
<p>Naikel Aparicio kirjoitti 8.6.2012 3:27:<br></p></div>
<div id="fenix-quoted-body">
<div dir="ltr">
<div style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Question 
to my fellow developers:</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I 
want to attach a Maemo native notification (those orange bubbles) to a 
QWidget.&nbsp; Using GLIB, it’s easy;&nbsp; you call 
notify_notification_attach_to_widget or add a hint with 
“attach-widget”.</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">The 
thing is in order</div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">to 
do that you need the GtkWidget* handler of the window, and all I got is a 
QWidget.&nbsp; Is there a way do it?</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Thanks 
in advance,</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;&nbsp;&nbsp; 
Naikel Aparicio</div></div>
<div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;&nbsp;&nbsp; 
Scorpius @ tmo</div></div></div></div></div>
<div>&nbsp;</div></div></div></div>
</div><br></body></html>