[][src]Struct qt_widgets::q_abstract_item_view::EditTrigger

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

This enum describes actions which will initiate item editing.

C++ enum: QAbstractItemView::EditTrigger.

C++ documentation:

This enum describes actions which will initiate item editing.

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

Methods

impl EditTrigger[src]

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

impl EditTrigger[src]

pub const NoEditTriggers: EditTrigger[src]

No editing possible. (C++ enum variant: NoEditTriggers = 0)

pub const CurrentChanged: EditTrigger[src]

Editing start whenever current item changes. (C++ enum variant: CurrentChanged = 1)

pub const DoubleClicked: EditTrigger[src]

Editing starts when an item is double clicked. (C++ enum variant: DoubleClicked = 2)

pub const SelectedClicked: EditTrigger[src]

Editing starts when clicking on an already selected item. (C++ enum variant: SelectedClicked = 4)

pub const EditKeyPressed: EditTrigger[src]

Editing starts when the platform edit key has been pressed over an item. (C++ enum variant: EditKeyPressed = 8)

pub const AnyKeyPressed: EditTrigger[src]

Editing starts when any key is pressed over an item. (C++ enum variant: AnyKeyPressed = 16)

pub const AllEditTriggers: EditTrigger[src]

Editing starts for all above actions. (C++ enum variant: AllEditTriggers = 31)

Trait Implementations

impl Eq for EditTrigger[src]

impl Clone for EditTrigger[src]

impl PartialEq<EditTrigger> for EditTrigger[src]

impl From<i32> for EditTrigger[src]

impl From<EditTrigger> for c_int[src]

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

impl Copy for EditTrigger[src]

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

type Output = QFlags<EditTrigger>

The resulting type after applying the | operator.

impl Debug for EditTrigger[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]