
#ifndef __QPopupMenu_h
#define __QPopupMenu_h

#include "LgiLinux.h"
#include "qpopup.h"

/*
class QPopupMenu : public QPopup, public QMenuData
{
	friend class QMenuData;

	class QPopupMenuPrivate *Popup;
	void ShowNextMenu(int Dx);

public:
	QPopupMenu();
	~QPopupMenu();

	virtual int popup(QWidget *parent, int x, int y);
	QMenuItem *ItemClicked();

	// Events
	void paintEvent(QEvent *e);
	void mousePressEvent(QEvent *e);
	bool keyPressEvent(QEvent *e);
	bool keyReleaseEvent(QEvent *e);
	void show(bool Raise);
	void hide();

	// Impl
	void OnSubMenuVisible(QPopupMenu *Item, bool Visible);
	void OnMenuClick(QMenuItem *Item);
	void OnMenuEnter(QMenuItem *Item);
};
*/

#endif
