View Single Post
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#221
Originally Posted by CepiPerez View Post
You must set backgrounds and main windows with this:

setAttribute(Qt::WA_Maemo5StackedWindow);

If it doesn't work, the change background windows from QMainWindow to QDialog.
I've made it now like this:
mainwindow.cpp which launches the new window:
Code:
    newWin = new backgrounds(this);
    newWin->setAttribute(Qt::WA_Maemo5StackedWindow);
    newWin->setAttribute(Qt::WA_DeleteOnClose);

    newWin->show();
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE