#include <popupmenueditor.h>
Lista de todos los miembros.
Tipos públicos |
enum | ItemType { Unknown = -1,
Separator = 0,
Action = 1
} |
Slots públicos |
void | selfDestruct () |
Métodos públicos |
| PopupMenuEditorItem (QAction *action, PopupMenuEditor *menu, QObject *parent=0, const char *name=0) |
| PopupMenuEditorItem (PopupMenuEditorItem *item, PopupMenuEditor *menu, QObject *parent=0, const char *name=0) |
| ~PopupMenuEditorItem () |
void | init () |
ItemType | type () const |
QAction * | action () const |
void | setVisible (bool enable) |
bool | isVisible () const |
void | setSeparator (bool enable) |
bool | isSeparator () const |
void | setRemovable (bool enable) |
bool | isRemovable () const |
void | showMenu (int x, int y) |
void | hideMenu () |
void | focusOnMenu () |
PopupMenuEditor * | subMenu () const |
int | count () const |
bool | eventFilter (QObject *, QEvent *event) |
Amigas |
class | PopupMenuEditor |
Documentación de las enumeraciones miembro de la clase
- Valores de enumeraciones:
-
Documentación del constructor y destructor
PopupMenuEditorItem::~PopupMenuEditorItem |
( |
| ) |
|
Documentación de las funciones miembro
QAction* PopupMenuEditorItem::action |
( |
| ) |
const [inline] |
int PopupMenuEditorItem::count |
( |
| ) |
const |
Filters events if this object has been installed as an event filter for the watched object.
In your reimplementation of this function, if you want to filter the event e, out, i.e. stop it being handled further, return TRUE; otherwise return FALSE.
Example:
Notice in the example above that unhandled events are passed to the base class's eventFilter() function, since the base class might have reimplemented eventFilter() for its own internal purposes.
- Atención:
- If you delete the receiver object in this function, be sure to return TRUE. Otherwise, Qt will forward the event to the deleted object and the program might crash.
- Ver también:
- installEventFilter()
Reimplementado de QObject.
void PopupMenuEditorItem::focusOnMenu |
( |
| ) |
|
void PopupMenuEditorItem::hideMenu |
( |
| ) |
|
void PopupMenuEditorItem::init |
( |
| ) |
|
bool PopupMenuEditorItem::isRemovable |
( |
| ) |
const [inline] |
bool PopupMenuEditorItem::isSeparator |
( |
| ) |
const [inline] |
bool PopupMenuEditorItem::isVisible |
( |
| ) |
const |
void PopupMenuEditorItem::selfDestruct |
( |
| ) |
[slot] |
void PopupMenuEditorItem::setRemovable |
( |
bool |
enable | ) |
[inline] |
void PopupMenuEditorItem::setSeparator |
( |
bool |
enable | ) |
[inline] |
void PopupMenuEditorItem::setVisible |
( |
bool |
enable | ) |
|
void PopupMenuEditorItem::showMenu |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Documentación de las funciones relacionadas y clases amigas
La documentación para esta clase fue generada a partir de los siguientes ficheros: