Faith::MenuBar Class Reference

#include <faith/menubar.h>

Inheritance diagram for Faith::MenuBar:

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


void activated (int id)
void highlighted (int id)

Public Member Functions

 MenuBar (Widget *parent, const char *name=0)
 ~MenuBar ()
MenuItemat (const Faith::Point &pt)
Rect rectOf (const MenuItem *item) const

Protected Member Functions

void paintEvent (Faith::PaintEvent *e)
void leaveEvent (Faith::Event *e)
void mousePressEvent (Faith::MouseEvent *)
void mouseMoveEvent (Faith::MouseEvent *)
bool eventFilter (Faith::Object *filtered, Faith::Event *e)
void showPopup (MenuItem *item)
void changed ()

Constructor & Destructor Documentation

Faith::MenuBar::MenuBar ( Widget parent,
const char *  name = 0 

Faith::MenuBar::~MenuBar (  ) 

Member Function Documentation

void Faith::MenuBar::activated ( int  id  )  [signal]

MenuItem* Faith::MenuBar::at ( const Faith::Point pt  ) 

void Faith::MenuBar::changed (  )  [protected, virtual]

this function is called when some items are added or removed from this menudata. The default implementation does nothing

Reimplemented from Faith::MenuData.

bool Faith::MenuBar::eventFilter ( Faith::Object filtered,
Faith::Event e 
) [protected, virtual]

process a filtered object's events.

You should reimplement this function if you have installed a filter on another widget and directed it at this object.

This function is called in an undefined order in relationship to when the event filter was installed.

whether the event should not continue to the filtered object. Return true to keep the event from reaching filtered, and also being sent to further filters.

Reimplemented from Faith::Object.

void Faith::MenuBar::highlighted ( int  id  )  [signal]

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

Reimplemented from Faith::Widget.

void Faith::MenuBar::mouseMoveEvent ( Faith::MouseEvent  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::MenuBar::mousePressEvent ( Faith::MouseEvent  )  [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::MenuBar::paintEvent ( Faith::PaintEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

Rect Faith::MenuBar::rectOf ( const MenuItem item  )  const

void Faith::MenuBar::showPopup ( MenuItem item  )  [protected]

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