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. show component out of application screen
Qt 6.11 is out! See what's new in the release blog

show component out of application screen

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 3 Posters 771 Views 2 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.
  • Q Offline
    Q Offline
    qAminzzz
    wrote on last edited by
    #1

    hi, i want show component like list view or treeview out of app screen
    how can i do this?

    jsulmJ raven-worxR 2 Replies Last reply
    1
    • Q qAminzzz

      hi, i want show component like list view or treeview out of app screen
      how can i do this?

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

      @qAminzzz said in show component out of application screen:

      how can i do this?

      Create a widget with this list view without parent, then call show() on it -> widgets without parent (which also are not part of any layout) are shown as windows.

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

      Q 1 Reply Last reply
      1
      • Q qAminzzz

        hi, i want show component like list view or treeview out of app screen
        how can i do this?

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @qAminzzz
        in QML you will have to place it in a separate Window element

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        Q 1 Reply Last reply
        2
        • jsulmJ jsulm

          @qAminzzz said in show component out of application screen:

          how can i do this?

          Create a widget with this list view without parent, then call show() on it -> widgets without parent (which also are not part of any layout) are shown as windows.

          Q Offline
          Q Offline
          qAminzzz
          wrote on last edited by
          #4

          @jsulm can i do this in qml?

          raven-worxR 1 Reply Last reply
          0
          • raven-worxR raven-worx

            @qAminzzz
            in QML you will have to place it in a separate Window element

            Q Offline
            Q Offline
            qAminzzz
            wrote on last edited by
            #5

            @raven-worx thank you for your answer, i think that i have to do this

            1 Reply Last reply
            0
            • Q qAminzzz

              @jsulm can i do this in qml?

              raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #6

              @qAminzzz said in show component out of application screen:

              can i do this in qml?

              no QtWidgets and QtQml are different modules and different UI "frameworks".

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              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