[英]How to show or create a 360 Rotating dial in Qt?
Are there any Widget
in Qt
by which a 360 rotating dial can be displayed? Qt
是否有可显示360度旋转刻度盘的Widget
? I want to show just like below. 我想显示如下。 But there would be a indicator. 但是会有一个指标。 If the user rotate this indicator, current angular position of indicator in degree will be displayed in a QLineEdit
. 如果用户旋转该指示器, QLineEdit
度为单位的指示器的当前角度位置将显示在QLineEdit
。 I have already searched by using QDial
, but unfortunately didn't get any function for this. 我已经使用QDial
进行了搜索,但是不幸的是没有得到任何功能。
I would appreciate any help. 我将不胜感激任何帮助。 Thanks in advance. 提前致谢。
Qt's QDial
is merely a wrapper around a platform-dependend fancy dial. Qt的QDial
只是围绕平台依赖的精美表盘的包装。
Try QwtDial
from the Qwt library at http://qwt.sourceforge.net/ for more control over the appearance and behaviour. 从http://qwt.sourceforge.net/的Qwt库尝试QwtDial
,以更好地控制外观和行为。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.