[−][src]Struct qt_gui::q_key_sequence::StandardKey
This enum represent standard key bindings. They can be used to assign platform dependent keyboard shortcuts to a QAction.
C++ enum: QKeySequence::StandardKey
.
This enum represent standard key bindings. They can be used to assign platform dependent keyboard shortcuts to a QAction.
Note that the key bindings are platform dependent. The currently bound shortcuts can be queried using keyBindings().
This enum was introduced or modified in Qt 4.2.
Methods
impl StandardKey
[src]
impl StandardKey
[src]
pub const UnknownKey: StandardKey
[src]
Unbound key. (C++ enum variant: UnknownKey = 0
)
pub const HelpContents: StandardKey
[src]
Open help contents. (C++ enum variant: HelpContents = 1
)
pub const WhatsThis: StandardKey
[src]
Activate "what's this". (C++ enum variant: WhatsThis = 2
)
pub const Open: StandardKey
[src]
Open document. (C++ enum variant: Open = 3
)
pub const Close: StandardKey
[src]
Close document/tab. (C++ enum variant: Close = 4
)
pub const Save: StandardKey
[src]
Save document. (C++ enum variant: Save = 5
)
pub const New: StandardKey
[src]
Create new document. (C++ enum variant: New = 6
)
pub const Delete: StandardKey
[src]
Delete. (C++ enum variant: Delete = 7
)
pub const Cut: StandardKey
[src]
Cut. (C++ enum variant: Cut = 8
)
pub const Copy: StandardKey
[src]
Copy. (C++ enum variant: Copy = 9
)
pub const Paste: StandardKey
[src]
Paste. (C++ enum variant: Paste = 10
)
pub const Undo: StandardKey
[src]
Undo. (C++ enum variant: Undo = 11
)
pub const Redo: StandardKey
[src]
Redo. (C++ enum variant: Redo = 12
)
pub const Back: StandardKey
[src]
Navigate back. (C++ enum variant: Back = 13
)
pub const Forward: StandardKey
[src]
Navigate forward. (C++ enum variant: Forward = 14
)
pub const Refresh: StandardKey
[src]
Refresh or reload current document. (C++ enum variant: Refresh = 15
)
pub const ZoomIn: StandardKey
[src]
Zoom in. (C++ enum variant: ZoomIn = 16
)
pub const ZoomOut: StandardKey
[src]
Zoom out. (C++ enum variant: ZoomOut = 17
)
pub const Print: StandardKey
[src]
Print document. (C++ enum variant: Print = 18
)
pub const AddTab: StandardKey
[src]
Add new tab. (C++ enum variant: AddTab = 19
)
pub const NextChild: StandardKey
[src]
Navigate to next tab or child window. (C++ enum variant: NextChild = 20
)
pub const PreviousChild: StandardKey
[src]
Navigate to previous tab or child window. (C++ enum variant: PreviousChild = 21
)
pub const Find: StandardKey
[src]
Find in document. (C++ enum variant: Find = 22
)
pub const FindNext: StandardKey
[src]
Find next result. (C++ enum variant: FindNext = 23
)
pub const FindPrevious: StandardKey
[src]
Find previous result. (C++ enum variant: FindPrevious = 24
)
pub const Replace: StandardKey
[src]
Find and replace. (C++ enum variant: Replace = 25
)
pub const SelectAll: StandardKey
[src]
Select all text. (C++ enum variant: SelectAll = 26
)
pub const Bold: StandardKey
[src]
Bold text. (C++ enum variant: Bold = 27
)
pub const Italic: StandardKey
[src]
Italic text. (C++ enum variant: Italic = 28
)
pub const Underline: StandardKey
[src]
Underline text. (C++ enum variant: Underline = 29
)
pub const MoveToNextChar: StandardKey
[src]
Move cursor to next character. (C++ enum variant: MoveToNextChar = 30
)
pub const MoveToPreviousChar: StandardKey
[src]
Move cursor to previous character. (C++ enum variant: MoveToPreviousChar = 31
)
pub const MoveToNextWord: StandardKey
[src]
Move cursor to next word. (C++ enum variant: MoveToNextWord = 32
)
pub const MoveToPreviousWord: StandardKey
[src]
Move cursor to previous word. (C++ enum variant: MoveToPreviousWord = 33
)
pub const MoveToNextLine: StandardKey
[src]
Move cursor to next line. (C++ enum variant: MoveToNextLine = 34
)
pub const MoveToPreviousLine: StandardKey
[src]
Move cursor to previous line. (C++ enum variant: MoveToPreviousLine = 35
)
pub const MoveToNextPage: StandardKey
[src]
Move cursor to next page. (C++ enum variant: MoveToNextPage = 36
)
pub const MoveToPreviousPage: StandardKey
[src]
Move cursor to previous page. (C++ enum variant: MoveToPreviousPage = 37
)
pub const MoveToStartOfLine: StandardKey
[src]
Move cursor to start of line. (C++ enum variant: MoveToStartOfLine = 38
)
pub const MoveToEndOfLine: StandardKey
[src]
Move cursor to end of line. (C++ enum variant: MoveToEndOfLine = 39
)
pub const MoveToStartOfBlock: StandardKey
[src]
Move cursor to start of a block. This shortcut is only used on macOS. (C++ enum variant: MoveToStartOfBlock = 40
)
pub const MoveToEndOfBlock: StandardKey
[src]
Move cursor to end of block. This shortcut is only used on the macOS. (C++ enum variant: MoveToEndOfBlock = 41
)
pub const MoveToStartOfDocument: StandardKey
[src]
Move cursor to start of document. (C++ enum variant: MoveToStartOfDocument = 42
)
pub const MoveToEndOfDocument: StandardKey
[src]
Move cursor to end of document. (C++ enum variant: MoveToEndOfDocument = 43
)
pub const SelectNextChar: StandardKey
[src]
Extend selection to next character. (C++ enum variant: SelectNextChar = 44
)
pub const SelectPreviousChar: StandardKey
[src]
Extend selection to previous character. (C++ enum variant: SelectPreviousChar = 45
)
pub const SelectNextWord: StandardKey
[src]
Extend selection to next word. (C++ enum variant: SelectNextWord = 46
)
pub const SelectPreviousWord: StandardKey
[src]
Extend selection to previous word. (C++ enum variant: SelectPreviousWord = 47
)
pub const SelectNextLine: StandardKey
[src]
Extend selection to next line. (C++ enum variant: SelectNextLine = 48
)
pub const SelectPreviousLine: StandardKey
[src]
Extend selection to previous line. (C++ enum variant: SelectPreviousLine = 49
)
pub const SelectNextPage: StandardKey
[src]
Extend selection to next page. (C++ enum variant: SelectNextPage = 50
)
pub const SelectPreviousPage: StandardKey
[src]
Extend selection to previous page. (C++ enum variant: SelectPreviousPage = 51
)
pub const SelectStartOfLine: StandardKey
[src]
Extend selection to start of line. (C++ enum variant: SelectStartOfLine = 52
)
pub const SelectEndOfLine: StandardKey
[src]
Extend selection to end of line. (C++ enum variant: SelectEndOfLine = 53
)
pub const SelectStartOfBlock: StandardKey
[src]
Extend selection to the start of a text block. This shortcut is only used on macOS. (C++ enum variant: SelectStartOfBlock = 54
)
pub const SelectEndOfBlock: StandardKey
[src]
Extend selection to the end of a text block. This shortcut is only used on macOS. (C++ enum variant: SelectEndOfBlock = 55
)
pub const SelectStartOfDocument: StandardKey
[src]
Extend selection to start of document. (C++ enum variant: SelectStartOfDocument = 56
)
pub const SelectEndOfDocument: StandardKey
[src]
Extend selection to end of document. (C++ enum variant: SelectEndOfDocument = 57
)
pub const DeleteStartOfWord: StandardKey
[src]
Delete the beginning of a word up to the cursor. (C++ enum variant: DeleteStartOfWord = 58
)
pub const DeleteEndOfWord: StandardKey
[src]
Delete word from the end of the cursor. (C++ enum variant: DeleteEndOfWord = 59
)
pub const DeleteEndOfLine: StandardKey
[src]
Delete end of line. (C++ enum variant: DeleteEndOfLine = 60
)
pub const InsertParagraphSeparator: StandardKey
[src]
Insert a new paragraph. (C++ enum variant: InsertParagraphSeparator = 61
)
pub const InsertLineSeparator: StandardKey
[src]
Insert a new line. (C++ enum variant: InsertLineSeparator = 62
)
pub const SaveAs: StandardKey
[src]
Save document after prompting the user for a file name. (C++ enum variant: SaveAs = 63
)
pub const Preferences: StandardKey
[src]
Open the preferences dialog. (C++ enum variant: Preferences = 64
)
pub const Quit: StandardKey
[src]
Quit the application. (C++ enum variant: Quit = 65
)
pub const FullScreen: StandardKey
[src]
Toggle the window state to/from full screen. (C++ enum variant: FullScreen = 66
)
pub const Deselect: StandardKey
[src]
Deselect text. Since 5.1 (C++ enum variant: Deselect = 67
)
pub const DeleteCompleteLine: StandardKey
[src]
Delete the entire line. (C++ enum variant: DeleteCompleteLine = 68
)
pub const Backspace: StandardKey
[src]
Delete previous character. (C++ enum variant: Backspace = 69
)
pub const Cancel: StandardKey
[src]
Cancel the current operation. (C++ enum variant: Cancel = 70
)
Trait Implementations
impl Clone for StandardKey
[src]
fn clone(&self) -> StandardKey
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StandardKey
[src]
impl Debug for StandardKey
[src]
impl Eq for StandardKey
[src]
impl From<StandardKey> for c_int
[src]
fn from(value: StandardKey) -> Self
[src]
impl From<i32> for StandardKey
[src]
impl PartialEq<StandardKey> for StandardKey
[src]
fn eq(&self, other: &StandardKey) -> bool
[src]
fn ne(&self, other: &StandardKey) -> bool
[src]
impl PartialEq<StandardKey> for QKeyEvent
[src]
fn eq(&self, key: &StandardKey) -> bool
[src]
Returns true
if page layout lhs is equal to page layout rhs, i.e. if all the attributes are exactly equal.
Calls C++ function: bool operator==(QKeyEvent* e, QKeySequence::StandardKey key)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for bool operator==(const QPageLayout &lhs, const QPageLayout &rhs)
:
Returns true
if page layout lhs is equal to page layout rhs, i.e. if all the attributes are exactly equal.
Note that this is a strict equality, especially for page size where the QPageSize ID, name and size must exactly match, and the margins where the units must match.
See also QPageLayout::isEquivalentTo().
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for StandardKey
[src]
impl StructuralPartialEq for StandardKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for StandardKey
impl Send for StandardKey
impl Sync for StandardKey
impl Unpin for StandardKey
impl UnwindSafe for StandardKey
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,