Results 1 to 2 of 2

Thread: QML dropshadow, how to enable it?

  1. #1
    Join Date
    Oct 2009
    Posts
    47
    Thanks
    10

    Default QML dropshadow, how to enable it?

    Hi I was trying to enable the drop shadow effect applying it to a rectangle but it seems they took out DROP SHADOW from 4.7 due to performance issues. They did say however I can re-enable it by doing the following:
    > qmlRegisterType<QGraphicsDropShadowEffect>("Effect s",1,0,"DropShadow");

    then I tried

    import Effects 1.0
    note: Effects doesn't have a space in it like the above text shows
    but this doesn't work.

    Any ideas what I'm doing wrong?

    The thread on why they took it out is here: http://lists.trolltech.com/pipermail...il/000228.html

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QML dropshadow, how to enable it?

    Could you explain what "doesn't work" means?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QTableView enable
    By Daxos in forum Newbie
    Replies: 1
    Last Post: 30th June 2010, 08:47
  2. Adding full dropshadow to QWidget
    By jburnette in forum Qt Programming
    Replies: 0
    Last Post: 28th May 2010, 17:35
  3. Vista top-level frameless qwidget with dropshadow
    By zebylong in forum Qt Programming
    Replies: 0
    Last Post: 2nd October 2009, 18:18
  4. cant enable dbus
    By khcbabu in forum Installation and Deployment
    Replies: 1
    Last Post: 19th February 2009, 21:05
  5. enable all Tooltips
    By clive in forum Qt Programming
    Replies: 3
    Last Post: 2nd January 2008, 12:08

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.