[][src]Struct qt_core::CursorShape

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

This enum type defines the various cursors that can be used.

C++ enum: Qt::CursorShape.

C++ documentation:

This enum type defines the various cursors that can be used.

The standard arrow cursor is the default for widgets in a normal state.

Methods

impl CursorShape[src]

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

impl CursorShape[src]

pub const ArrowCursor: CursorShape[src]

The standard arrow cursor. (C++ enum variant: ArrowCursor = 0)

pub const UpArrowCursor: CursorShape[src]

An arrow pointing upwards toward the top of the screen. (C++ enum variant: UpArrowCursor = 1)

pub const CrossCursor: CursorShape[src]

A crosshair cursor, typically used to help the user accurately select a point on the screen. (C++ enum variant: CrossCursor = 2)

pub const WaitCursor: CursorShape[src]

An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application. (C++ enum variant: WaitCursor = 3)

pub const IBeamCursor: CursorShape[src]

A caret or ibeam cursor, indicating that a widget can accept and display text input. (C++ enum variant: IBeamCursor = 4)

pub const SizeVerCursor: CursorShape[src]

A cursor used for elements that are used to vertically resize top-level windows. (C++ enum variant: SizeVerCursor = 5)

pub const SizeHorCursor: CursorShape[src]

A cursor used for elements that are used to horizontally resize top-level windows. (C++ enum variant: SizeHorCursor = 6)

pub const SizeBDiagCursor: CursorShape[src]

A cursor used for elements that are used to diagonally resize top-level windows at their top-right and bottom-left corners. (C++ enum variant: SizeBDiagCursor = 7)

pub const SizeFDiagCursor: CursorShape[src]

A cursor used for elements that are used to diagonally resize top-level windows at their top-left and bottom-right corners. (C++ enum variant: SizeFDiagCursor = 8)

pub const SizeAllCursor: CursorShape[src]

A cursor used for elements that are used to resize top-level windows in any direction. (C++ enum variant: SizeAllCursor = 9)

pub const BlankCursor: CursorShape[src]

A blank/invisible cursor, typically used when the cursor shape needs to be hidden. (C++ enum variant: BlankCursor = 10)

pub const SplitVCursor: CursorShape[src]

A cursor used for vertical splitters, indicating that a handle can be dragged horizontally to adjust the use of available space. (C++ enum variant: SplitVCursor = 11)

pub const SplitHCursor: CursorShape[src]

A cursor used for horizontal splitters, indicating that a handle can be dragged vertically to adjust the use of available space. (C++ enum variant: SplitHCursor = 12)

pub const PointingHandCursor: CursorShape[src]

A pointing hand cursor that is typically used for clickable elements such as hyperlinks. (C++ enum variant: PointingHandCursor = 13)

pub const ForbiddenCursor: CursorShape[src]

A slashed circle cursor, typically used during drag and drop operations to indicate that dragged content cannot be dropped on particular widgets or inside certain regions. (C++ enum variant: ForbiddenCursor = 14)

pub const WhatsThisCursor: CursorShape[src]

An arrow with a question mark, typically used to indicate the presence of What's This? help for a widget. (C++ enum variant: WhatsThisCursor = 15)

pub const BusyCursor: CursorShape[src]

An hourglass or watch cursor, usually shown during operations that allow the user to interact with the application while they are performed in the background. (C++ enum variant: BusyCursor = 16)

pub const OpenHandCursor: CursorShape[src]

A cursor representing an open hand, typically used to indicate that the area under the cursor is the visible part of a canvas that the user can click and drag in order to scroll around. (C++ enum variant: OpenHandCursor = 17)

pub const ClosedHandCursor: CursorShape[src]

A cursor representing a closed hand, typically used to indicate that a dragging operation is in progress that involves scrolling. (C++ enum variant: ClosedHandCursor = 18)

pub const DragCopyCursor: CursorShape[src]

A cursor that is usually used when dragging an item to copy it. (C++ enum variant: DragCopyCursor = 19)

pub const DragMoveCursor: CursorShape[src]

A cursor that is usually used when dragging an item. (C++ enum variant: DragMoveCursor = 20)

pub const DragLinkCursor: CursorShape[src]

A cursor that is usually used when dragging an item to make a link to it. (C++ enum variant: DragLinkCursor = 21)

pub const LastCursor: CursorShape[src]

C++ enum variant: LastCursor = 21

pub const BitmapCursor: CursorShape[src]

  (C++ enum variant: BitmapCursor = 24)

pub const CustomCursor: CursorShape[src]

C++ enum variant: CustomCursor = 25

Trait Implementations

impl From<i32> for CursorShape[src]

impl From<CursorShape> for c_int[src]

impl Clone for CursorShape[src]

impl Copy for CursorShape[src]

impl Eq for CursorShape[src]

impl PartialEq<CursorShape> for CursorShape[src]

impl Debug for CursorShape[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

impl<T> BorrowMut<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]