[Qt-qml] Title bar in a rounded rectangle

Alex alexlordax+qt at gmail.com
Wed Sep 1 03:17:46 CEST 2010


Hi all,

This is kind of a frivolous thing, but I thought I'd ask :-)

I haven't found a good way to create a rounded rectangle with a title
bar, such as the following example:

http://development.lombardi.com/wp-content/uploads/2009/04/panelwithtitleandbutton.png

Since it is not possible to round individual corners, I can't just put
two rectangles in a Column.  BorderImage seems like overkill.

Is there a good way to do this?

Cheers,
Alex



More information about the Qt-qml mailing list