[][src]Struct qt_gui::QIconDragEvent

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

The QIconDragEvent class indicates that a main icon drag has begun.

C++ class: QIconDragEvent.

C++ documentation:

The QIconDragEvent class indicates that a main icon drag has begun.

Icon drag events are sent to widgets when the main icon of a window has been dragged away. On macOS, this happens when the proxy icon of a window is dragged off the title bar.

It is normal to begin using drag and drop in response to this event.

Methods

impl QIconDragEvent[src]

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<QIconDragEvent>>
) -> MutRef<QIconDragEvent>
[src]

The QIconDragEvent class indicates that a main icon drag has begun.

Calls C++ function: QIconDragEvent& QIconDragEvent::operator=(const QIconDragEvent& other).

C++ documentation:

The QIconDragEvent class indicates that a main icon drag has begun.

Icon drag events are sent to widgets when the main icon of a window has been dragged away. On macOS, this happens when the proxy icon of a window is dragged off the title bar.

It is normal to begin using drag and drop in response to this event.

pub unsafe fn new() -> CppBox<QIconDragEvent>[src]

Constructs an icon drag event object with the accept flag set to false.

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

C++ documentation:

Constructs an icon drag event object with the accept flag set to false.

See also accept().

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QIconDragEvent>>
) -> CppBox<QIconDragEvent>
[src]

The QIconDragEvent class indicates that a main icon drag has begun.

Calls C++ function: [constructor] void QIconDragEvent::QIconDragEvent(const QIconDragEvent& other).

C++ documentation:

The QIconDragEvent class indicates that a main icon drag has begun.

Icon drag events are sent to widgets when the main icon of a window has been dragged away. On macOS, this happens when the proxy icon of a window is dragged off the title bar.

It is normal to begin using drag and drop in response to this event.

Trait Implementations

impl CppDeletable for QIconDragEvent[src]

unsafe fn delete(&mut self)[src]

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

impl Deref for QIconDragEvent[src]

type Target = QEvent

The resulting type after dereferencing.

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

Calls C++ function: QEvent* static_cast<QEvent*>(QIconDragEvent* ptr).

impl DerefMut for QIconDragEvent[src]

fn deref_mut(&mut self) -> &mut QEvent[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QIconDragEvent* ptr).

impl DynamicCast<QIconDragEvent> for QEvent[src]

unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QIconDragEvent>[src]

Calls C++ function: QIconDragEvent* dynamic_cast<QIconDragEvent*>(QEvent* ptr).

unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QIconDragEvent>[src]

Calls C++ function: QIconDragEvent* dynamic_cast<QIconDragEvent*>(QEvent* ptr).

impl StaticDowncast<QIconDragEvent> for QEvent[src]

unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QIconDragEvent>[src]

Calls C++ function: QIconDragEvent* static_cast<QIconDragEvent*>(QEvent* ptr).

unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QIconDragEvent>[src]

Calls C++ function: QIconDragEvent* static_cast<QIconDragEvent*>(QEvent* ptr).

impl StaticUpcast<QEvent> for QIconDragEvent[src]

unsafe fn static_upcast(ptr: Ptr<QIconDragEvent>) -> Ptr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QIconDragEvent* ptr).

unsafe fn static_upcast_mut(ptr: MutPtr<QIconDragEvent>) -> MutPtr<QEvent>[src]

Calls C++ function: QEvent* static_cast<QEvent*>(QIconDragEvent* 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.