#ifndef TABLEDISPLAYWIDGET_H
#define TABLEDISPLAYWIDGET_H

#include <QTableWidget>
#include <QGraphicsView>

class TableDisplayWidget : public QTableWidget
{
	Q_OBJECT

public:
	TableDisplayWidget(QGraphicsView *pCalendarGraphicsView, int rows, int columns, bool bEntityItem = false, QWidget *parent = 0);

protected:
	bool viewportEvent(QEvent *event);

private:
	QGraphicsView *m_pCalendarGraphicsView;

	bool m_bEntityItem;
};

#endif // TABLEDISPLAYWIDGET_H
