Results 1 to 2 of 2

Thread: Change color of only the first row in QML/Qt TableView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    518
    Thanks
    13
    Thanked 77 Times in 75 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Change color of only the first row in QML/Qt TableView

    Hi, probably item.index1 is not what you expect it to be. Use a debugger to check the value for the other rows.

    Ginsengelf

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

    TheIndependentAquarius (4th January 2021)

Similar Threads

  1. Replies: 0
    Last Post: 2nd December 2020, 16:06
  2. Replies: 4
    Last Post: 3rd July 2014, 14:52
  3. color specified cell in a tableview
    By poporacer in forum Newbie
    Replies: 1
    Last Post: 29th March 2011, 20:52
  4. Replies: 3
    Last Post: 22nd January 2010, 16:46
  5. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25

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.