QbButton Class Reference

#include <QbButton.h>

Inheritance diagram for QbButton:

Inheritance graph
[legend]

Public Member Functions

virtual void notify (SoNotList *list)
virtual void pick (SoPickAction *action)
 QbButton (void)
 constructor


Static Public Member Functions

void initClass (void)

Data Fields

SoSFBool down
SoSFBool enabled
SoSFBool isToggle
SoSFNode modelOff
SoSFNode modelOffDisabled
SoSFNode modelOffDown
SoSFNode modelOn
SoSFNode modelOnDisabled
SoSFNode modelOnDown
SoSFBool on

Protected Types

enum  State {
  OFF, OFFDOWN, OFFDISABLED, ON,
  ONDOWN, ONDISABLED
}

Protected Member Functions

virtual void doClick ()
virtual void doClickCancel ()
virtual void doMouseDown (const SoMouseButtonEvent::Button button)
virtual void doMouseUp (const SoMouseButtonEvent::Button button)
void replaceModel (State s, SoNode *model)
void setDown (bool d)
void setEnabled (bool e)
void setOn (bool o)
void switchState (State s)

Protected Attributes

State state
SoSwitch * switchNode

Private Types

typedef QbWidget inherited

Private Member Functions

void connectOutFields (SoNode *model)
 SO_NODE_ABSTRACT_HEADER (QbButton)

Detailed Description

The base class for all button like widgets. Provides mechanism for state change.

Definition at line 9 of file QbButton.h.


Constructor & Destructor Documentation

QbButton::QbButton void   ) 
 

constructor


The documentation for this class was generated from the following file:
Generated on Thu Oct 28 11:03:50 2004 for gitk by doxygen 1.3.6