Results 1 to 2 of 2

Thread: How to get the row number of checked radio button in QTableWidget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2010
    Location
    Indonesia
    Posts
    83
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo
    Thanked 17 Times in 17 Posts

    Default Re: How to get the row number of checked radio button in QTableWidget

    Use QTableWidget::indexFromItem if you know the item. This method return index which is QModelIndex, and use QModelIndex::row
    Last edited by viulskiez; 26th April 2012 at 10:37. Reason: missing [qtclass] tags
    ~ We are nothing in this universe ~

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

    rawfool (26th April 2012)

Similar Threads

  1. how to check radio button
    By tommy in forum Newbie
    Replies: 2
    Last Post: 24th February 2012, 02:50
  2. Replies: 2
    Last Post: 6th June 2011, 09:40
  3. Coloring of Radio Button
    By jogeshwarakundi in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 22nd July 2008, 15:05
  4. QTreeWidgetItem + radio Button
    By desch in forum Qt Programming
    Replies: 5
    Last Post: 14th November 2007, 14:15
  5. Paint XP radio button to pixmap
    By Ben.Hines in forum Qt Programming
    Replies: 2
    Last Post: 26th April 2006, 21:15

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.