company logo

GUIBaseContext :: setWaitPointer - Set specific wait pointer

The function allows setting more specific wait pointers by passing a type number or an image. In order to reset the wait pointer, resetWaitPointer() should be called.

Implementation overview

Implementation details

  1. Set default wait pointer
    GUIBaseContext  :: setWaitPointer (  )

    The function sets the default wait pointer (same as waitPointer(true)).

  2. to list
  3. Set wait pointer to specific cursor style
    GUIBaseContext  :: setWaitPointer ( int32 iCursor )
    • iCursor - Cursor style

      There are several predefined cursor styles supported by Qt. Following cursor styles may be used (see Qt documentation):


      0

      The standard arrow cursor.

      1

      An arrow pointing upwards toward the top of the screen.

      2

      A crosshair cursor, typically used to help the user accurately select a point on the screen.

      3

      An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application.

      4

      A caret or ibeam cursor, indicating that a widget can accept and display text input.

      5

      A cursor used for elements that are used to vertically resize top-level windows.

      6

      A cursor used for elements that are used to horizontally resize top-level windows.

      7

      A cursor used for elements that are used to diagonally resize top-level windows at their top-right and bottom-left corners.

      8

      A cursor used for elements that are used to diagonally resize top-level windows at their top-left and bottom-right corners.

      9

      A cursor used for elements that are used to resize top-level windows in any direction.

      10

      A blank/invisible cursor, typically used when the cursor shape needs to be hidden.

      11

      A cursor used for vertical splitters, indicating that a handle can be dragged horizontally to adjust the use of available space.

      12

      A cursor used for horizontal splitters, indicating that a handle can be dragged vertically to adjust the use of available space.

      13

      A pointing hand cursor that is typically used for clickable elements such as hyperlinks.

      14

      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.

      17

      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.

      18

      A cursor representing a closed hand, typically used to indicate that a dragging operation is in progress that involves scrolling.

      15

      An arrow with a question mark, typically used to indicate the presence of What's This? help for a widget.

      16

      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.


  4. to list
  5. Set wait pointer to image
    GUIBaseContext  :: setWaitPointer ( odabagui::Pixmap &cPixmap )

    The function sets the wait pointer to an application defined image

    • cPixmap - Pixmap data

      Pixmap data contains a file path to a pixmap file and/or pixmap data as binary data block.

  6. to list