Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Howto use multiple windows in one screen (Symbian)
Qt 6.12 LTS is out! See what's new in the release blog

Howto use multiple windows in one screen (Symbian)

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wspilot
    wrote on last edited by
    #1

    Hi, I am porting a QT-C++ appl. to Symbian. I use one top opengl-Widget window and below that one window with buttons etc.
    I have been trying to make the the second window - as Window, Item, Page, Rectangle, you name it - with QML but it keeps occupying the complete screen or its looses or overlaps its childs. Am I trying sth that is not possible?
    thanks
    r.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dridk
      wrote on last edited by
      #2

      Draw everything inside a QGraphicsView and take a look around : QGraphicsWidget
      But , I don't understand what you would like... Have a screenshot ? A draw ?

      Nothing in Biology Makes Sense Except in the Light of Evolution

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wspilot
        wrote on last edited by
        #3

        Two windows:
        top window (in terms of y):
        rect(0,0,360360)
        and below that:
        bottom window:
        rect(0,360,360,240)
        As far as I know a QGLWidget has to stand on its own. Also, the bottom window is not one, but there four of them (with their own signal handlings etc.) that are hidden/shown depending on the sate of the app.
        QML won't accept sizes, the all take the full screen size.
        r.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dridk
          wrote on last edited by
          #4

          Create your own QWidget with a QVerticalLayout.
          In the first layout add your QGLWidget
          In the second one, add your QGraphicsView with QML interface.

          Nothing in Biology Makes Sense Except in the Light of Evolution

          1 Reply Last reply
          0
          • W Offline
            W Offline
            wspilot
            wrote on last edited by
            #5

            Thanks.
            Vertical layout pushes all the (bottom) windows below each other, while they all should appear just below the top window. Bottom window1 appears in state1, bottomwindow2 in state2, etc.
            I have now created a rectangle at the position of the top window. And below that a pagestack. The pages in the pagestack now size nicely to the (lower) space that is left over.
            Now I have to figure out how to force the opengl widget in the rectangle are. This widget needs to be controlled fully out of QT-C++, no QML involved.
            r.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt
            • Unsolved