OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
uiOfferInfo Class Reference

Tool button with the 'i' popping up a uiOfferInfoWin if pushed. More...

Inheritance diagram for uiOfferInfo:
[legend]

Public Member Functions

 uiOfferInfo (uiParent *, bool setinsens=true)
 
void setInfo (const char *, const uiString &newcaption=uiStrings::sEmptyString())
 
- Public Member Functions inherited from uiToolButton
 uiToolButton (uiParent *, const uiToolButtonSetup &)
 
 uiToolButton (uiParent *, const char *filenm, const uiString &tooltip, const CallBack &)
 
 uiToolButton (uiParent *, ArrowType, const uiString &tooltip, const CallBack &)
 
 ~uiToolButton ()
 
bool isOn () const
 
void setOn (bool yn=true)
 
void setToggleButton (bool yn=true)
 
bool isToggleButton () const
 
void setArrowType (ArrowType)
 
void setShortcut (const char *)
 
void setMenu (uiMenu *, PopupMode=MenuButtonPopup)
 Menu becomes mine. More...
 
const uiMenumenu () const
 
void setID (int i)
 
int id () const
 
void click ()
 

Protected Member Functions

void updateWin ()
 
void infoReq (CallBacker *)
 
void winClose (CallBacker *)
 

Protected Attributes

BufferString info_
 
uiString caption_
 
bool insens_
 
uiOfferInfoWininfowin_
 

Private Member Functions

 mODTextTranslationClass (uiOfferInfo)
 

Additional Inherited Members

- Public Types inherited from uiToolButton
enum  ArrowType {
  NoArrow, UpArrow, DownArrow, LeftArrow,
  RightArrow
}
 
enum  PopupMode { DelayedPopup, MenuButtonPopup, InstantPopup }
 
- Static Public Member Functions inherited from uiToolButton
static uiToolButtongetStd (uiParent *, OD::StdActionType, const CallBack &, const uiString &ttip)
 

Detailed Description

Tool button with the 'i' popping up a uiOfferInfoWin if pushed.

The toolbutton will be made insensitive or invisible if the info is empty. Setting the info to an empty string will remove any open info window.

Constructor & Destructor Documentation

uiOfferInfo::uiOfferInfo ( uiParent ,
bool  setinsens = true 
)

Member Function Documentation

void uiOfferInfo::infoReq ( CallBacker )
protected
uiOfferInfo::mODTextTranslationClass ( uiOfferInfo  )
private
void uiOfferInfo::setInfo ( const char *  ,
const uiString newcaption = uiStrings::sEmptyString() 
)
void uiOfferInfo::updateWin ( )
protected
void uiOfferInfo::winClose ( CallBacker )
protected

Member Data Documentation

uiString uiOfferInfo::caption_
protected
BufferString uiOfferInfo::info_
protected
uiOfferInfoWin* uiOfferInfo::infowin_
protected
bool uiOfferInfo::insens_
protected

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