How to be notified when the application is minimized using Qt

2010-08-26 Thread Francesco Balestrieri
Hello, I would like my application to react whenever the user minimizes it, i.e. presses the home button, and when he/she brings it back to the foreground. What is the best way to do it using Qt? I have tried to reimplement changeEvent, but the only event triggered in this case seems to be an

Re: QTestLib on N900

2010-08-22 Thread Francesco Balestrieri
Thanks Antonio, works like a charm! Francesco On Aug 22, 2010, at 5:01 PM, Antonio Aloisio wrote: Hi Francesco, You can find Qt test module in “tools” repository. http://repository.maemo.org/pool/fremantle/free/q/qt4-x11/ Ciao, Antonio On Sat, Aug 21, 2010 at 3:02 PM, Francesco

QTestLib on N900

2010-08-21 Thread Francesco Balestrieri
Hello, I have created some tests using QTestLib and would like to execute them on the N900, but when I try I get the error: error while loading shared libraries: libQtTest.so.4: cannot open shared object file: No such file or directory Does anybody know if I could find the compiled library

Qt Date Time Picker?

2010-08-17 Thread Francesco Balestrieri
Hello, I'm writing a MAemo5/Qt application where I need to display a dialog to select date and time together. I was wondering if anybody had to solve the same problem and could recommend a way forward using predefined widgets? The optimal for my use case would be to show an extra button in

Re: Qt Date Time Picker?

2010-08-17 Thread Francesco Balestrieri
On Aug 18, 2010, at 4:02 AM, Robin Burchell wrote: Hi, Excerpts from Francesco Balestrieri's message of Tue Aug 17 17:11:42 +0100 2010: The optimal for my use case would be to show an extra button in the Hildon-style Time Picker dialog (QMaemo5TimePickSelector) and open a date picker