#include <faith/popupmenu.h>
Inheritance diagram for Faith::PopupMenu:

Signals | |
| void | activated (int id) |
| void | activated (Faith::MenuItem *m) |
Public Member Functions | |
| PopupMenu (Widget *parent, const char *name=0) | |
| ~PopupMenu () | |
| MenuItem * | at (const Faith::Point &pt) |
| Faith::Rect | rectOf (const MenuItem *item) const |
| virtual void | show () |
Protected Member Functions | |
| void | paintEvent (Faith::PaintEvent *e) |
| void | leaveEvent (Faith::Event *e) |
| void | mousePressEvent (Faith::MouseEvent *) |
| void | mouseReleaseEvent (Faith::MouseEvent *) |
| void | mouseMoveEvent (Faith::MouseEvent *) |
| void | showEvent (Faith::Event *e) |
| void | hideEvent (Faith::Event *e) |
| Faith::PopupMenu::PopupMenu | ( | Widget * | parent, | |
| const char * | name = 0 | |||
| ) |
| Faith::PopupMenu::~PopupMenu | ( | ) |
| void Faith::PopupMenu::activated | ( | Faith::MenuItem * | m | ) | [signal] |
| void Faith::PopupMenu::activated | ( | int | id | ) | [signal] |
| MenuItem* Faith::PopupMenu::at | ( | const Faith::Point & | pt | ) |
| void Faith::PopupMenu::hideEvent | ( | Faith::Event * | e | ) | [protected, virtual] |
Reimplemented from Faith::Widget.
| void Faith::PopupMenu::leaveEvent | ( | Faith::Event * | e | ) | [protected, virtual] |
Reimplemented from Faith::Widget.
| void Faith::PopupMenu::mouseMoveEvent | ( | Faith::MouseEvent * | ) | [protected, virtual] |
Reimplemented from Faith::Widget.
| void Faith::PopupMenu::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::PopupMenu::mouseReleaseEvent | ( | Faith::MouseEvent * | ) | [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::PopupMenu::paintEvent | ( | Faith::PaintEvent * | e | ) | [protected, virtual] |
Reimplemented from Faith::Widget.
| Faith::Rect Faith::PopupMenu::rectOf | ( | const MenuItem * | item | ) | const |
| virtual void Faith::PopupMenu::show | ( | ) | [virtual] |
causes the Widget to be shown immediately, or just as the event loop is entered
Reimplemented from Faith::Widget.
| void Faith::PopupMenu::showEvent | ( | Faith::Event * | e | ) | [protected, virtual] |
Reimplemented from Faith::Widget.
1.4.7