OpendTect-6_4
6.4
|
Public Types | |
enum | ArrowType { NoArrow, UpArrow, DownArrow, LeftArrow, RightArrow } |
enum | PopupMode { DelayedPopup, MenuButtonPopup, InstantPopup } |
Public Member Functions | |
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 uiMenu * | menu () const |
void | setID (int i) |
int | id () const |
void | click () |
Static Public Member Functions | |
static uiToolButton * | getStd (uiParent *, OD::StdActionType, const CallBack &, const uiString &ttip) |
Private Member Functions | |
uiToolButtonBody & | mkbody (uiParent *, const char *icon_identifier, const uiString &) |
Private Attributes | |
uiToolButtonBody * | tbbody_ |
int | id_ |
uiMenu * | uimenu_ |
uiToolButton::uiToolButton | ( | uiParent * | , |
const uiToolButtonSetup & | |||
) |
uiToolButton::uiToolButton | ( | uiParent * | , |
const char * | filenm, | ||
const uiString & | tooltip, | ||
const CallBack & | |||
) |
uiToolButton::~uiToolButton | ( | ) |
void uiToolButton::click | ( | ) |
|
static |
|
inline |
bool uiToolButton::isOn | ( | ) | const |
bool uiToolButton::isToggleButton | ( | ) | const |
|
inline |
|
private |
void uiToolButton::setArrowType | ( | ArrowType | ) |
|
inline |
void uiToolButton::setMenu | ( | uiMenu * | , |
PopupMode | = MenuButtonPopup |
||
) |
Menu becomes mine.
void uiToolButton::setOn | ( | bool | yn = true | ) |
void uiToolButton::setShortcut | ( | const char * | ) |
void uiToolButton::setToggleButton | ( | bool | yn = true | ) |
|
private |
|
private |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019