OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
MouseCursorChanger Class Reference

Class to automatically change cursor, and change it back automatically when class is running out of scope. More...

Public Member Functions

 MouseCursorChanger (const char *fnm, int hotx, int hoty)
 
 MouseCursorChanger (MouseCursor::Shape cs)
 
 ~MouseCursorChanger ()
 
void restore ()
 

Protected Attributes

bool active_
 

Detailed Description

Class to automatically change cursor, and change it back automatically when class is running out of scope.

<>

Constructor & Destructor Documentation

◆ MouseCursorChanger() [1/2]

MouseCursorChanger::MouseCursorChanger ( const char *  fnm,
int  hotx,
int  hoty 
)

◆ MouseCursorChanger() [2/2]

MouseCursorChanger::MouseCursorChanger ( MouseCursor::Shape  cs)

◆ ~MouseCursorChanger()

MouseCursorChanger::~MouseCursorChanger ( )

Member Function Documentation

◆ restore()

void MouseCursorChanger::restore ( )

Member Data Documentation

◆ active_

bool MouseCursorChanger::active_
protected

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