![]() |
Qt Yellow alert message
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 |
Re: Qt Yellow alert message
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?
|
Re: Qt Yellow alert message
Quote:
|
Re: Qt Yellow alert message
Quote:
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. |
Re: Qt Yellow alert message
QMaemo5InformationBox should handle that. It's included in the Maemo Qt tech preview 2.
http://labs.trolltech.com/blogs/2009...ext-iteration/ |
Re: Qt Yellow alert message
Quote:
hildon.hildon_banner_show_information( self.window, "", "There are no entries to display !") I'm not sure what the first string does. Iconname? Rick |
Re: Qt Yellow alert message
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. |
Re: Qt Yellow alert message
Quote:
|
Re: Qt Yellow alert message
Quote:
|
Re: Qt Yellow alert message
@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.
|
Re: Qt Yellow alert message
For Qt4.5 and Qt4.6 (has it by default) without any extra lib:
Code:
EDIT: This is Maemo specific code, doesn't work in other platforms. |
All times are GMT. The time now is 17:55. |
vBulletin® Version 3.8.8