[−][src]Struct qt_core::CursorShape
This enum type defines the various cursors that can be used.
C++ enum: Qt::CursorShape
.
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]
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 Clone for CursorShape
[src]
fn clone(&self) -> CursorShape
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CursorShape
[src]
impl Debug for CursorShape
[src]
impl Eq for CursorShape
[src]
impl From<CursorShape> for c_int
[src]
fn from(value: CursorShape) -> Self
[src]
impl From<i32> for CursorShape
[src]
impl PartialEq<CursorShape> for CursorShape
[src]
fn eq(&self, other: &CursorShape) -> bool
[src]
fn ne(&self, other: &CursorShape) -> bool
[src]
impl StructuralEq for CursorShape
[src]
impl StructuralPartialEq for CursorShape
[src]
Auto Trait Implementations
impl RefUnwindSafe for CursorShape
impl Send for CursorShape
impl Sync for CursorShape
impl Unpin for CursorShape
impl UnwindSafe for CursorShape
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>,