Results 1 to 2 of 2

Thread: QCheckBox

  1. #1
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default QCheckBox

    Hello forum,


    I want to set the value of the check box(checked or unchecked) based on the value of some other value from the application logic. I do not see anything in the manual to set the check box value.

    Any hint would be of great help.



    Regards
    Sajjad

  2. #2
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QCheckBox

    void setCheckState ( Qt::CheckState state ) found in
    http://doc-snapshot.qt-project.org/4.8/qcheckbox.html

  3. The following user says thank you to Le_B for this useful post:

    sajis997 (2nd May 2012)

Similar Threads

  1. QCheckBox example?
    By Milardo in forum Newbie
    Replies: 14
    Last Post: 9th December 2010, 07:36
  2. About QCheckBox
    By liushuo0826 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 16th April 2010, 06:14
  3. QCheckBox value
    By Koas in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2009, 13:33
  4. QCheckbox
    By sonuani in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2008, 13:12
  5. Which QCheckBox is checked?
    By Craig.Smith in forum Qt Programming
    Replies: 2
    Last Post: 9th November 2007, 14:52

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.