Faith::ToolButton Class Reference

#include <faith/toolbar.h>

Inheritance diagram for Faith::ToolButton:

Faith::Widget Faith::MenuItem Faith::Object Faith::PaintDevice List of all members.

Signals

void clicked ()
void clicked (Faith::ToolButton *)

Public Member Functions

 ToolButton (int id, Widget *parent, const char *name=0)
 ~ToolButton ()
virtual Size sizeHint () const

Protected Member Functions

void paintEvent (PaintEvent *e)
void enterEvent (Event *)
void leaveEvent (Event *)
void mouseReleaseEvent (MouseEvent *e)
void mousePressEvent (MouseEvent *e)

Constructor & Destructor Documentation

Faith::ToolButton::ToolButton ( int  id,
Widget parent,
const char *  name = 0 
)

Faith::ToolButton::~ToolButton (  ) 


Member Function Documentation

void Faith::ToolButton::clicked ( Faith::ToolButton  )  [signal]

void Faith::ToolButton::clicked (  )  [signal]

void Faith::ToolButton::enterEvent ( Event  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::ToolButton::leaveEvent ( Event  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::ToolButton::mousePressEvent ( MouseEvent e  )  [protected, virtual]

This function is called when the user presses the mouse while over the widget (immediately after the push down)

Reimplemented from Faith::Widget.

void Faith::ToolButton::mouseReleaseEvent ( MouseEvent e  )  [protected, virtual]

This function is called when the use releases the mouse after it has been clicked on this widget.

This function is called even when the mouse was not over this widget. The only condition is that a mousePressEvent was sent to this object prior

Reimplemented from Faith::Widget.

void Faith::ToolButton::paintEvent ( PaintEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

virtual Size Faith::ToolButton::sizeHint (  )  const [virtual]

Returns:
this Widget's recommended size.
If this widget doesn't want to make a recommendation, the size will be invalid Faith::Size::isInvalid()

Reimplemented from Faith::Widget.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:10 2006 for Faith by  doxygen 1.4.7