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. Prevent drawer to close by dragging
Forum Updated to NodeBB v4.3 + New Features

Prevent drawer to close by dragging

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 816 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.
  • AlienA Offline
    AlienA Offline
    Alien
    wrote on last edited by Alien
    #1

    Hi,
    how to prevent drawer to close by dragging in Qml?
    I know that I can prevent to open the drawer by dragging by set the dragMargin to zero but what about closing?

    1 Reply Last reply
    0
    • jpnurmiJ Offline
      jpnurmiJ Offline
      jpnurmi
      wrote on last edited by jpnurmi
      #2

      Drawer::interactive has been added in Qt Quick Controls 2.2 in Qt 5.9. There's also a simple Side Panel example demonstrating the functionality. You can already give it a try by installing the lastest Qt 5.9 beta for example from the online installer if you're using it.

      AlienA 1 Reply Last reply
      3
      • jpnurmiJ jpnurmi

        Drawer::interactive has been added in Qt Quick Controls 2.2 in Qt 5.9. There's also a simple Side Panel example demonstrating the functionality. You can already give it a try by installing the lastest Qt 5.9 beta for example from the online installer if you're using it.

        AlienA Offline
        AlienA Offline
        Alien
        wrote on last edited by
        #3

        @jpnurmi
        Now I use Qt 5.8.0 what should I do in Qt Quick Control 2.0/2.1 ?

        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