Results 1 to 10 of 10

Thread: QtListView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QtListView

    Qt Code:
    1. tableWidget->verticalHeader()->hide();
    To copy to clipboard, switch view to plain text mode 
    Is that what you want?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    Nazgul (20th March 2011)

  3. #2
    Join Date
    Mar 2011
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default Re: QtListView

    Quote Originally Posted by wysota View Post
    Qt Code:
    1. tableWidget->verticalHeader()->hide();
    To copy to clipboard, switch view to plain text mode 
    Is that what you want?
    thanks that worked

    Now gotta find a solution to that other problem, ideas?

  4. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: QtListView

    The other warning message is probably coming from using the same QTableWidgetItem several times in calls to setItem(). If you want to add three cells each containing the same value you should create three separate QTableWidgetItems with the same value and add those.

    If that is not what you are doing then you will need to show the offending code.

  5. The following user says thank you to ChrisW67 for this useful post:

    Nazgul (21st March 2011)

  6. #4
    Join Date
    Mar 2011
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default Re: QtListView

    Ye, you're right (again), thanks I used twice the QTableWidgetItem.

    Could be closes now.

Similar Threads

  1. QtListView::connect
    By John-P in forum Qt Programming
    Replies: 8
    Last Post: 28th January 2010, 12:03

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.