[][src]Struct qt_3d_input::QInputSequence

#[repr(C)]pub struct QInputSequence { /* fields omitted */ }

QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other.

C++ class: Qt3DInput::QInputSequence.

C++ documentation:

QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other.

Methods

impl QInputSequence[src]

pub fn slot_set_timeout(&self) -> Receiver<(c_int,)>[src]

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Returns a built-in Qt slot Qt3DInput::QInputSequence::setTimeout that can be passed to qt_core::Signal::connect.

C++ documentation:

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Access functions:

int timeout() const
void setTimeout(int timeout)

Notifier signal:

void timeoutChanged(int timeout)

pub fn slot_set_button_interval(&self) -> Receiver<(c_int,)>[src]

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Returns a built-in Qt slot Qt3DInput::QInputSequence::setButtonInterval that can be passed to qt_core::Signal::connect.

C++ documentation:

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Access functions:

int buttonInterval() const
void setButtonInterval(int buttonInterval)

Notifier signal:

void buttonIntervalChanged(int buttonInterval)

pub fn timeout_changed(&self) -> Signal<(c_int,)>[src]

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Returns a built-in Qt signal Qt3DInput::QInputSequence::timeoutChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Access functions:

int timeout() const
void setTimeout(int timeout)

Notifier signal:

void timeoutChanged(int timeout)

pub fn button_interval_changed(&self) -> Signal<(c_int,)>[src]

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Returns a built-in Qt signal Qt3DInput::QInputSequence::buttonIntervalChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Access functions:

int buttonInterval() const
void setButtonInterval(int buttonInterval)

Notifier signal:

void buttonIntervalChanged(int buttonInterval)

pub unsafe fn add_sequence(
    &self,
    input: impl CastInto<Ptr<QAbstractActionInput>>
)
[src]

Append the QAbstractActionInput input to the end of this QInputSequence's sequence vector.

Calls C++ function: void Qt3DInput::QInputSequence::addSequence(Qt3DInput::QAbstractActionInput* input).

C++ documentation:

Append the QAbstractActionInput input to the end of this QInputSequence's sequence vector.

See also removeSequence.

pub unsafe fn button_interval(&self) -> c_int[src]

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Calls C++ function: int Qt3DInput::QInputSequence::buttonInterval() const.

C++ documentation:

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Access functions:

int buttonInterval() const
void setButtonInterval(int buttonInterval)

Notifier signal:

void buttonIntervalChanged(int buttonInterval)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DInput::QInputSequence::metaObject() const.

pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QInputSequence>[src]

Constructs a new QInputSequence with parent parent.

Calls C++ function: [constructor] void Qt3DInput::QInputSequence::QInputSequence(Qt3DCore::QNode* parent = …).

C++ documentation:

Constructs a new QInputSequence with parent parent.

pub unsafe fn new_0a() -> QBox<QInputSequence>[src]

QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other.

Calls C++ function: [constructor] void Qt3DInput::QInputSequence::QInputSequence().

C++ documentation:

QInputSequence represents a set of QAbstractActionInput's that must be triggerd one after the other.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DInput::QInputSequence::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::QInputSequence::qt_metacast(const char* arg1).

pub unsafe fn remove_sequence(
    &self,
    input: impl CastInto<Ptr<QAbstractActionInput>>
)
[src]

Remove the QAbstractActionInput input from this QInputSequence's sequence vector.

Calls C++ function: void Qt3DInput::QInputSequence::removeSequence(Qt3DInput::QAbstractActionInput* input).

C++ documentation:

Remove the QAbstractActionInput input from this QInputSequence's sequence vector.

See also addSequence.

pub unsafe fn sequences(&self) -> CppBox<QVectorOfQAbstractActionInput>[src]

Returns the QInputSequence's sequence vector.

Calls C++ function: QVector<Qt3DInput::QAbstractActionInput*> Qt3DInput::QInputSequence::sequences() const.

C++ documentation:

Returns the QInputSequence's sequence vector.

pub unsafe fn set_button_interval(&self, button_interval: c_int)[src]

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Calls C++ function: [slot] void Qt3DInput::QInputSequence::setButtonInterval(int buttonInterval).

C++ documentation:

The maximum time in between consecutive QAbstractActionInput's in the input sequence. The time is in milliseconds.

Access functions:

int buttonInterval() const
void setButtonInterval(int buttonInterval)

Notifier signal:

void buttonIntervalChanged(int buttonInterval)

pub unsafe fn set_timeout(&self, timeout: c_int)[src]

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Calls C++ function: [slot] void Qt3DInput::QInputSequence::setTimeout(int timeout).

C++ documentation:

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Access functions:

int timeout() const
void setTimeout(int timeout)

Notifier signal:

void timeoutChanged(int timeout)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn timeout(&self) -> c_int[src]

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Calls C++ function: int Qt3DInput::QInputSequence::timeout() const.

C++ documentation:

The time in which all QAbstractActionInput's in the input sequence must triggered within. The time is in milliseconds.

Access functions:

int timeout() const
void setTimeout(int timeout)

Notifier signal:

void timeoutChanged(int timeout)

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DInput::QInputSequence::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]

Calls C++ function: static QString Qt3DInput::QInputSequence::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QAbstractActionInput>

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DInput::QAbstractActionInput::metaObject() const.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DInput::QAbstractActionInput::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::QAbstractActionInput::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QInputSequence[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DInput::QInputSequence::~QInputSequence().

impl Deref for QInputSequence[src]

type Target = QAbstractActionInput

The resulting type after dereferencing.

fn deref(&self) -> &QAbstractActionInput[src]

Calls C++ function: Qt3DInput::QAbstractActionInput* static_cast<Qt3DInput::QAbstractActionInput*>(Qt3DInput::QInputSequence* ptr).

impl DynamicCast<QInputSequence> for QAbstractActionInput[src]

unsafe fn dynamic_cast(ptr: Ptr<QAbstractActionInput>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* dynamic_cast<Qt3DInput::QInputSequence*>(Qt3DInput::QAbstractActionInput* ptr).

impl DynamicCast<QInputSequence> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* dynamic_cast<Qt3DInput::QInputSequence*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QInputSequence> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* dynamic_cast<Qt3DInput::QInputSequence*>(QObject* ptr).

impl StaticDowncast<QInputSequence> for QAbstractActionInput[src]

unsafe fn static_downcast(ptr: Ptr<QAbstractActionInput>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* static_cast<Qt3DInput::QInputSequence*>(Qt3DInput::QAbstractActionInput* ptr).

impl StaticDowncast<QInputSequence> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* static_cast<Qt3DInput::QInputSequence*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QInputSequence> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QInputSequence>[src]

Calls C++ function: Qt3DInput::QInputSequence* static_cast<Qt3DInput::QInputSequence*>(QObject* ptr).

impl StaticUpcast<QAbstractActionInput> for QInputSequence[src]

unsafe fn static_upcast(ptr: Ptr<QInputSequence>) -> Ptr<QAbstractActionInput>[src]

Calls C++ function: Qt3DInput::QAbstractActionInput* static_cast<Qt3DInput::QAbstractActionInput*>(Qt3DInput::QInputSequence* ptr).

impl StaticUpcast<QNode> for QInputSequence[src]

unsafe fn static_upcast(ptr: Ptr<QInputSequence>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DInput::QInputSequence* ptr).

impl StaticUpcast<QObject> for QInputSequence[src]

unsafe fn static_upcast(ptr: Ptr<QInputSequence>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DInput::QInputSequence* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.