#include <upopupmenu.hpp>
Inheritance diagram for ufo::UPopupMenu:
Public Types | |
typedef USignal1< UPopupMenu * > | MenuSignal |
typedef USignal2< UPopupMenu *, UMenuItem * > | MenuItemSignal |
Public Member Functions | |
UPopupMenu (UWidget *invoker) | |
virtual void | setVisible (bool v) |
void | addSeparator () |
void | setPopupLocation (const UPoint &pos) |
UPoint | getPopupLocation () const |
virtual void | setInvoker (UWidget *invoker) |
virtual UWidget * | getInvoker () const |
MenuSignal & | sigMenuAboutToOpen () |
MenuSignal & | sigMenuAboutToClose () |
MenuItemSignal & | sigMenuItemHighlight () |
Protected Member Functions | |
void | popupCloseSlot (UPopup *popup) |
|
appends a separator at the end |
|
Closes this popup menu. FIXME: Should this be within the UI class? |
|
Sets the invoker widget which opens this popupmenu |
|
Sets the popup location relative to invoker widget. The popup location is always in coordinates of the invoker widget. |
|
use show, at least the first time
Reimplemented from ufo::UWidget.
|
|
This popup menu is about to close |
|
This popup menu is about to be opened |
|
A menu item is selected |