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.
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
10 Posts 4 Posters 737 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.
  • M Offline
    M Offline
    morita
    wrote on 21 Aug 2020, 11:22 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Aug 2020, 18:44 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 24 Aug 2020, 01:42 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

        J 1 Reply Last reply 24 Aug 2020, 05:22
        0
        • M morita
          24 Aug 2020, 01:42

          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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 24 Aug 2020, 05:22 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 24 Aug 2020, 06:50 last edited by
            #5

            Thank you for replying.

            Now I don't use it.

            J 1 Reply Last reply 24 Aug 2020, 07:09
            0
            • M morita
              24 Aug 2020, 06:50

              Thank you for replying.

              Now I don't use it.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 24 Aug 2020, 07:09 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 26 Aug 2020, 02:27
              1
              • J jsulm
                24 Aug 2020, 07:09

                @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 26 Aug 2020, 02:27 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.

                J 1 Reply Last reply 26 Aug 2020, 04:16
                0
                • M morita
                  26 Aug 2020, 02:27

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

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 26 Aug 2020, 04:16 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 26 Aug 2020, 05:25
                  0
                  • J jsulm
                    26 Aug 2020, 04:16

                    @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 26 Aug 2020, 05:25 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

                    J 1 Reply Last reply 26 Aug 2020, 05:40
                    0
                    • M mirro
                      26 Aug 2020, 05:25

                      @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

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 26 Aug 2020, 05:40 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

                      8/10

                      26 Aug 2020, 04:16

                      • Login

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