org.kde.koala
public class KPopupMenu extends QPopupMenu
UNKNOWN: A menu with title items.
| Constructor Summary | |
|---|---|
| protected | KPopupMenu(Class dummy) |
| KPopupMenu(QWidget parent, String name)
Constructs a KPopupMenu. | |
| KPopupMenu(QWidget parent) | |
| KPopupMenu() | |
| Method Summary | |
|---|---|
| void | activateItemAt(int index)
Reimplemented for internal purposes |
| void | changeTitle(int id, String text)
Changes the title of the item at the specified id. |
| void | changeTitle(int id, QPixmap icon, String text)
Changes the title and icon of the title item at the specified id. |
| String | className() |
| protected void | closeEvent(QCloseEvent arg1) |
| QPopupMenu | contextMenu()
Returns the context menu associated with this menu |
| protected void | contextMenuEvent(QContextMenuEvent e) |
| static KPopupMenu | contextMenuFocus()
Returns the KPopupMenu associated with the current context menu |
| static int | contextMenuFocusItem()
returns the ID of the menuitem associated with the current context menu |
| protected void | ctxMenuHideShowingMenu() |
| protected void | ctxMenuHiding() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| protected boolean | focusNextPrevChild(boolean next) |
| void | hideContextMenu()
Hides the context menu if shown |
| protected void | hideEvent(QHideEvent arg1) |
| int | insertTitle(String text, int id, int index)
Inserts a title item with no icon. |
| int | insertTitle(String text, int id) |
| int | insertTitle(String text) |
| int | insertTitle(QPixmap icon, String text, int id, int index)
Inserts a title item with the given icon and title. |
| int | insertTitle(QPixmap icon, String text, int id) |
| int | insertTitle(QPixmap icon, String text) |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| protected void | itemHighlighted(int whichItem) |
| protected void | keyPressEvent(QKeyEvent e) |
| QMetaObject | metaObject() |
| protected void | mousePressEvent(QMouseEvent e) |
| protected void | mouseReleaseEvent(QMouseEvent e) |
| protected void | resetKeyboardVars(boolean noMatches) |
| protected void | resetKeyboardVars() |
| void | setKeyboardShortcutsEnabled(boolean enable)
Enables keyboard navigation by searching for the entered key sequence.
|
| void | setKeyboardShortcutsExecute(boolean enable)
Enables execution of the menu item once it is uniquely specified.
|
| protected void | showCtxMenu(QPoint pos) |
| int | state()
Return the state of the mouse button and keyboard modifiers
when the last menuitem was activated. |
| String | title(int id)
Returns the title of the title item at the specified id. |
| String | title() |
| QPixmap | titlePixmap(int id)
Returns the icon of the title item at the specified id. |
| protected String | underlineText(String text, int length) |
UNKNOWN: Constructs a KPopupMenu.
UNKNOWN: Reimplemented for internal purposes
UNKNOWN: Changes the title of the item at the specified id.
UNKNOWN: Changes the title and icon of the title item at the specified id.
UNKNOWN: Returns the context menu associated with this menu
UNKNOWN: Returns the KPopupMenu associated with the current context menu
UNKNOWN: returns the ID of the menuitem associated with the current context menu
UNKNOWN: Hides the context menu if shown
UNKNOWN: Inserts a title item with no icon.
UNKNOWN: Inserts a title item with the given icon and title.
UNKNOWN: Enables keyboard navigation by searching for the entered key sequence.
UNKNOWN: Enables execution of the menu item once it is uniquely specified.
UNKNOWN: Return the state of the mouse button and keyboard modifiers when the last menuitem was activated.
UNKNOWN: Returns the title of the title item at the specified id.
UNKNOWN: Returns the icon of the title item at the specified id.