Skip to main content

StandardKey

Struct StandardKey 

Source
pub struct StandardKey(/* private fields */);
Expand description

C++ enum: QKeySequence::StandardKey.

Implementations§

Source§

impl StandardKey

Source

pub fn to_int(&self) -> c_int

Source§

impl StandardKey

Source

pub const UnknownKey: StandardKey

C++ enum variant: UnknownKey = 0

Source

pub const HelpContents: StandardKey

C++ enum variant: HelpContents = 1

Source

pub const WhatsThis: StandardKey

C++ enum variant: WhatsThis = 2

Source

pub const Open: StandardKey

C++ enum variant: Open = 3

Source

pub const Close: StandardKey

C++ enum variant: Close = 4

Source

pub const Save: StandardKey

C++ enum variant: Save = 5

Source

pub const New: StandardKey

C++ enum variant: New = 6

Source

pub const Delete: StandardKey

C++ enum variant: Delete = 7

Source

pub const Cut: StandardKey

C++ enum variant: Cut = 8

Source

pub const Copy: StandardKey

C++ enum variant: Copy = 9

Source

pub const Paste: StandardKey

C++ enum variant: Paste = 10

Source

pub const Undo: StandardKey

C++ enum variant: Undo = 11

Source

pub const Redo: StandardKey

C++ enum variant: Redo = 12

Source

pub const Back: StandardKey

C++ enum variant: Back = 13

Source

pub const Forward: StandardKey

C++ enum variant: Forward = 14

Source

pub const Refresh: StandardKey

C++ enum variant: Refresh = 15

Source

pub const ZoomIn: StandardKey

C++ enum variant: ZoomIn = 16

Source

pub const ZoomOut: StandardKey

C++ enum variant: ZoomOut = 17

Source

pub const Print: StandardKey

C++ enum variant: Print = 18

Source

pub const AddTab: StandardKey

C++ enum variant: AddTab = 19

Source

pub const NextChild: StandardKey

C++ enum variant: NextChild = 20

Source

pub const PreviousChild: StandardKey

C++ enum variant: PreviousChild = 21

Source

pub const Find: StandardKey

C++ enum variant: Find = 22

Source

pub const FindNext: StandardKey

C++ enum variant: FindNext = 23

Source

pub const FindPrevious: StandardKey

C++ enum variant: FindPrevious = 24

Source

pub const Replace: StandardKey

C++ enum variant: Replace = 25

Source

pub const SelectAll: StandardKey

C++ enum variant: SelectAll = 26

Source

pub const Bold: StandardKey

C++ enum variant: Bold = 27

Source

pub const Italic: StandardKey

C++ enum variant: Italic = 28

Source

pub const Underline: StandardKey

C++ enum variant: Underline = 29

Source

pub const MoveToNextChar: StandardKey

C++ enum variant: MoveToNextChar = 30

Source

pub const MoveToPreviousChar: StandardKey

C++ enum variant: MoveToPreviousChar = 31

Source

pub const MoveToNextWord: StandardKey

C++ enum variant: MoveToNextWord = 32

Source

pub const MoveToPreviousWord: StandardKey

C++ enum variant: MoveToPreviousWord = 33

Source

pub const MoveToNextLine: StandardKey

C++ enum variant: MoveToNextLine = 34

Source

pub const MoveToPreviousLine: StandardKey

C++ enum variant: MoveToPreviousLine = 35

Source

pub const MoveToNextPage: StandardKey

C++ enum variant: MoveToNextPage = 36

Source

pub const MoveToPreviousPage: StandardKey

C++ enum variant: MoveToPreviousPage = 37

Source

pub const MoveToStartOfLine: StandardKey

C++ enum variant: MoveToStartOfLine = 38

Source

pub const MoveToEndOfLine: StandardKey

C++ enum variant: MoveToEndOfLine = 39

Source

pub const MoveToStartOfBlock: StandardKey

