Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Drag n Drop Button and Drop-down menu PyQt/Qt designer
Forum Updated to NodeBB v4.3 + New Features

Drag n Drop Button and Drop-down menu PyQt/Qt designer

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 2.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.
  • M Offline
    M Offline
    mr_lindowsmac
    wrote on last edited by
    #1

    I would like to know the "best practice" to change the behavior of some buttons to do the following:

    I want with a simple click to appear a menu. Or when you drag the same button you could drop it in another and this will "draw" a line connecting them.

    I was using the Qt designer and I realize that the buttons properties only the "acceptDrops" property is listed, but I can't make it work. Signals/Slots doesn't list something about dragging or dropping.

    So I think that the only way to do it is creating a "Custom Widget" or "reimplementing" a button by code. Maybe the same thing with Signals/Slots

    What is the best approach to do so if I don't want to modify the pyuic generated file? Any help will be appreciated.

    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