Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Regarding displaying QWidgetWindow and QMLWindow based on widget in CUI environment.

    QML and Qt Quick
    4
    10
    284
    Loading More Posts
    • 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.
    • M
      morita last edited by

      Hello.

      I made a project which combines a QWidget-Window and QML-Window based on widget.

      And my project displays QWidget-Window on the top and QMLWindow on the bottom.

      If I execute that on GUI environment , that works correctly.

      But If I execute that on CUI environment, the display of z order is changed.

      I mean my project displays QWidget-Window on the bottom and QMLWindow on the top.

      I don't understand why that is.

      Because I coded WindowStaysOnTopHint on QWidgetWindow and WindowStaysOnBottomHint on QMLWindow.

      Could you tell me how to solve it ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Excuse my ignorance but what is a CUI environment ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • M
          morita last edited by

          Thank you for replying.

          I may not explain about it well though...

          CUI means a way to operate using only a terminal.

          We cannot operate using a mouse.

          After booting my CentOS pc, my pc displays CUI(only a terminal) for the first time.

          When I type in "start x" on a terminal , my pc displays GUI.

          Please show a link below :
          https://www.computerhope.com/jargon/c/cui.htm

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @morita last edited by

            @morita Do you use any window manager?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • M
              morita last edited by

              Thank you for replying.

              Now I don't use it.

              jsulm 1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion @morita last edited by

                @morita I suggest to use a window manager, it is the responsibility of a window manager to handle the windows. WindowStaysOnTopHint is a hint for window manager.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                M 1 Reply Last reply Reply Quote 1
                • M
                  morita @jsulm last edited by

                  @jsulm

                  Unfortunately, I don't know what I have to handle . I would like to tell me if you know what kind of tool or setting I should use.

                  jsulm 1 Reply Last reply Reply Quote 0
                  • jsulm
                    jsulm Lifetime Qt Champion @morita last edited by

                    @morita Use a window manager. See https://unix.stackexchange.com/questions/243195/what-desktop-environment-does-startx-run-and-how-can-i-change-it

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mirro @jsulm last edited by

                      @jsulm Big brother, help me look at this problem

                      https://forum.qt.io/topic/118400/why-doesn-t-the-treeview-display-the-expanded-triangle-icon

                      jsulm 1 Reply Last reply Reply Quote 0
                      • jsulm
                        jsulm Lifetime Qt Champion @mirro last edited by

                        @mirro Please don't hijack others threads with your unrelated questions...

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post