NaviNIBS.util.GUI.QDial module¶
- class NaviNIBS.util.GUI.QDial.AngleDial(value=0.0, resolution=0.1, singleStep=None, pageStep=None, doInvert=False, offsetAngle=0.0, centerAngle=180.0, enabled=True, maxDialHeight=100, layout=None)[source]¶
Bases:
object
- Parameters:
_value
_resolution
_singleStep
_pageStep
_doInvert – When doInvert is False, clockwise rotation from 0 increases the angle.
_offsetAngle – In degrees. When offset is zero, value=0 is pointing down. When offset is +90 (and doInvert is False), value=0 is pointing left.
_centerAngle – In degrees. When centerAngle is zero, values range from (-180, 180). When centerAngle is 180, values range from (0, 360).
_enabled
_maxDialHeight
_layout
- _value: float¶
- _resolution: float¶
- _singleStep: float | None¶
- _pageStep: float | None¶
- _doInvert: bool¶
When doInvert is False, clockwise rotation from 0 increases the angle.
- _offsetAngle: float¶
In degrees. When offset is zero, value=0 is pointing down. When offset is +90 (and doInvert is False), value=0 is pointing left.
- _centerAngle: float¶
In degrees. When centerAngle is zero, values range from (-180, 180). When centerAngle is 180, values range from (0, 360).
- _enabled: bool¶
- sigValueMoved: Signal¶
Emitted frequentlny while dial is moved or while numeric field is edited. Connect to this if you want to respond immediately to any GUI changes.
- sigValueChanged: Signal¶
Emitted less frequently while dial is moved, or after numeric field signals editingFinished. Connect to this if you want to only start responding after a change is finalized.
- property wdgt¶
- property value¶
- property enabled¶