Results 1 to 1 of 1

Thread: QAbstractItemView style problem

  1. #1
    Join Date
    Sep 2009
    Posts
    22
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default QAbstractItemView style problem

    Hi all,
    I started from the example SingleItemView from the book "Foundations of Qt Development" by J. Thelin. I'm developing a view made of QComboBoxes, QlineEdits and QCheckBoxes, instead of the QLabel as in the original example.
    I've written down my own model for the tree view and works correctly.
    Now I'd like to modify the appereance of the right frame, in which there is the content of my model data. I've just added the view elements mentioned before, but the background color of the frame is always white.
    I'd like to give to the view widget the aspect of a classic window... Can you give me some hints to do this?

    Thanks,
    Alex

    N.B: i attach the original example hoping there are no problems... If there are copyright problems, tell me and I'll remove quickly the attachment.
    Attached Files Attached Files

Similar Threads

  1. QToolButton + style sheet problem
    By John82 in forum Qt Programming
    Replies: 6
    Last Post: 22nd August 2015, 19:37
  2. QListWidget style icon selection
    By jeremic in forum Qt Programming
    Replies: 1
    Last Post: 26th August 2010, 13:28
  3. Problem with fill style
    By hasmik in forum Qt Programming
    Replies: 3
    Last Post: 14th July 2009, 16:07
  4. QTabWidget transparent background problem
    By destroyar0 in forum Qt Programming
    Replies: 10
    Last Post: 25th June 2009, 12:19
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.