Sorry for the lame question and for not really knowing the name of the widget depicted bellow.

I looked around in the Qt examples and couldn't find anything similar. Any hints on how to implement this or knowledge of someone that released this kind of widget?

Ideally I would like to have that widget "pointing" to QAction (or QWidgetActon for that matter) and regular buttons (QPush & Tool).

enter image description here

有帮助吗?

解决方案

There's no such widget in Qt, but you can create your own custom shaped one.

Check the Shaped Clock Example and QWidget::setMask() method.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top