[−][src]Struct qt_gui::QWhatsThisClickedEvent
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
C++ class: QWhatsThisClickedEvent
.
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
Methods
impl QWhatsThisClickedEvent
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> Ref<QWhatsThisClickedEvent>
[src]
&self,
other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> Ref<QWhatsThisClickedEvent>
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
Calls C++ function: QWhatsThisClickedEvent& QWhatsThisClickedEvent::operator=(const QWhatsThisClickedEvent& other)
.
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
pub unsafe fn href(&self) -> CppBox<QString>
[src]
Returns the URL that was clicked by the user in the "What's This?" text.
Calls C++ function: QString QWhatsThisClickedEvent::href() const
.
Returns the URL that was clicked by the user in the "What's This?" text.
pub unsafe fn new(
href: impl CastInto<Ref<QString>>
) -> CppBox<QWhatsThisClickedEvent>
[src]
href: impl CastInto<Ref<QString>>
) -> CppBox<QWhatsThisClickedEvent>
Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.
Calls C++ function: [constructor] void QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QString& href)
.
Constructs an event containing a URL specified by href when a link is clicked in a "What's This?" message.
See also href().
pub unsafe fn new_copy(
other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> CppBox<QWhatsThisClickedEvent>
[src]
other: impl CastInto<Ref<QWhatsThisClickedEvent>>
) -> CppBox<QWhatsThisClickedEvent>
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
Calls C++ function: [constructor] void QWhatsThisClickedEvent::QWhatsThisClickedEvent(const QWhatsThisClickedEvent& other)
.
The QWhatsThisClickedEvent class provides an event that can be used to handle hyperlinks in a "What's This?" text.
Trait Implementations
impl CppDeletable for QWhatsThisClickedEvent
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void QWhatsThisClickedEvent::~QWhatsThisClickedEvent()
.
impl Deref for QWhatsThisClickedEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QWhatsThisClickedEvent* ptr)
.
impl DynamicCast<QWhatsThisClickedEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QWhatsThisClickedEvent>
[src]
Calls C++ function: QWhatsThisClickedEvent* dynamic_cast<QWhatsThisClickedEvent*>(QEvent* ptr)
.
impl StaticDowncast<QWhatsThisClickedEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QWhatsThisClickedEvent>
[src]
Calls C++ function: QWhatsThisClickedEvent* static_cast<QWhatsThisClickedEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QWhatsThisClickedEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QWhatsThisClickedEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QWhatsThisClickedEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QWhatsThisClickedEvent
impl Send for QWhatsThisClickedEvent
impl Sync for QWhatsThisClickedEvent
impl Unpin for QWhatsThisClickedEvent
impl UnwindSafe for QWhatsThisClickedEvent
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>,