Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to create a "cut" shadow behind a rectangle?
QtWS25 Last Chance

How to create a "cut" shadow behind a rectangle?

Scheduled Pinned Locked Moved QML and Qt Quick
rectangularglowshadow
2 Posts 2 Posters 969 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.
  • A Offline
    A Offline
    Ayelet Cohen
    wrote on 30 Jul 2015, 05:49 last edited by Ayelet Cohen
    #1

    Hello,

    I'm developing with QtQuick 5.2, and need to create a shadow effect, but with only 3 sides, i.e the rectangle will have a shadow from its left, right, bottom sides, but not from its upper side.
    Something like that: http://s3.postimg.org/6knh8wj37/Cut_Shadow.png
    It's important to do that without clipping container - if possible.

    Thanks a lot,
    Ayelet.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xargs1
      wrote on 30 Jul 2015, 06:16 last edited by
      #2

      Will BorderImage work?

      1 Reply Last reply
      0

      1/2

      30 Jul 2015, 05:49

      • Login

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