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. [SOLVED] Drag-able splash screen?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Drag-able splash screen?

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 1.1k 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.
  • E Offline
    E Offline
    EStudley
    wrote on last edited by
    #1

    I'm trying to make a drag-able splash screen in QML. I would be open to using a C++ method as well.
    @
    Window {
    visible: true
    width: 792
    height: 569
    color: "transparent"
    flags: Qt.SplashScreen

    Image {
        anchors.fill: parent
        source: "background.png"
    }
    

    }
    @

    I want to be able to drag that background around the screen, as if it was a normal window with a toolbar. Is there any way to do this? I found this: http://qt-project.org/forums/viewthread/39748. But the answer from that thread doesn't work.

    Anyone?

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      May we know what is wrong with that answer ?

      157

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dasRicardo
        wrote on last edited by
        #3

        ... Sorry understand it wrong so my answer doesn't work

        **Sorry for my english :)

        PLEASE ADD [SOLVED] TO YOUR THREAD TITLE IF IT'S SOLVED.**

        1 Reply Last reply
        0
        • E Offline
          E Offline
          EStudley
          wrote on last edited by
          #4

          Nevermind, it does work! Sorry about that, I was setting the MouseArea to the wrong place.

          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