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. Creating a new window by dragging page itself in QML? (and vice versa)
Forum Updated to NodeBB v4.3 + New Features

Creating a new window by dragging page itself in QML? (and vice versa)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 195 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.
  • F Offline
    F Offline
    fromis_9
    wrote on last edited by fromis_9
    #1

    Hi. I want to develop an app where users can freely lay out widgets they want (usually defined as Pane) like Visual Studio. In Visual Studio, we can drag a source code tab to make a new window.
    asd.JPG

    And this is my idea to implement that:

    1. When tab is clicked, capture its whole page as an image.
    2. In mouse dragging event, paint the captured image in right down the mouse pointer.
      2.1. If the dragging finished in existing window, nothing happened (if necessary, changing the order of layouts).
      2.2. If the dragging finished in outer space of the window, creates a new window showing the page being dragged.

    What do you think of this idea? Or is there any types or functions to acheive this?
    Any advise will helps a lot. Thanks for reading.

    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