|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Qt.CursorShape>
com.trolltech.qt.core.Qt.CursorShape
public static 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.
Enum Constant Summary | |
---|---|
ArrowCursor
![]() |
|
BitmapCursor
Internal. |
|
BlankCursor
A blank/invisible cursor, typically used when the cursor shape needs to be hidden. |
|
BusyCursor
![]() |
|
ClosedHandCursor
![]() |
|
CrossCursor
![]() |
|
CustomCursor
Internal. |
|
ForbiddenCursor
![]() |
|
IBeamCursor
![]() |
|
OpenHandCursor
![]() |
|
PointingHandCursor
![]() |
|
SizeAllCursor
![]() |
|
SizeBDiagCursor
![]() |
|
SizeFDiagCursor
![]() |
|
SizeHorCursor
![]() |
|
SizeVerCursor
![]() |
|
SplitHCursor
![]() |
|
SplitVCursor
![]() |
|
UpArrowCursor
![]() |
|
WaitCursor
![]() |
|
WhatsThisCursor
![]() |
Method Summary | |
---|---|
static Qt.CursorShape |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.CursorShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Qt.CursorShape[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Qt.CursorShape ArrowCursor
The standard arrow cursor.
public static final Qt.CursorShape UpArrowCursor
An arrow pointing upwards toward the top of the screen.
public static final Qt.CursorShape CrossCursor
A crosshair cursor, typically used to help the user accurately select a point on the screen.
public static final Qt.CursorShape WaitCursor
An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application.
public static final Qt.CursorShape IBeamCursor
A caret or ibeam cursor, indicating that a widget can accept and display text input.
public static final Qt.CursorShape SizeVerCursor
A cursor used for elements that are used to vertically resize top-level windows.
public static final Qt.CursorShape SizeHorCursor
A cursor used for elements that are used to horizontally resize top-level windows.
public static final Qt.CursorShape SizeBDiagCursor
A cursor used for elements that are used to diagonally resize top-level windows at their top-right and bottom-left corners.
public static final Qt.CursorShape SizeFDiagCursor
A cursor used for elements that are used to diagonally resize top-level windows at their top-left and bottom-right corners.
public static final Qt.CursorShape SizeAllCursor
A cursor used for elements that are used to resize top-level windows in any direction.
public static final Qt.CursorShape BlankCursor
A blank/invisible cursor, typically used when the cursor shape needs to be hidden.
public static final Qt.CursorShape SplitVCursor
A cursor used for vertical splitters, indicating that a handle can be dragged horizontally to adjust the use of available space.
public static final Qt.CursorShape SplitHCursor
A cursor used for horizontal splitters, indicating that a handle can be dragged vertically to adjust the use of available space.
public static final Qt.CursorShape PointingHandCursor
A pointing hand cursor that is typically used for clickable elements such as hyperlinks.
public static final Qt.CursorShape ForbiddenCursor
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.
public static final Qt.CursorShape WhatsThisCursor
An arrow with a question mark, typically used
public static final Qt.CursorShape BusyCursor
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.
public static final Qt.CursorShape OpenHandCursor
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.
public static final Qt.CursorShape ClosedHandCursor
A cursor representing a closed hand, typically used to indicate that a dragging operation is in progress that involves scrolling.
public static final Qt.CursorShape BitmapCursor
public static final Qt.CursorShape CustomCursor
Method Detail |
---|
public static Qt.CursorShape[] values()
for (Qt.CursorShape c : Qt.CursorShape.values()) System.out.println(c);
public static Qt.CursorShape valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static Qt.CursorShape resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |