Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. A drop shadow question
QtWS25 Last Chance

A drop shadow question

Scheduled Pinned Locked Moved Unsolved General and Desktop
clocksdropshadowqt5.6
3 Posts 2 Posters 1.1k Views
  • 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 Offline
    B Offline
    BrianE
    wrote on 13 Apr 2016, 23:49 last edited by
    #1

    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
    0
    • J Offline
      J Offline
      JKSH
      Moderators
      wrote on 14 Apr 2016, 00:44 last edited by
      #2

      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
      0
      • B Offline
        B Offline
        BrianE
        wrote on 14 Apr 2016, 01:33 last edited by
        #3

        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
        0

        3/3

        14 Apr 2016, 01:33

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved