Results 1 to 3 of 3

Thread: Getting palletForegroundColor of QTableItem

  1. #1
    Join Date
    Aug 2006
    Posts
    6
    Qt products
    Qt3
    Platforms
    Windows

    Default Getting palletForegroundColor of QTableItem

    Hi,

    Using paint method, each item of a table is filled with different foreground colors. I want to get the foreground color of each item. How to achieve?

    Regards,
    Lawrence

  2. #2
    Join Date
    Jan 2006
    Location
    Florida
    Posts
    24
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Re: Getting palletForegroundColor of QTableItem

    Can you be a bit more specific? Do you have code of what you are currently doing? The items in the table, are they just text? Are you referring to QTableView of QTableWidget?

  3. #3
    Join Date
    Aug 2006
    Posts
    6
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: Getting palletForegroundColor of QTableItem

    I am testing an application with automated test tool. The application has a QTable. The items in the table are text. The text are written in the table using paint method. I have to get the foreground color of the QTableItem. Please suggest me the code in Qt 3...

    Regards,
    Lawrence

Similar Threads

  1. problem of subclass QTableItem
    By hesummar in forum Qt Programming
    Replies: 1
    Last Post: 4th November 2006, 09:41
  2. Problems with QTableItem
    By villy in forum Qt Programming
    Replies: 1
    Last Post: 19th August 2006, 12:19
  3. Problem in SubClassing QTableItem.
    By sumsin in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2006, 10:21

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.