/*
 * TableWidget.h
 *
 *  Created on: 10.03.2011
 *      Author: stefan.detter
 */

#ifndef TABLEWIDGET_H_
#define TABLEWIDGET_H_

#include <QTableWidget>

class TableWidget : public QTableWidget
{
	Q_OBJECT
public:
	TableWidget( QWidget * parent );
	virtual ~TableWidget();

	void setColumnPercentWidth ( int column, uchar percent );

protected:
	virtual void resizeEvent ( QResizeEvent * event );

private:
	QByteArray	m_percentWidth;
};

#endif /* TABLEWIDGET_H_ */
