Results 1 to 2 of 2

Thread: QTreeWidgetItem setting color for the text

  1. #1
    Join Date
    Jul 2007
    Posts
    39
    Thanks
    10

    Default QTreeWidgetItem setting color for the text

    Hi all

    I have a QTreeWidgetItem in which I display some text. Is it possible to color these text? Right now I am using setText() to set the text content of the item.

    Thanks
    Arjun

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidgetItem setting color for the text


Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Replies: 2
    Last Post: 23rd July 2012, 08:42
  3. Setting Max Limit in Text Box
    By kenny_isles in forum Newbie
    Replies: 4
    Last Post: 15th August 2007, 08:40
  4. Setting color in a QTreeWidget text
    By brevleq in forum Qt Programming
    Replies: 4
    Last Post: 10th August 2007, 19:21
  5. Setting text color on QLabel
    By Yorma in forum Newbie
    Replies: 11
    Last Post: 15th June 2006, 07: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.