Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I want to catch a paste action from a widget

I want to catch a paste action from a widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 250 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.
  • J Offline
    J Offline
    jane477
    wrote on last edited by jane477
    #1

    Good day everyone

    I want my application to begin by showing a void field with book report template.. I would like to catch a "paste" event to insert in this case a QPixmap in the area when the data are an image. How can I do that

    jsulmJ 1 Reply Last reply
    0
    • J jane477

      Good day everyone

      I want my application to begin by showing a void field with book report template.. I would like to catch a "paste" event to insert in this case a QPixmap in the area when the data are an image. How can I do that

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jane477 I guess you mean drop event?
      https://doc.qt.io/qt-5/qwidget.html#dropEvent

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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