Results 1 to 3 of 3

Thread: Replacement function for setOn QPushButton qt4?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Replacement function for setOn QPushButton qt4?

    As Chris said the equivalent to setOn(bool) is setChecked(bool).
    setCheckable(bool) is the equivalent to setToggleButton(bool)

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    yapatel (9th April 2014)

Similar Threads

  1. Replies: 4
    Last Post: 20th October 2011, 11:24
  2. connect a QPushButton matrix with a function
    By harmodrew in forum Newbie
    Replies: 6
    Last Post: 6th August 2010, 11:11
  3. QPushButton function
    By maider in forum Qt Programming
    Replies: 7
    Last Post: 22nd October 2009, 15:01
  4. Console replacement
    By aegis in forum Qt Programming
    Replies: 14
    Last Post: 3rd April 2007, 00:38
  5. Replacement of Images
    By merry in forum Qt Programming
    Replies: 5
    Last Post: 1st March 2007, 10:16

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.