The only way I got this working is by doing some ShaderEffect with a custom
FragmentShader. That way you can control the alpha for each fragment and
make whatever you want. Note, it's not a good idea to have too many of them
but for some specific task it should be ok.

If you only want to have 2 round corner, you could use rectangle with
corner and another without above the rounded with smaller dimension of the
radius and x,y offset according to top/bottom/left/right corner wanted:


   -----------
  /           \
 /             \        |--------------|
|               |    +  |              |
|               |       |              |
 \             /        |              |
  \-----------/         |______________|

z: 0                     z:1

On Tue, May 10, 2016 at 12:56 PM, Jason H <jh...@gmx.com> wrote:

> I'm looking for a toggle-able mnubar, iOS style. It should be easy enough,
> except that it is rounded on two corners (left or right edge).
>
> Does anyone know how to to just 2 rounded corners or of a complete QML
> item?
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to