×

Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    13

    How to make QListWidget transparent

    Now i need the QListWidget show the picture of the background ,how should i do?

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to make QListWidget transparent

    Yes ,
    You can do it ,

    Try this different style for doing that, Use the below link :
    http://doc.qt.nokia.com/4.6/qapplica...tml#setStyle-2

    And use the motif style for doing that..

    Best regards,

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    13

    Re: How to make QListWidget transparent

    thanks for your reply
    but actually i don't konw how to do also.
    i want to insert an image to show my problem ,but i don't konw how to insert .what a pity!

  4. #4
    Registered User
    Join Date
    Sep 2009
    Posts
    13

    Re: How to make QListWidget transparent

    hi,
    i do want to know why the style is related to QListWidget's transparent

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    13

    How to make the QListWidgetItem transparent

    I want the QListWidgetItem at the right part transparent so that the background picture can be shown. How should i do? thanks
    Last edited by tfjy2008; 2010-05-26 at 10:03.

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to make QListWidget transparent

    There is an example of customizing
    QListView (for the QListWidget it's being the same)
    http://doc.trolltech.com/4.6/stylesh...zing-qlistview
    property of your interest is background-image
    You should apply these style-sheet rules with QApplication::setStyleSheet() or QWidget::setStyleSheet()
    http://doc.qt.nokia.com/4.6/qapplica...tyleSheet-prop
    http://doc.qt.nokia.com/4.6/qwidget....tyleSheet-prop

    Check out also this thread also
    http://discussion.forum.nokia.com/fo...d.php?t=192017

Similar Threads

  1. Replies: 17
    Last Post: 2009-11-21, 11:45
  2. Trying to build a HelloWorld Application
    By Zarnick in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 10
    Last Post: 2009-07-15, 21:57
  3. How to build GCCE target
    By dsiorpaes in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2008-09-18, 06:54
  4. How to make "Basic Container" view transparent and set icons at runtime?
    By herman_du plessis in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-09-01, 12:15
  5. How to install uSTL in Symbian OS
    By sindywyw in forum Symbian C++
    Replies: 13
    Last Post: 2008-08-19, 12:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •