Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qmouseevent
    Log in to post

    • UNSOLVED How can my Mouse Press Event differentiate between different items?
      General and Desktop • c++ qgraphicsview qgraphicsitem qmouseevent rectangles • • MegAmaNeo1  

      8
      0
      Votes
      8
      Posts
      40
      Views

      @MegAmaNeo1 In @jsulm's outline code you need a signal named pressed in CustomItem for connect(&item, CustomItem::pressed ..., and you also need an array/QVector of bool named pressed for pressed[i]. You'll presumably need to rename one of them. And where he writes void QGraphicsItem::mousePressEvent he means your void CustomItem::mousePressEvent override.
    • SOLVED QLineEdit Selection changed()
      General and Desktop • qlineedit qmouseevent qt for windows • • Andrex_Qt  

      3
      0
      Votes
      3
      Posts
      76
      Views

      Thanks for the insight, still my issue was that you have to double click (mouse or touch) the LineEdit to get its selection. Now in place of LineEdit i have used TextEdit, it works on single click. Thanks again for the reply.
    • SOLVED how to capture a mouse leave event only on a specific QWidget ( a QlineEdit ) ?
      General and Desktop • qlineedit qmouseevent • • Lemat  

      6
      0
      Votes
      6
      Posts
      164
      Views

      @Alain38-0 okay, i will use it for another project. thanks.
    • SOLVED Check if button was right clicked or left clicked?
      General and Desktop • button qmouseevent right-click • • legitnameyo  

      15
      0
      Votes
      15
      Posts
      2015
      Views

      Solved it by creating a derivative of the CustomQPushButton class definition! Thanks!
    • UNSOLVED Simulate mouseMoveEvent not working QT
      General and Desktop • qmouseevent • • prasanth  

      2
      0
      Votes
      2
      Posts
      264
      Views

      Did you find the solution please ?
    • SOLVED how can i use mouse event on Qtablewidget
      General and Desktop • qtablewidget qmouseevent • • srikanth  

      8
      0
      Votes
      8
      Posts
      3754
      Views

      Glad it works. So this part is solved then.
    • SOLVED how can i get Delegate for QTableWidget?
      General and Desktop • qtablewidget qmouseevent • • srikanth  

      30
      0
      Votes
      30
      Posts
      10924
      Views

      Glad it works so far. Good luck with the rest.
    • SOLVED How can i add new row to the existing Qtablewidget?
      General and Desktop • qtablewidget qmouseevent • • srikanth  

      5
      0
      Votes
      5
      Posts
      12186
      Views

      @mrjj thanks a lot. solved
    • SOLVED MouseEvent ruined when ...
      General and Desktop • qgraphicsview qgraphicsscene qgraphicsitem qmouseevent position • • Walux  

      4
      0
      Votes
      4
      Posts
      834
      Views

      Yep , fixed !! Biggest achievement of ma layf. Topic->setAsSolvedPolicy(Qt::AlwaysTrue);
    • UNSOLVED QHeaderView mouse tracking fails
      General and Desktop • qheaderview qmouseevent • • Vagabond  

      4
      0
      Votes
      4
      Posts
      1145
      Views

      You're welcome ! You can also check in your profile settings whether the email notification is active. Since you have it working now, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)
    • SOLVED QMouseEvent on button click
      General and Desktop • qmouseevent • • uruloke  

      15
      0
      Votes
      15
      Posts
      4590
      Views

      @mrjj I will, thanks for everything :)
    • About sending mouse events problem
      General and Desktop • qt quick qt 5.4 qmouseevent • • Tank2005  

      1
      0
      Votes
      1
      Posts
      492
      Views

      No one has replied

    • Offset in QMouseEvent based line drawing
      General and Desktop • qgraphicsview qgraphicsscene qt5.4 qmainwindow qmouseevent os x 10.7.5 • • Vyata  

      1
      0
      Votes
      1
      Posts
      820
      Views

      No one has replied

    • Enable/ Disable QMouse Events based on QRect
      General and Desktop • qmouseevent qrect • • Sidii  

      1
      0
      Votes
      1
      Posts
      523
      Views

      No one has replied