Results 1 to 3 of 3

Thread: add items one by one in row using tableWidget

  1. #1
    Join Date
    Nov 2006
    Location
    gurgaon
    Posts
    49
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X

    Post add items one by one in row using tableWidget

    hi all
    i ve one tablewidget:
    i ve ->1 row having 3 col.named----- name,emp id,designation n select
    now i want->add items in next row using one single slot defination with clicking a button named "add item"
    for eg: name emp# desig select
    ----------------------------------------------
    1. abc 123 r&d <checkbutton>


    and->in select column's row i need a checkbutton
    ->n when we checked the checkbutton i wanna show another dialog

    so plz tell me the criteria to follow as soon as possible

    thanks in advance
    thanks & regards
    --------------------
    jyoti

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

    Default Re: add items one by one in row using tableWidget

    Please try to concentrate on the English you write. Avoid abbreviations and try to construct proper sentences so that people can understand what you are saying.

    All slots of QTableWidget have been listed under the topic Public Slots. QTableWidget doesn't have such slot which could be directly connected to a signal offered by a button. It only has QTableWidget::insertRow(int row) which requires an integer as parameter to indicate the row where you want to insert to.
    J-P Nurmi

  3. #3
    Join Date
    Nov 2006
    Location
    gurgaon
    Posts
    49
    Thanks
    12
    Qt products
    Qt4
    Platforms
    MacOS X

    Post Re: add items one by one in row using tableWidget

    thanks for replying..its very good enough...but doesn't meet completly with my requirement ...
    see my form in attachd...actully its a simple concept
    but dont know how to impliment when i had made table using designer...and on click of button items that i had mention in coding comes in next row

    TIA
    Attached Files Attached Files
    thanks & regards
    --------------------
    jyoti

Similar Threads

  1. Get Visible Items from the QListWidget
    By srj in forum Qt Programming
    Replies: 4
    Last Post: 22nd November 2006, 21:13
  2. QGraphicsItem problem - how to save items info ??
    By aamer4yu in forum Qt Programming
    Replies: 3
    Last Post: 17th October 2006, 13:17
  3. Replies: 3
    Last Post: 27th July 2006, 13:48
  4. Selective highlighting of Items
    By Kapil in forum Qt Programming
    Replies: 3
    Last Post: 26th May 2006, 13:20
  5. [Qt4]: Adding centered items in QListWidget
    By Jojo in forum Qt Programming
    Replies: 4
    Last Post: 16th March 2006, 21: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.