OpendTect-6_4  6.4
Public Types | Public Member Functions | Public Attributes | List of all members
MouseCursor Class Reference

Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file.) More...

Public Types

enum  Shape {
  Arrow, UpArrow, Cross, Wait,
  Ibeam, SizeVer, SizeHor, SizeBDiag,
  SizeFDiag, SizeAll, Blank, SplitV,
  SplitH, PointingHand, Forbidden, WhatsThis,
  Busy, OpenHand, ClosedHand, Last = ClosedHand,
  Bitmap = 24, NotSet, GreenArrow, Rotator,
  Pencil
}
 

Public Member Functions

virtual ~MouseCursor ()
 
 MouseCursor ()
 
 MouseCursor (Shape s)
 
bool operator== (const MouseCursor &) const
 
bool operator!= (const MouseCursor &) const
 

Public Attributes

Shape shape_
 
BufferString filename_
 Only used if shape_==Bitmap. More...
 
OD::RGBImageimage_
 Only used if shape_==Bitmap && filename_ is empty. More...
 
int hotx_
 
int hoty_
 

Detailed Description

Definition of a mouse cursor, can be either a predefined shape (from the enum, or a file.)

Member Enumeration Documentation

This enum type defines the various cursors that can be used.

Arrow standard arrow cursor UpArrow upwards arrow Cross crosshair Wait hourglass/watch Ibeam ibeam/text entry SizeVer vertical resize SizeHor horizontal resize SizeFDiag diagonal resize () SizeBDiag diagonal resize (/) SizeAll all directions resize Blank blank/invisible cursor SplitV vertical splitting SplitH horizontal splitting PointingHand a pointing hand Forbidden a slashed circle WhatsThis an arrow with a question mark Busy hourglass/watch OpenHand an open hand ClosedHand a closed hand Bitmap NotSet

Arrow is the default for widgets in a normal state.

Enumerator
Arrow 
UpArrow 
Cross 
Wait 
Ibeam 
SizeVer 
SizeHor 
SizeBDiag 
SizeFDiag 
SizeAll 
Blank 
SplitV 
SplitH 
PointingHand 
Forbidden 
WhatsThis 
Busy 
OpenHand 
ClosedHand 
Last 
Bitmap 
NotSet 
GreenArrow 
Rotator 
Pencil 

Constructor & Destructor Documentation

virtual MouseCursor::~MouseCursor ( )
virtual
MouseCursor::MouseCursor ( )
MouseCursor::MouseCursor ( Shape  s)

Member Function Documentation

bool MouseCursor::operator!= ( const MouseCursor ) const
bool MouseCursor::operator== ( const MouseCursor ) const

Member Data Documentation

BufferString MouseCursor::filename_

Only used if shape_==Bitmap.

int MouseCursor::hotx_
int MouseCursor::hoty_
OD::RGBImage* MouseCursor::image_

Only used if shape_==Bitmap && filename_ is empty.

Shape MouseCursor::shape_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019