Go to the source code of this file.
|
#define | mResetMenuItem(item) |
|
#define | mAddMenuItemWithManageFlag(parent, item, manage, enab, check) |
|
#define | mAddMenuItem(parent, item, enab, check) mAddMenuItemWithManageFlag( parent, item, false, enab, check ) |
|
#define | mAddManagedMenuItem(parent, item, enab, check) mAddMenuItemWithManageFlag( parent, item, true, enab, check ) |
|
#define | mAddMenuItemCond(menu, item, enab, check, cond) |
|
#define | mAddMenuOrTBItem(istoolbar, tbparent, popupparent, item, enab, check) |
|
#define mAddMenuItemCond |
( |
|
menu, |
|
|
|
item, |
|
|
|
enab, |
|
|
|
check, |
|
|
|
cond |
|
) |
| |
Value:{ \
#define mResetMenuItem(item)
Definition: menuhandler.h:272
#define mAddMenuItem(parent, item, enab, check)
Definition: menuhandler.h:291
#define mAddMenuItemWithManageFlag |
( |
|
parent, |
|
|
|
item, |
|
|
|
manage, |
|
|
|
enab, |
|
|
|
check |
|
) |
| |
Value:{ \
MenuItem* _item = item; \
MenuItemHolder* _parent = parent; \
if ( _parent && (_parent)->itemIndex(_item)==-1 ) \
(_parent)->addItem( _item ); \
\
(_item)->enabled = (enab); \
(_item)->checked = (check); \
}
#define mAddMenuOrTBItem |
( |
|
istoolbar, |
|
|
|
tbparent, |
|
|
|
popupparent, |
|
|
|
item, |
|
|
|
enab, |
|
|
|
check |
|
) |
| |
Value: item, enab, check )
#define mAddMenuItem(parent, item, enab, check)
Definition: menuhandler.h:291
#define mResetMenuItem |
( |
|
item | ) |
|
Value:{ \
(item)->enabled = true; \
(item)->checked = false; \
(item)->id = -1; \
(item)->removeItems(); \
}