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

	--- Qt Architect generated file ---

	File: barOpData.cpp

   This file is part of 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 "barOpData.h"

#define Inherited QDialog

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

barOpData::barOpData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name, TRUE, 0 )
{
	QLabel* dlgedit_barLabel;
	dlgedit_barLabel = new QLabel( this, "barLabel" );
	dlgedit_barLabel->setGeometry( 30, 10, 60, 30 );
	dlgedit_barLabel->setMinimumSize( 60, 30 );
	dlgedit_barLabel->setMaximumSize( 60, 30 );
	dlgedit_barLabel->setText( "Bar Size:" );
	dlgedit_barLabel->setAlignment( 289 );
	dlgedit_barLabel->setMargin( -1 );

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

	QLabel* dlgedit_synLabel;
	dlgedit_synLabel = new QLabel( this, "synLabel" );
	dlgedit_synLabel->setGeometry( 30, 50, 70, 30 );
	dlgedit_synLabel->setMinimumSize( 70, 30 );
	dlgedit_synLabel->setMaximumSize( 70, 30 );
	dlgedit_synLabel->setText( "Synonym:" );
	dlgedit_synLabel->setAlignment( 289 );
	dlgedit_synLabel->setMargin( -1 );

	synList = new QComboBox( FALSE, this, "synComboBox" );
	synList->setGeometry( 120, 50, 100, 30 );
	synList->setMinimumSize( 10, 10 );
	synList->setMaximumSize( 32767, 32767 );
	synList->setSizeLimit( 2 );
	synList->setAutoResize( FALSE );
	synList->insertItem( "small" );
	synList->insertItem( "large" );

	QPushButton* dlgedit_okPushButton;
	dlgedit_okPushButton = new QPushButton( this, "okPushButton" );
	dlgedit_okPushButton->setGeometry( 10, 90, 100, 30 );
	dlgedit_okPushButton->setMinimumSize( 100, 35 );
	dlgedit_okPushButton->setMaximumSize( 100, 35 );
	connect( dlgedit_okPushButton, SIGNAL(clicked()), SLOT(setBarOption()) );
	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, 90, 100, 30 );
	dlgedit_cancelPushButton->setMinimumSize( 10, 10 );
	dlgedit_cancelPushButton->setMaximumSize( 32767, 32767 );
	connect( dlgedit_cancelPushButton, SIGNAL(clicked()), SLOT(reject()) );
	dlgedit_cancelPushButton->setText( "Cancel" );
	dlgedit_cancelPushButton->setAutoRepeat( FALSE );
	dlgedit_cancelPushButton->setAutoResize( FALSE );

	resize( 230,130 );
	setMinimumSize( 0, 0 );
	setMaximumSize( 32767, 32767 );
}


barOpData::~barOpData()
{
}
void barOpData::setBarOption()
{
}


syntax highlighted by Code2HTML, v. 0.9.1