Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Getting z-order of several Qt::Window flagged QWidget



  • Hi,

    I have several Qt::Window flagged QWidgets parented to a "container" widget. After moving them around the screen, I would like to get the z-order of those window widgets.

    I have tried different lists:

    qApp->topLevelWidgets();
    qApp->topLevelWindows();
    container->children();
    

    but none of them, seems to react/change neither to moving the window arround nor to window->raise();

    If someone has any explanation of that behaviour and any solution to get the z-order of Qt::Window flagged QWidgets, thanks in advance!

    Xavier


Log in to reply