Results 1 to 2 of 2

Thread: QTableWidget Highlighting and Selection Colors

  1. #1
    Join Date
    Sep 2009
    Posts
    64

    Default QTableWidget Highlighting and Selection Colors

    Hi everyone! Couple questions for you...

    1. Is it possible, and if it is how can i do it, to make a row of items in my QTableWidget to be outlined with a color? so, basically, i select a row in my table, and i know i can iterate through each column and call setSelect(false) to unselect the row, but is it possible to give the ROW itself an outlined color?

    2. Is it possible to change the selection color? Im sure its some style sheet property i just dont know what its called or how to set it.

    Any help is greatly appreciated! Thanks!

  2. #2
    Join Date
    Sep 2009
    Posts
    64

    Default Re: QTableWidget Highlighting and Selection Colors

    forget the 2nd question, i found that... but the first still stands

Similar Threads

  1. QTableWidget row selection
    By BingoMaster in forum Newbie
    Replies: 5
    Last Post: 17th October 2009, 23:39
  2. QTableWidget, selection problem
    By stella1016 in forum Qt Programming
    Replies: 2
    Last Post: 6th October 2009, 16:49
  3. QTableWidget || QListWIdget with syntax highlighting
    By ericV in forum Qt Programming
    Replies: 7
    Last Post: 21st August 2009, 14:26
  4. Setting background colors to rows in QTableWidget
    By cnbp173 in forum Qt Programming
    Replies: 0
    Last Post: 24th April 2009, 18:38
  5. Selection in QTableWidget
    By Nippler in forum Qt Programming
    Replies: 3
    Last Post: 30th April 2008, 09:32

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.