Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to restrict a movable container within a region?
Forum Updated to NodeBB v4.3 + New Features

How to restrict a movable container within a region?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 397 Views
  • 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.
  • K Offline
    K Offline
    kishore_hemmady
    wrote on last edited by
    #1

    I'm using this container from the below link
    https://wiki.qt.io/Widget-moveable-and-resizeable
    Can dockwidgets help??

    M 1 Reply Last reply
    0
    • K kishore_hemmady

      I'm using this container from the below link
      https://wiki.qt.io/Widget-moveable-and-resizeable
      Can dockwidgets help??

      M Offline
      M Offline
      mvuori
      wrote on last edited by
      #2

      You can, at least, check the position in moveEvent() & resizeEvent() whether it is contained by something & move it accordingly.

      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