/**********************************************************************

	--- Qt Architect generated file ---

	File: boxWidthOpData.cpp

    Xgfe: X Windows GUI front end to Gnuplot
    Copyright (C) 1998 David Ishee

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

 *********************************************************************/

#include "boxWidthOpData.h"

#define Inherited QDialog

#include <qlabel.h>
#include <qpushbt.h>

boxWidthOpData::boxWidthOpData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name, TRUE, 0 )
{
	QLabel* dlgedit_boxWidthLabel;
	dlgedit_boxWidthLabel = new QLabel( this, "boxWidthLabel" );
	dlgedit_boxWidthLabel->setGeometry( 30, 10, 70, 30 );
	dlgedit_boxWidthLabel->setMinimumSize( 70, 30 );
	dlgedit_boxWidthLabel->setMaximumSize( 70, 30 );
	dlgedit_boxWidthLabel->setText( "Box Width:" );
	dlgedit_boxWidthLabel->setAlignment( 289 );
	dlgedit_boxWidthLabel->setMargin( -1 );

	boxWidthEdit = new QLineEdit( this, "boxWidthLineEdit" );
	boxWidthEdit->setGeometry( 150, 10, 50, 30 );
	boxWidthEdit->setMinimumSize( 10, 10 );
	boxWidthEdit->setMaximumSize( 32767, 32767 );
	boxWidthEdit->setText( "" );
	boxWidthEdit->setMaxLength( 32767 );
	boxWidthEdit->setEchoMode( QLineEdit::Normal );
	boxWidthEdit->setFrame( TRUE );

	QPushButton* dlgedit_okPushButton;
	dlgedit_okPushButton = new QPushButton( this, "okPushButton" );
	dlgedit_okPushButton->setGeometry( 10, 50, 100, 40 );
	dlgedit_okPushButton->setMinimumSize( 100, 40 );
	dlgedit_okPushButton->setMaximumSize( 100, 40 );
	connect( dlgedit_okPushButton, SIGNAL(clicked()), SLOT(setBoxWidth()) );
	dlgedit_okPushButton->setText( "OK" );
	dlgedit_okPushButton->setAutoRepeat( FALSE );
	dlgedit_okPushButton->setAutoResize( FALSE );
	dlgedit_okPushButton->setAutoDefault( TRUE );
    dlgedit_okPushButton->setDefault( TRUE );

	QPushButton* dlgedit_cancelPushButton;
	dlgedit_cancelPushButton = new QPushButton( this, "cancelPushButton" );
	dlgedit_cancelPushButton->setGeometry( 120, 50, 100, 30 );
	dlgedit_cancelPushButton->setMinimumSize( 100, 30 );
	dlgedit_cancelPushButton->setMaximumSize( 100, 30 );
	connect( dlgedit_cancelPushButton, SIGNAL(clicked()), SLOT(reject()) );
	dlgedit_cancelPushButton->setText( "Cancel" );
	dlgedit_cancelPushButton->setAutoRepeat( FALSE );
	dlgedit_cancelPushButton->setAutoResize( FALSE );

	resize( 230,90 );
	setMinimumSize( 230, 90 );
	setMaximumSize( 230, 90 );
}


boxWidthOpData::~boxWidthOpData()
{
}
void boxWidthOpData::setBoxWidth()
{
}


syntax highlighted by Code2HTML, v. 0.9.1