#include <LineDlg.h>
#include <kapp.h>

LineDlg::LineDlg(QWidget *parent, const char *name)
	: QDialog(parent,name,TRUE)
{
	resize(300,70);
	Label = new QLabel(this);
	Label->setGeometry(10,10,210,20);
	EditText = new QLineEdit(this);
	EditText->setGeometry(10,35,210,25);
	EditText->setFocus();
	QPushButton	*ok = new QPushButton(i18n("OK"),this);
	ok->setGeometry(230,10,60,25);
	connect(ok,SIGNAL(clicked()),SLOT(accept()));
	ok->setDefault(TRUE);
	QPushButton	*cancel = new QPushButton(i18n("Cancel"),this);
	cancel->setGeometry(230,40,60,25);
	connect(cancel,SIGNAL(clicked()),SLOT(reject()));
}
