質問

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