Results 1 to 3 of 3

Thread: Avoiding unwanted button signals.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    139
    Thanks
    13
    Thanked 59 Times in 52 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Avoiding unwanted button signals.

    Try adding:
    Qt Code:
    1. Button -> setAutoDefault(false);
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Aug 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Avoiding unwanted button signals.

    Quote Originally Posted by numbat View Post
    Try adding:
    Qt Code:
    1. Button -> setAutoDefault(false);
    To copy to clipboard, switch view to plain text mode 
    Yes indeed, that fixes it.

    Excellent!

Similar Threads

  1. how to set Push Button PopMenu Signals?
    By augusbas in forum Newbie
    Replies: 4
    Last Post: 6th July 2009, 04:18
  2. Avoiding system signals
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 7th January 2009, 14:37
  3. Unwanted padding on QWidget
    By etru1927 in forum Qt Programming
    Replies: 4
    Last Post: 7th August 2008, 07:42
  4. QMdiArea unwanted actvation
    By fullmetalcoder in forum Qt Programming
    Replies: 7
    Last Post: 12th November 2007, 07:09
  5. Button with signals and slots
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 4th December 2006, 22:24

Tags for this Thread

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.