Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved A drop shadow question

    General and Desktop
    clocks dropshadow qt5.6
    2
    3
    790
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BrianE last edited by

      Qt 5.6 on Windows10. Using the analogue shapedclock as a template I created my own clock. I liked the old Windows7 desktop widgets clock with the red face so I used the face and hands from that. All works fine except that there are no nice drop shadows like on the original. Obviously something clever is going on somewhere and I cannot find it. I've searched here and in the documentation. Could anyone guide me towards a solution?

      1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators last edited by

        Hi,

        Perhaps this might help? http://doc.qt.io/qt-5/qgraphicsdropshadoweffect.html

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply Reply Quote 0
        • B
          BrianE last edited by

          Thank you. Investigated and tried it. You cannot do setGraphicsEffect on a QImage which is what I'm using to draw the clock face and hands. Still no shadows then.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post