|
2010-06-01
, 17:07
|
Posts: 190 |
Thanked: 129 times |
Joined on Mar 2010
@ Bavaria, Germany
|
#2
|
|
2010-06-01
, 20:24
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#3
|
Already thought of implementing this, but you were faster
It would be nice if you could ask the libQxt developers if they want to integrate this into their library (or another common library).
So someone could package libQxt for maemo and everyone could use those features
|
2010-06-06
, 04:32
|
Posts: 26 |
Thanked: 0 times |
Joined on Apr 2010
|
#4
|
|
2010-06-13
, 13:43
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#5
|
Today I got envious of all the apps that create those shiny notifications, so I decided to put together an app in Qt to see how to do it.
Unfortunately the QMaemo5InformationBox doesn't display the style of notifications I needed.
So, I went to IRC and asked the good people in #qt-maemo, and they said that Qt doesn't have an abstraction of this particular UI element. They pointed me to this guide on Forum Nokia, which almost did it. Unfortunately it doesn't work with MADDE.
After hours of suffering and pain I successfully overcame the limitations of MADDE (again, thanks to the good people at #qt-maemo), and I put together a small example in the repo of my project.
Here it goes:
If you would use them in your own code, I recommend you to put QMaemo5Notification into its own project file (or .pri file)
That's it.
Now you can just do this:
I hope I could spare some people the pain I went through, so I decided to share this with the community.
You should follow me on Twitter!
Apps: Puzzle Master, IRC Chatter for Harmattan, IRC for Sailfish
Last edited by Venemo; 2010-06-01 at 16:59.