Results 1 to 3 of 3

Thread: QTableWidget::item to Double?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default QTableWidget::item to Double?

    How do I convert QTableWidget::item to double?

    Qt Code:
    1. void Method::setMatrix()
    2. {
    3. for (int i = 0; i < rowCount; ++i)
    4. {
    5. for (int j = 0; j < columnCount; ++j)
    6. {
    7. a[i][j] = table->item(i, j);
    8. }
    9. }
    10. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by wysota; 30th October 2006 at 07:48. Reason: missing [code] tags

Similar Threads

  1. Auto text select in QTableWidgetItem
    By tstankey in forum Newbie
    Replies: 2
    Last Post: 5th October 2006, 20:40
  2. Interesting little Segfault w/r to signal/slot connection
    By Hydragyrum in forum Qt Programming
    Replies: 24
    Last Post: 12th September 2006, 19:22
  3. Replies: 1
    Last Post: 17th May 2006, 00:23
  4. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40
  5. Replies: 5
    Last Post: 12th January 2006, 15:40

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.