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 more