[−][src]Struct qt_core::TextInteractionFlag
This enum specifies how a text displaying widget reacts to user input.
C++ enum: Qt::TextInteractionFlag
.
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]
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.
fn bitor(self, rhs: T) -> QFlags<TextInteractionFlag>
[src]
impl Clone for TextInteractionFlag
[src]
fn clone(&self) -> TextInteractionFlag
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextInteractionFlag
[src]
impl Debug for TextInteractionFlag
[src]
impl Eq for TextInteractionFlag
[src]
impl From<TextInteractionFlag> for c_int
[src]
fn from(value: TextInteractionFlag) -> Self
[src]
impl From<TextInteractionFlag> for QFlags<TextInteractionFlag>
[src]
fn from(value: TextInteractionFlag) -> Self
[src]
impl From<i32> for TextInteractionFlag
[src]
impl PartialEq<TextInteractionFlag> for TextInteractionFlag
[src]
fn eq(&self, other: &TextInteractionFlag) -> bool
[src]
fn ne(&self, other: &TextInteractionFlag) -> bool
[src]
impl StructuralEq for TextInteractionFlag
[src]
impl StructuralPartialEq for TextInteractionFlag
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextInteractionFlag
impl Send for TextInteractionFlag
impl Sync for TextInteractionFlag
impl Unpin for TextInteractionFlag
impl UnwindSafe for TextInteractionFlag
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,