[][src]Struct qt_core::TextInteractionFlag

#[repr(transparent)]pub struct TextInteractionFlag(_);

This enum specifies how a text displaying widget reacts to user input.

C++ enum: Qt::TextInteractionFlag.

C++ documentation:

This enum specifies how a text displaying widget reacts to user input.

The TextInteractionFlags type is a typedef for QFlags<TextInteractionFlag>. It stores an OR combination of TextInteractionFlag values.

Methods

impl TextInteractionFlag[src]

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

impl TextInteractionFlag[src]

pub const NoTextInteraction: TextInteractionFlag[src]

No interaction with the text is possible. (C++ enum variant: NoTextInteraction = 0)

pub const TextSelectableByMouse: TextInteractionFlag[src]

Text can be selected with the mouse and copied to the clipboard using a context menu or standard keyboard shortcuts. (C++ enum variant: TextSelectableByMouse = 1)

pub const TextSelectableByKeyboard: TextInteractionFlag[src]

Text can be selected with the cursor keys on the keyboard. A text cursor is shown. (C++ enum variant: TextSelectableByKeyboard = 2)

pub const LinksAccessibleByMouse: TextInteractionFlag[src]

Links can be highlighted and activated with the mouse. (C++ enum variant: LinksAccessibleByMouse = 4)

pub const LinksAccessibleByKeyboard: TextInteractionFlag[src]

Links can be focused using tab and activated with enter. (C++ enum variant: LinksAccessibleByKeyboard = 8)

pub const TextEditable: TextInteractionFlag[src]

The text is fully editable. (C++ enum variant: TextEditable = 16)

pub const TextEditorInteraction: TextInteractionFlag[src]

The default for a text editor. (C++ enum variant: TextEditorInteraction = 19)

pub const TextBrowserInteraction: TextInteractionFlag[src]

The default for QTextBrowser. (C++ enum variant: TextBrowserInteraction = 13)

Trait Implementations

impl<T: Into<QFlags<TextInteractionFlag>>> BitOr<T> for TextInteractionFlag[src]

type Output = QFlags<TextInteractionFlag>

The resulting type after applying the | operator.

impl Clone for TextInteractionFlag[src]

impl Copy for TextInteractionFlag[src]

impl Debug for TextInteractionFlag[src]

impl Eq for TextInteractionFlag[src]

impl From<TextInteractionFlag> for c_int[src]

impl From<TextInteractionFlag> for QFlags<TextInteractionFlag>[src]

impl From<i32> for TextInteractionFlag[src]

impl PartialEq<TextInteractionFlag> for TextInteractionFlag[src]

impl StructuralEq for TextInteractionFlag[src]

impl StructuralPartialEq for TextInteractionFlag[src]

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.