Reply
Thread Tools
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#1
Dow anyone know how to do this "yellow alert message" without any buttons that appears in the middle of the screen (the one that is displayed, after installing an application)? I've tried to use QMessageBox but I only get a dialog at the bottom of the screen with an OK button.

Thanks
 
marionegroponzi's Avatar
Posts: 13 | Thanked: 4 times | Joined on Jan 2010 @ Amsterdam
#2
Last November I was told (at the Nokia-Qt conference) it was still not supported in Qt 4.5. Did you try with 4.6?
 

The Following User Says Thank You to marionegroponzi For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#3
Originally Posted by marionegroponzi View Post
Last November I was told (at the Nokia-Qt conference) it was still not supported in Qt 4.5. Did you try with 4.6?
Ah, OK. I'm using MADDE which uses Qt 4.5. So I'll just have to wait for the 4.6 to come out then. Thanks.
 
krk969's Avatar
Posts: 754 | Thanked: 630 times | Joined on Sep 2009 @ London
#4
Originally Posted by Sasler View Post
Dow anyone know how to do this "yellow alert message" without any buttons that appears in the middle of the screen (the one that is displayed, after installing an application)? I've tried to use QMessageBox but I only get a dialog at the bottom of the screen with an OK button.

Thanks
not sure if it will work, but would be intrstd to know

why not use the dbus services for this.

here you can find the dbus service you can use in maemo for notifications ==> HERE

here you can find the QT Dbus interfaces ==> HERE

this is exactly the kind of documentation missing for QT.
there is nothing that helps us develop for *maemo* using QT except for official QT documentaton and the wiki pages here.
we mostly have just general info about QT hildon integration all over the wiki , nothing really concrete for newcomers to start using.
 

The Following 2 Users Say Thank You to krk969 For This Useful Post:
Posts: 16 | Thanked: 11 times | Joined on Dec 2009
#5
QMaemo5InformationBox should handle that. It's included in the Maemo Qt tech preview 2.

http://labs.trolltech.com/blogs/2009...ext-iteration/
 

The Following 3 Users Say Thank You to rkm For This Useful Post:
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#6
Originally Posted by Sasler View Post
Dow anyone know how to do this "yellow alert message" without any buttons that appears in the middle of the screen (the one that is displayed, after installing an application)? I've tried to use QMessageBox but I only get a dialog at the bottom of the screen with an OK button.

Thanks
I dont know about QT but in gtk its:

hildon.hildon_banner_show_information(
self.window,
"",
"There are no entries to display !")

I'm not sure what the first string does. Iconname?

Rick
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following User Says Thank You to rcull For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#7
See http://wiki.maemo.org/Maemo_Qt_Extra..._documentation

While I have not tried these libs personally, I don't see anything 4.6 specific about them, so I would not be surprised if they worked with 4.5, too.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#8
Originally Posted by rcull View Post
I'm not sure what the first string does. Iconname?
Yep. Has no effect in Fremantle.
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#9
Originally Posted by attila77 View Post
See http://wiki.maemo.org/Maemo_Qt_Extra..._documentation

While I have not tried these libs personally, I don't see anything 4.6 specific about them, so I would not be surprised if they worked with 4.5, too.
If I use these Maemo Qt Extra Libraries, does it mean that they would work only in Maemo?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#10
@Sasler: Yes. If your application is also supposed to run on desktop machines, the simplest is to just #ifdef it. If would have been way cooler if we could achieve this by QMessageBox::information() or sorts, but for now, you need the extra libs.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 

The Following User Says Thank You to attila77 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:29.