#include <faith/menubar.h>
Inheritance diagram for Faith::MenuBar:

Signals | |
| void | activated (int id) |
| void | highlighted (int id) |
Public Member Functions | |
| MenuBar (Widget *parent, const char *name=0) | |
| ~MenuBar () | |
| MenuItem * | at (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 () |
| Faith::MenuBar::MenuBar | ( | Widget * | parent, | |
| const char * | name = 0 | |||
| ) |
| Faith::MenuBar::~MenuBar | ( | ) |
| 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.
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.
| void Faith::MenuBar::showPopup | ( | MenuItem * | item | ) | [protected] |
1.4.7