Results 1 to 15 of 15

Thread: QCheckBox example?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    13
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: QCheckBox example?

    So if you write
    Qt Code:
    1. if (ui->check2pass->isChecked()){
    2. args << "-pass"; args << "2";
    3. } else {
    4. qDebug("Failed Event.");
    5. }
    To copy to clipboard, switch view to plain text mode 

    It will print out Failed Event?

  2. #2
    Join Date
    Sep 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QCheckBox example?

    sorry i can't verify that as i'm on a different computer now but i will try that any other suggestions would be welcome.

Similar Threads

  1. About QCheckBox
    By liushuo0826 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 16th April 2010, 07:14
  2. QCheckBox in QTreeWidget
    By Kode.Cooper in forum Qt Programming
    Replies: 3
    Last Post: 25th March 2010, 06:55
  3. QCheckBox value
    By Koas in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2009, 14:33
  4. Read-only QCheckBox
    By alu23 in forum Qt Programming
    Replies: 2
    Last Post: 22nd April 2008, 17:25
  5. QCheckbox
    By sonuani in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2008, 14:12

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.