[−][src]Struct qt_gui::QDragLeaveEvent
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
C++ class: QDragLeaveEvent
.
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.
Methods
impl QDragLeaveEvent
[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<QDragLeaveEvent>>
) -> MutRef<QDragLeaveEvent>
[src]
&mut self,
other: impl CastInto<Ref<QDragLeaveEvent>>
) -> MutRef<QDragLeaveEvent>
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
Calls C++ function: QDragLeaveEvent& QDragLeaveEvent::operator=(const QDragLeaveEvent& other)
.
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.
pub unsafe fn new() -> CppBox<QDragLeaveEvent>
[src]
Constructs a QDragLeaveEvent.
Calls C++ function: [constructor] void QDragLeaveEvent::QDragLeaveEvent()
.
Constructs a QDragLeaveEvent.
Warning: Do not create a QDragLeaveEvent yourself since these objects rely on Qt's internal state.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QDragLeaveEvent>>
) -> CppBox<QDragLeaveEvent>
[src]
other: impl CastInto<Ref<QDragLeaveEvent>>
) -> CppBox<QDragLeaveEvent>
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
Calls C++ function: [constructor] void QDragLeaveEvent::QDragLeaveEvent(const QDragLeaveEvent& other)
.
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it.
This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvents. It is not sent if a QDropEvent is sent instead.
Trait Implementations
impl CppDeletable for QDragLeaveEvent
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: virtual [destructor] void QDragLeaveEvent::~QDragLeaveEvent()
.
impl Deref for QDragLeaveEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QDragLeaveEvent* ptr)
.
impl DerefMut for QDragLeaveEvent
[src]
fn deref_mut(&mut self) -> &mut QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QDragLeaveEvent* ptr)
.
impl DynamicCast<QDragLeaveEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QDragLeaveEvent>
[src]
Calls C++ function: QDragLeaveEvent* dynamic_cast<QDragLeaveEvent*>(QEvent* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QDragLeaveEvent>
[src]
Calls C++ function: QDragLeaveEvent* dynamic_cast<QDragLeaveEvent*>(QEvent* ptr)
.
impl StaticDowncast<QDragLeaveEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QDragLeaveEvent>
[src]
Calls C++ function: QDragLeaveEvent* static_cast<QDragLeaveEvent*>(QEvent* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QEvent>) -> MutPtr<QDragLeaveEvent>
[src]
Calls C++ function: QDragLeaveEvent* static_cast<QDragLeaveEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QDragLeaveEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QDragLeaveEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QDragLeaveEvent* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QDragLeaveEvent>) -> MutPtr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QDragLeaveEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QDragLeaveEvent
impl Send for QDragLeaveEvent
impl Sync for QDragLeaveEvent
impl Unpin for QDragLeaveEvent
impl UnwindSafe for QDragLeaveEvent
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,