Results 1 to 4 of 4

Thread: Push button double click

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Push button double click

    My question is why would qt allow this. If the dialog has been closed and there is a buffered click action, shouldn't it just ignore that second click? When the signal is issued, the button is hidden. Working around this is easy enough. It just doesn't seem correct to issue a clicked signal from a button that is hidden.

  2. #2
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 42 Times in 37 Posts

    Default Re: Push button double click

    Quote Originally Posted by curtisw
    My question is why would qt allow this. If the dialog has been closed and there is a buffered click action, shouldn't it just ignore that second click? When the signal is issued, the button is hidden. Working around this is easy enough. It just doesn't seem correct to issue a clicked signal from a button that is hidden.
    It wasn't hidden when you did the second click - so the behaviour is quite correct.
    Save yourself some pain. Learn C++ before learning Qt.

Similar Threads

  1. Double Click Capturing
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2011, 14:12
  2. Replies: 2
    Last Post: 11th January 2009, 23:24
  3. QPaintEvent on button click?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2007, 08:44
  4. QGraphicsScene Click / Double Click
    By philentropist in forum Qt Programming
    Replies: 1
    Last Post: 9th February 2007, 04:32
  5. Replies: 5
    Last Post: 12th January 2006, 15:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.