C++ enum variant: MoveToStartOfBlock = 40

Source

pub const MoveToEndOfBlock: StandardKey

C++ enum variant: MoveToEndOfBlock = 41

Source

pub const MoveToStartOfDocument: StandardKey

C++ enum variant: MoveToStartOfDocument = 42

Source

pub const MoveToEndOfDocument: StandardKey

C++ enum variant: MoveToEndOfDocument = 43

Source

pub const SelectNextChar: StandardKey

C++ enum variant: SelectNextChar = 44

Source

pub const SelectPreviousChar: StandardKey

C++ enum variant: SelectPreviousChar = 45

Source

pub const SelectNextWord: StandardKey

C++ enum variant: SelectNextWord = 46

Source

pub const SelectPreviousWord: StandardKey

C++ enum variant: SelectPreviousWord = 47

Source

pub const SelectNextLine: StandardKey

C++ enum variant: SelectNextLine = 48

Source

pub const SelectPreviousLine: StandardKey

C++ enum variant: SelectPreviousLine = 49

Source

pub const SelectNextPage: StandardKey

C++ enum variant: SelectNextPage = 50

Source

pub const SelectPreviousPage: StandardKey

C++ enum variant: SelectPreviousPage = 51

Source

pub const SelectStartOfLine: StandardKey

C++ enum variant: SelectStartOfLine = 52

Source

pub const SelectEndOfLine: StandardKey

C++ enum variant: SelectEndOfLine = 53

Source

pub const SelectStartOfBlock: StandardKey

C++ enum variant: SelectStartOfBlock = 54

Source

pub const SelectEndOfBlock: StandardKey

C++ enum variant: SelectEndOfBlock = 55

Source

pub const SelectStartOfDocument: StandardKey

C++ enum variant: SelectStartOfDocument = 56

Source

pub const SelectEndOfDocument: StandardKey

C++ enum variant: SelectEndOfDocument = 57

Source

pub const DeleteStartOfWord: StandardKey

C++ enum variant: DeleteStartOfWord = 58

Source

pub const DeleteEndOfWord: StandardKey

C++ enum variant: DeleteEndOfWord = 59

Source

pub const DeleteEndOfLine: StandardKey

C++ enum variant: DeleteEndOfLine = 60

Source

pub const InsertParagraphSeparator: StandardKey

C++ enum variant: InsertParagraphSeparator = 61

Source

pub const InsertLineSeparator: StandardKey

C++ enum variant: InsertLineSeparator = 62

Source

pub const SaveAs: StandardKey

C++ enum variant: SaveAs = 63

Source

pub const Preferences: StandardKey

C++ enum variant: Preferences = 64

Source

pub const Quit: StandardKey

C++ enum variant: Quit = 65

Source

pub const FullScreen: StandardKey

C++ enum variant: FullScreen = 66

Source

pub const Deselect: StandardKey

C++ enum variant: Deselect = 67

Source

pub const DeleteCompleteLine: StandardKey

C++ enum variant: DeleteCompleteLine = 68

Source

pub const Backspace: StandardKey

C++ enum variant: Backspace = 69

Source

pub const Cancel: StandardKey

C++ enum variant: Cancel = 70

Trait Implementations§

Source§

impl Clone for StandardKey

Source§

fn clone(&self) -> StandardKey

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StandardKey

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<StandardKey> for c_int

Source§

fn from(value: StandardKey) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for StandardKey

Source§

fn from(value: c_int) -> Self

Converts to this type from the input type.
Source§

impl PartialEq<StandardKey> for QKeyEvent

Source§

fn eq(&self, key: &StandardKey) -> bool

Calls C++ function: bool operator==(QKeyEvent* e, QKeySequence::StandardKey key).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for StandardKey

Source§

fn eq(&self, other: &StandardKey) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for StandardKey

Source§

impl Eq for StandardKey

Source§

impl StructuralPartialEq for StandardKey

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.