문제

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