The Following User Says Thank You to Talvis For This Useful Post: | ||
|
2010-01-15
, 11:48
|
Posts: 16 |
Thanked: 11 times |
Joined on Dec 2009
|
#12
|
The Following User Says Thank You to rkm For This Useful Post: | ||
|
2010-01-15
, 12:02
|
|
Posts: 754 |
Thanked: 630 times |
Joined on Sep 2009
@ London
|
#13
|
Weird, I need to set the stacked window attribute for both of the windows for this to work properly!
And I have another problem. My second window is NOT destroyed when the back button is pressed. It is destroyed when the first window is closed. Is this normal?
My problem here is that I need to stop a QTimer when the second window is closed. Any signals sent for this?? secondWindow->destroyed() obviously doesn't work in my case.
Edit: I'm using Qt 4.6 tech prev 2
The Following User Says Thank You to krk969 For This Useful Post: | ||
|
2010-01-15
, 20:59
|
Posts: 12 |
Thanked: 7 times |
Joined on Sep 2009
@ Finland
|
#14
|
|
2010-04-25
, 14:23
|
Posts: 30 |
Thanked: 3 times |
Joined on Apr 2010
|
#15
|
|
2010-04-25
, 14:45
|
Posts: 60 |
Thanked: 59 times |
Joined on Jul 2008
|
#16
|
|
2010-04-25
, 22:17
|
Posts: 30 |
Thanked: 3 times |
Joined on Apr 2010
|
#17
|
Lamle, for that, you need to use QMaemo5EditBar widget. You also need to put the window in fullscreen mode if you don't want the title bar of the window to appear...
|
2010-04-26
, 00:13
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#18
|
Yes its normal, the stacked window is passed to the main window as a ctor param(?)
so it will be destroyed when the main window is destroyed.
have you tried setting the attribute Qt.WA_DeleteOnClose on the stacked window ?
Im not sure if it will work but worth a try.
|
2010-04-26
, 08:53
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#19
|
Hi Ignacius, Thank you for your reply. However, sorry for my silly, I am developing using Madde and I dont know how to how to use that qt-maemo5 library in Windows, seems not possible for Madde.
I also try with esbox and maemo 5 SDK in linux environment, it works in the simulator but then when I create debian package, esbox exports an empty .deb file with only structured folders but nothing else. Can you help me with this?
|
2010-04-26
, 20:10
|
Posts: 30 |
Thanked: 3 times |
Joined on Apr 2010
|
#20
|
I guess there are some mistakes in your packaging configuration, which cause the empty debian. But to find out you would have to provide more details
And I have another problem. My second window is NOT destroyed when the back button is pressed. It is destroyed when the first window is closed. Is this normal?
My problem here is that I need to stop a QTimer when the second window is closed. Any signals sent for this?? secondWindow->destroyed() obviously doesn't work in my case.
Edit: I'm using Qt 4.6 tech prev 2