![]() |
QMaemo5InformationBox Text Color
Hi, When I use this code:
Code:
QMaemo5InformationBox::information(this, "This is a Maemo5<b>banner<b>",QMaemo5InformationBox::NoTimeout); Any ideas ? |
Re: QMaemo5InformationBox Text Color
Hi,
it might be that it is because you are using another theme? Or it inherits the font-color from the parent. An easy solution would be to call the banner like: Code:
QMaemo5InformationBox::information(this, "<font color='black'>This is a Maemo5<b>banner<b></font>",QMaemo5InformationBox::DefaultTimeout); Daniel |
Re: QMaemo5InformationBox Text Color
Thank you Daniel, I just figured this out myself a few minutes ago and was about to paste the solution.
Now.. there is a new problem i discovered: After a message is shown to the screen and i click on the background to remove it, i cannot access the application menu anymore when its shown i normal view mode (when in fullscreen the menu works). And the rotation(landscape/portrait) stops working too. I need to minimize and maximize the window to make the menu and rotation work again. Any ideas on this ? |
Re: QMaemo5InformationBox Text Color
Hi,
sounds like a bug to me. But I will try it and come back to you. Latest tomorrow. Daniel |
Re: QMaemo5InformationBox Text Color
I noticed this bug myself, but forgot to report it because I was in the middle of something. Done now, you can track it here: http://bugreports.qt.nokia.com/browse/QTBUG-7887
|
Re: QMaemo5InformationBox Text Color
Thanks for reporting it, you should add that its also the case with rotation aware widgets.. They wont get rotation information after showing informationbox.
|
Re: QMaemo5InformationBox Text Color
I'll do that, but you can also leave a comment there yourself. ;)
|
Re: QMaemo5InformationBox Text Color
Somehow the rotation events works now. I guess it was not related..
|
All times are GMT. The time now is 16:20. |
vBulletin® Version 3.8.8