[−][src]Struct qt_gui::QIconDragEvent
The QIconDragEvent class indicates that a main icon drag has begun.
C++ class: QIconDragEvent
.
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]
&mut self,
other: impl CastInto<Ref<QIconDragEvent>>
) -> MutRef<QIconDragEvent>
The QIconDragEvent class indicates that a main icon drag has begun.
Calls C++ function: QIconDragEvent& QIconDragEvent::operator=(const QIconDragEvent& other)
.
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()
.
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]
other: impl CastInto<Ref<QIconDragEvent>>
) -> CppBox<QIconDragEvent>
The QIconDragEvent class indicates that a main icon drag has begun.
Calls C++ function: [constructor] void QIconDragEvent::QIconDragEvent(const QIconDragEvent& other)
.
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
impl RefUnwindSafe for QIconDragEvent
impl Send for QIconDragEvent
impl Sync for QIconDragEvent
impl Unpin for QIconDragEvent
impl UnwindSafe for QIconDragEvent
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>,