#ifndef _OPTIONSDETAIL_H_
#define _OPTIONSDETAIL_H_

#include <qwidget.h>
#include <qlistview.h>
#include <qlist.h>
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qlineedit.h>

class OptionsDetail : public QWidget
{
	Q_OBJECT;

public:
	OptionsDetail(QWidget *parent = 0, const char *name = 0);
	virtual ~OptionsDetail();

	void setColumns(QStrList& ColType, QStrList& ColWidth, QString *ColName);
	void getColumns(QStrList& ColType, QStrList& ColWidth);

protected slots:
	void addClicked();
	void deleteClicked();
	void modifyClicked();
	void selectionChanged(QListViewItem*);

public:
	QListView	*ListView;
	QList<QListViewItem>	ItemList;
	QLineEdit	*Width;
	QComboBox	*Type;
	QComboBox	*DateFormat;
	bool		Modified;
};

#endif
