QPopupMenu Class Reference
The QPopupMenu class provides a popup menu widget.
(details)
(complete member list)
#include <qpopmenu.h>
Inherits QMenuData and QTableWidget.
Public Members
- QPopupMenu (QWidget* parent=0, const char* name=0)
- ~QPopupMenu ()
- void popup (const QPoint& pos, int indexAtPoint = 0)
- void updateItem (int id)
- void setFont (const QFont&)
- void show ()
- void hide ()
Signals
- void activated (int itemId)
- void highlighted (int itemId)
- void activatedRedirect (int itemId)
- void highlightedRedirect (int itemId)
Protected Members
- int cellHeight (long)
- int cellWidth (long)
- void paintCell (QPainter*, long, long)
- void mousePressEvent (QMouseEvent*)
- void mouseReleaseEvent (QMouseEvent*)
- void mouseMoveEvent (QMouseEvent*)
- void keyPressEvent (QKeyEvent*)
- void timerEvent (QTimerEvent*)
The QPopupMenu class provides a popup menu widget.
This popup widget is different from other widgets in the way it relates to
the parent widget.
Member Function Documentation
Constructs a popup menu with a parent and a widget name.
Destroys the popup menu.
.
Opens the popup menu so that the item number indexAtPoint
will be at the specified global position pos.
.
This file is part of the Qt toolkit,
copyright 1995
Troll Tech, all rights reserved.
It was generated from the following files:
- qpopmenu.h: 1995/05/19
- qpopmenu.cpp: 1995/06/28
Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech