#ifndef _KFIXPANNER_H_
#define _KFIXPANNER_H_

#include <qwidget.h>

class KFixPanner : public QWidget
{
	Q_OBJECT

public:
	enum Orientation {Vertical, Horizontal};

public:
	KFixPanner(QWidget *parent = 0, Orientation type = Vertical);
	void activate(QWidget *c0,QWidget *c1);
	void disactivate();

protected:
	virtual void resizeEvent(QResizeEvent *);

private:
	QWidget	*C0, *C1;
	int	C0Width;
	Orientation	Type;
	bool	Activated;
};

#endif
