Struct qt_core::CursorShape
source · pub struct CursorShape(/* private fields */);
Expand description
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.
Implementations§
source§impl CursorShape
impl CursorShape
sourcepub const ArrowCursor: CursorShape = _
pub const ArrowCursor: CursorShape = _
The standard arrow cursor. (C++ enum variant: ArrowCursor = 0
)
sourcepub const UpArrowCursor: CursorShape = _
pub const UpArrowCursor: CursorShape = _
An arrow pointing upwards toward the top of the screen. (C++ enum variant: UpArrowCursor = 1
)
sourcepub const CrossCursor: CursorShape = _
pub const CrossCursor: CursorShape = _
A crosshair cursor, typically used to help the user accurately select a point on the screen. (C++ enum variant: CrossCursor = 2
)
sourcepub const WaitCursor: CursorShape = _
pub const WaitCursor: CursorShape = _
An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application. (C++ enum variant: WaitCursor = 3
)
sourcepub const IBeamCursor: CursorShape = _
pub const IBeamCursor: CursorShape = _
A caret or ibeam cursor, indicating that a widget can accept and display text input. (C++ enum variant: IBeamCursor = 4
)
sourcepub const SizeVerCursor: CursorShape = _
pub const SizeVerCursor: CursorShape = _
A cursor used for elements that are used to vertically resize top-level windows. (C++ enum variant: SizeVerCursor = 5
)
sourcepub const SizeHorCursor: CursorShape = _
pub const SizeHorCursor: CursorShape = _
A cursor used for elements that are used to horizontally resize top-level windows. (C++ enum variant: SizeHorCursor = 6
)
sourcepub const SizeBDiagCursor: CursorShape = _
pub const SizeBDiagCursor: CursorShape = _
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
)
sourcepub const SizeFDiagCursor: CursorShape = _
pub const SizeFDiagCursor: CursorShape = _
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
)
sourcepub const SizeAllCursor: CursorShape = _
pub const SizeAllCursor: CursorShape = _
A cursor used for elements that are used to resize top-level windows in any direction. (C++ enum variant: SizeAllCursor = 9
)
sourcepub const BlankCursor: CursorShape = _
pub const BlankCursor: CursorShape = _
A blank/invisible cursor, typically used when the cursor shape needs to be hidden. (C++ enum variant: BlankCursor = 10
)
sourcepub const SplitVCursor: CursorShape = _
pub const SplitVCursor: CursorShape = _
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
)
sourcepub const SplitHCursor: CursorShape = _
pub const SplitHCursor: CursorShape = _
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
)
sourcepub const PointingHandCursor: CursorShape = _
pub const PointingHandCursor: CursorShape = _
A pointing hand cursor that is typically used for clickable elements such as hyperlinks. (C++ enum variant: PointingHandCursor = 13
)
sourcepub const ForbiddenCursor: CursorShape = _
pub const ForbiddenCursor: CursorShape = _
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
)
sourcepub const WhatsThisCursor: CursorShape = _
pub const WhatsThisCursor: CursorShape = _
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
)
sourcepub const BusyCursor: CursorShape = _
pub const BusyCursor: CursorShape = _
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
)
sourcepub const OpenHandCursor: CursorShape = _
pub const OpenHandCursor: CursorShape = _
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
)
sourcepub const ClosedHandCursor: CursorShape = _
pub const ClosedHandCursor: CursorShape = _
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
)
sourcepub const DragCopyCursor: CursorShape = _
pub const DragCopyCursor: CursorShape = _
A cursor that is usually used when dragging an item to copy it. (C++ enum variant: DragCopyCursor = 19
)
sourcepub const DragMoveCursor: CursorShape = _
pub const DragMoveCursor: CursorShape = _
A cursor that is usually used when dragging an item. (C++ enum variant: DragMoveCursor = 20
)
sourcepub const DragLinkCursor: CursorShape = _
pub const DragLinkCursor: CursorShape = _
A cursor that is usually used when dragging an item to make a link to it. (C++ enum variant: DragLinkCursor = 21
)
sourcepub const LastCursor: CursorShape = _
pub const LastCursor: CursorShape = _
C++ enum variant: LastCursor = 21
sourcepub const BitmapCursor: CursorShape = _
pub const BitmapCursor: CursorShape = _
(C++ enum variant: BitmapCursor = 24
)
sourcepub const CustomCursor: CursorShape = _
pub const CustomCursor: CursorShape = _
C++ enum variant: CustomCursor = 25
Trait Implementations§
source§impl Clone for CursorShape
impl Clone for CursorShape
source§fn clone(&self) -> CursorShape
fn clone(&self) -> CursorShape
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CursorShape
impl Debug for CursorShape
source§impl From<CursorShape> for c_int
impl From<CursorShape> for c_int
source§fn from(value: CursorShape) -> Self
fn from(value: CursorShape) -> Self
source§impl From<i32> for CursorShape
impl From<i32> for CursorShape
source§impl PartialEq for CursorShape
impl PartialEq for CursorShape
source§fn eq(&self, other: &CursorShape) -> bool
fn eq(&self, other: &CursorShape) -> bool
self
and other
values to be equal, and is used
by ==
.