Results 1 to 2 of 2

Thread: searching in a TableWidget

  1. #1
    Join Date
    Mar 2008
    Location
    Morocco
    Posts
    47
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default searching in a TableWidget

    Hi..
    I would like to know if there is a way to search for a row in a QtableWidget..
    I mean ..in my application I associate the Find bouton to a small QdialogBox on which the user tape the name of the a data .. nd from that Qstring he puts (if it exist) the row must be selected..
    I looked at the TableWidget documentations but I didnt find some special methode for that?
    if some one have an idea !!
    thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: searching in a TableWidget

    Quote Originally Posted by peace_comp View Post
    I looked at the TableWidget documentations but I didnt find some special methode for that?
    What did you look for? There is QTableWidget::findItems().
    J-P Nurmi

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

    peace_comp (17th May 2008)

Similar Threads

  1. Searching files from directories & its subdirectories
    By ashukla in forum Qt Programming
    Replies: 4
    Last Post: 12th April 2014, 13:57
  2. Adding a toolbar to a TableWidget
    By Walter in forum Qt Programming
    Replies: 2
    Last Post: 1st July 2007, 22:13
  3. Qt IDE Windows - still searching...
    By magland in forum General Discussion
    Replies: 8
    Last Post: 25th June 2007, 01:12
  4. Replies: 2
    Last Post: 23rd November 2006, 12:33
  5. tablewidget and pixmap
    By magoo in forum Qt Programming
    Replies: 7
    Last Post: 8th November 2006, 22:04

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.