[−][src]Struct qt_3d_input::QAxisSetting
QAxisSetting stores settings for the specified list of Axis.
C++ class: Qt3DInput::QAxisSetting
.
QAxisSetting stores settings for the specified list of Axis.
Stores the dead zone associated with this axis and defines if smoothing is enabled
Methods
impl QAxisSetting
[src]
pub fn slot_set_dead_zone_radius(&self) -> Receiver<(c_float,)>
[src]
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Returns a built-in Qt slot Qt3DInput::QAxisSetting::setDeadZoneRadius
that can be passed to qt_core::Signal::connect
.
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Note: Setter function for property deadZoneRadius.
See also deadZoneRadius().
pub fn slot_set_axes(&self) -> Receiver<(*const QVectorOfInt,)>
[src]
Set the current axes of the QAxisSetting instance to axes.
Returns a built-in Qt slot Qt3DInput::QAxisSetting::setAxes
that can be passed to qt_core::Signal::connect
.
Set the current axes of the QAxisSetting instance to axes.
Note: Setter function for property axes.
See also axes().
pub fn slot_set_smooth_enabled(&self) -> Receiver<(bool,)>
[src]
Set the current state of the QAxisSettings smoothing to enabled.
Returns a built-in Qt slot Qt3DInput::QAxisSetting::setSmoothEnabled
that can be passed to qt_core::Signal::connect
.
Set the current state of the QAxisSettings smoothing to enabled.
Note: Setter function for property smooth.
See also isSmoothEnabled().
pub fn dead_zone_radius_changed(&self) -> Signal<(c_float,)>
[src]
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.
Returns a built-in Qt signal Qt3DInput::QAxisSetting::deadZoneRadiusChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.
Note: Notifier signal for property deadZoneRadius.
pub fn axes_changed(&self) -> Signal<(*const QVectorOfInt,)>
[src]
This signal is emitted when the axes associated with the axis setting is changed to axes.
Returns a built-in Qt signal Qt3DInput::QAxisSetting::axesChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the axes associated with the axis setting is changed to axes.
Note: Notifier signal for property axes.
pub fn smooth_changed(&self) -> Signal<(bool,)>
[src]
This signal is emitted when the smoothing state is changed to smooth.
Returns a built-in Qt signal Qt3DInput::QAxisSetting::smoothChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the smoothing state is changed to smooth.
Note: Notifier signal for property smooth.
pub unsafe fn axes(&self) -> CppBox<QVectorOfInt>
[src]
Access functions:
Calls C++ function: QVector<int> Qt3DInput::QAxisSetting::axes() const
.
pub unsafe fn dead_zone_radius(&self) -> c_float
[src]
Access functions:
Calls C++ function: float Qt3DInput::QAxisSetting::deadZoneRadius() const
.
Access functions:
float | deadZoneRadius() const |
void | setDeadZoneRadius(float deadZoneRadius) |
Notifier signal:
void | deadZoneRadiusChanged(float deadZoneRadius) |
pub unsafe fn is_smooth_enabled(&self) -> bool
[src]
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Calls C++ function: bool Qt3DInput::QAxisSetting::isSmoothEnabled() const
.
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Note: Getter function for property smooth.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DInput::QAxisSetting::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QAxisSetting>
[src]
Constructs a new QAxisSetting instance with parent.
Calls C++ function: [constructor] void Qt3DInput::QAxisSetting::QAxisSetting(Qt3DCore::QNode* parent = …)
.
Constructs a new QAxisSetting instance with parent.
pub unsafe fn new_0a() -> QBox<QAxisSetting>
[src]
QAxisSetting stores settings for the specified list of Axis.
Calls C++ function: [constructor] void Qt3DInput::QAxisSetting::QAxisSetting()
.
QAxisSetting stores settings for the specified list of Axis.
Stores the dead zone associated with this axis and defines if smoothing is enabled
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DInput::QAxisSetting::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
Calls C++ function: virtual void* Qt3DInput::QAxisSetting::qt_metacast(const char* arg1)
.
pub unsafe fn set_axes(&self, axes: impl CastInto<Ref<QVectorOfInt>>)
[src]
Set the current axes of the QAxisSetting instance to axes.
Calls C++ function: [slot] void Qt3DInput::QAxisSetting::setAxes(const QVector<int>& axes)
.
Set the current axes of the QAxisSetting instance to axes.
Note: Setter function for property axes.
See also axes().
pub unsafe fn set_dead_zone_radius(&self, dead_zone_radius: c_float)
[src]
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Calls C++ function: [slot] void Qt3DInput::QAxisSetting::setDeadZoneRadius(float deadZoneRadius)
.
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Note: Setter function for property deadZoneRadius.
See also deadZoneRadius().
pub unsafe fn set_smooth_enabled(&self, enabled: bool)
[src]
Set the current state of the QAxisSettings smoothing to enabled.
Calls C++ function: [slot] void Qt3DInput::QAxisSetting::setSmoothEnabled(bool enabled)
.
Set the current state of the QAxisSettings smoothing to enabled.
Note: Setter function for property smooth.
See also isSmoothEnabled().
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DInput::QAxisSetting::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DInput::QAxisSetting::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QAxisSetting
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DInput::QAxisSetting::~QAxisSetting()
.
impl Deref for QAxisSetting
[src]
type Target = QNode
The resulting type after dereferencing.
fn deref(&self) -> &QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QAxisSetting* ptr)
.
impl DynamicCast<QAxisSetting> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QAxisSetting>
[src]
Calls C++ function: Qt3DInput::QAxisSetting* dynamic_cast<Qt3DInput::QAxisSetting*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QAxisSetting> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAxisSetting>
[src]
Calls C++ function: Qt3DInput::QAxisSetting* dynamic_cast<Qt3DInput::QAxisSetting*>(QObject* ptr)
.
impl StaticDowncast<QAxisSetting> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QAxisSetting>
[src]
Calls C++ function: Qt3DInput::QAxisSetting* static_cast<Qt3DInput::QAxisSetting*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QAxisSetting> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAxisSetting>
[src]
Calls C++ function: Qt3DInput::QAxisSetting* static_cast<Qt3DInput::QAxisSetting*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QAxisSetting
[src]
unsafe fn static_upcast(ptr: Ptr<QAxisSetting>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QAxisSetting* ptr)
.
impl StaticUpcast<QObject> for QAxisSetting
[src]
unsafe fn static_upcast(ptr: Ptr<QAxisSetting>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DInput::QAxisSetting* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QAxisSetting
impl Send for QAxisSetting
impl Sync for QAxisSetting
impl Unpin for QAxisSetting
impl UnwindSafe for QAxisSetting
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,