Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Regarding displaying QWidgetWindow and QMLWindow based on widget in CUI environment.
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
10 Posts 4 Posters 664 Views
  • 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 Offline
    M Offline
    morita
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        morita
        wrote on last edited by
        #3

        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

        jsulmJ 1 Reply Last reply
        0
        • M morita

          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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @morita Do you use any window manager?

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

          1 Reply Last reply
          0
          • M Offline
            M Offline
            morita
            wrote on last edited by
            #5

            Thank you for replying.

            Now I don't use it.

            jsulmJ 1 Reply Last reply
            0
            • M morita

              Thank you for replying.

              Now I don't use it.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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
              1
              • jsulmJ jsulm

                @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.

                M Offline
                M Offline
                morita
                wrote on last edited by
                #7

                @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.

                jsulmJ 1 Reply Last reply
                0
                • M morita

                  @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.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @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
                  0
                  • jsulmJ jsulm

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

                    M Offline
                    M Offline
                    mirro
                    wrote on last edited by
                    #9

                    @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

                    jsulmJ 1 Reply Last reply
                    0
                    • M mirro

                      @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

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @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
                      0

                      • Login

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