Results 1 to 1 of 1

Thread: QStandardItem color modification

  1. #1
    Join Date
    Sep 2009
    Posts
    49
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QStandardItem color modification

    Related to: PyQt 4.6.1

    image 1:
    As shown in the image when you click an item (QStandardItem), it turns background color to dark blue. I need to remove this functionality. The band around item is fine for me.

    image 2:
    When item lost focus (still selected), item's background color change to win color, remove this functionality also.

    image 3:
    When you select another item, only then previously selected item's bg color is visible. What I need is that in any situation item's bg color should be visible.

    I am using this widget as color array storage. If above mentioned things won't possible with QStandardItem & QTableView, I would like to other possibilities( other widgets), where I can mimic the similar behavior.
    Attached Images Attached Images
    Prashant


    qt-sdk-win-opensource-2009.03.1.exe
    Python 2.6.3
    PyQt-Py2.6-gpl-4.6-1
    Win XP, 32 Bit

Similar Threads

  1. QStandardItem : subpart of the text as bold
    By titoo in forum Qt Programming
    Replies: 5
    Last Post: 1st November 2012, 09:34
  2. Deleting rows (children) from a qstandarditem
    By Valheru in forum Qt Programming
    Replies: 4
    Last Post: 29th March 2012, 16:04
  3. UTF8 and QStandardItem?
    By alexandernst in forum Newbie
    Replies: 17
    Last Post: 26th July 2009, 18:29
  4. Question on checkable QStandardItem in QTreeView
    By ttvo in forum Qt Programming
    Replies: 1
    Last Post: 3rd April 2009, 00:30
  5. Subclassing QStandardItem
    By aLiNuSh in forum Newbie
    Replies: 4
    Last Post: 5th April 2007, 20:00

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.