Results 1 to 2 of 2

Thread: Need help to create Transparent QTreeView

  1. #1
    Join Date
    Dec 2008
    Location
    PUNE (INDIA)
    Posts
    49
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    11
    Thanked 1 Time in 1 Post

    Post Need help to create Transparent QTreeView

    Hi all intelligent peple.
    I am developing an application in which i have a QTreeView.
    I want to make it transparent , so that i can see the (image , logo etc) which is behind the QTreeView.

    Best Example to explain the problem is (TreeView in Catia )
    Attached Images Attached Images
    Thanks & Regards ,

    Vajindar Laddad .
    Trainee Developer.
    (INDIA).
    91+9325014248

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Need help to create Transparent QTreeView

    Qt Code:
    1. treeView->setStyleSheet("QTreeView { backround: transparent }");
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

Similar Threads

  1. Transparent QTreeView
    By vajindarladdad in forum Newbie
    Replies: 1
    Last Post: 26th December 2008, 12:41

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.