Public Member Functions | Private Member Functions | Private Attributes

uiPushButton Class Reference

Push button. By default, assumes immediate action, not a dialog when pushed. The button text will in that case get an added " ..." to the text. In principle, it could also get another appearance. More...

Inheritance diagram for uiPushButton:
uiButton uiObject uiBaseObject NamedObject CallBacker

List of all members.

Public Member Functions

 uiPushButton (uiParent *, const char *nm, bool immediate)
 uiPushButton (uiParent *, const char *nm, const CallBack &, bool immediate)
 uiPushButton (uiParent *, const char *nm, const ioPixmap &, bool immediate)
 uiPushButton (uiParent *, const char *nm, const ioPixmap &, const CallBack &, bool immediate)
 ~uiPushButton ()
void setDefault (bool yn=true)
void setPixmap (const char *)
void setPixmap (const ioPixmap &)
void click ()
 Size of pixmap is 1/2 the size of button.

Private Member Functions

uiPushButtonBody & mkbody (uiParent *, const ioPixmap *, const char *, bool)

Private Attributes

uiPushButtonBody * body_

Detailed Description

Push button. By default, assumes immediate action, not a dialog when pushed. The button text will in that case get an added " ..." to the text. In principle, it could also get another appearance.


Constructor & Destructor Documentation

uiPushButton::uiPushButton ( uiParent ,
const char *  nm,
bool  immediate 
)
uiPushButton::uiPushButton ( uiParent ,
const char *  nm,
const CallBack ,
bool  immediate 
)
uiPushButton::uiPushButton ( uiParent ,
const char *  nm,
const ioPixmap ,
bool  immediate 
)
uiPushButton::uiPushButton ( uiParent ,
const char *  nm,
const ioPixmap ,
const CallBack ,
bool  immediate 
)
uiPushButton::~uiPushButton (  ) 

Member Function Documentation

void uiPushButton::click (  )  [virtual]

Size of pixmap is 1/2 the size of button.

Reimplemented from uiButton.

uiPushButtonBody& uiPushButton::mkbody ( uiParent ,
const ioPixmap ,
const char *  ,
bool   
) [private]
void uiPushButton::setDefault ( bool  yn = true  ) 
void uiPushButton::setPixmap ( const ioPixmap  ) 
void uiPushButton::setPixmap ( const char *   ) 

Member Data Documentation

uiPushButtonBody* uiPushButton::body_ [private]

Reimplemented from uiBaseObject.