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

	--- Qt Architect generated file ---

	File: isoLinesOpData.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 "isoLinesOpData.h"

#define Inherited QDialog

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

isoLinesOpData::isoLinesOpData
(
	QWidget* parent,
	const char* name
)
	:
	Inherited( parent, name, TRUE, 0 )
{
	QLabel* isoULabel;
	isoULabel = new QLabel( this, "isoULabel" );
	isoULabel->setMinimumSize( 70, 30 );
	isoULabel->setMaximumSize( 70, 30 );
	isoULabel->setText( "U Isolines:" );
	isoULabel->setAlignment( 289 );
	isoULabel->setMargin( -1 );

	isoUEdit = new QLineEdit( this, "isoULineEdit" );
	isoUEdit->setMinimumSize( 40, 30 );
	isoUEdit->setMaximumSize( 32767, 30 );
	isoUEdit->setText( "" );
	isoUEdit->setMaxLength( 32767 );
	isoUEdit->setEchoMode( QLineEdit::Normal );
	isoUEdit->setFrame( TRUE );

	QLabel* isoVLabel;
	isoVLabel = new QLabel( this, "isoVLabel" );
	isoVLabel->setMinimumSize( 70, 30 );
	isoVLabel->setMaximumSize( 70, 30 );
	isoVLabel->setText( "V Isolines:" );
	isoVLabel->setAlignment( 289 );
	isoVLabel->setMargin( -1 );

	isoVEdit = new QLineEdit( this, "isoVLineEdit" );
	isoVEdit->setMinimumSize( 40, 30 );
	isoVEdit->setMaximumSize( 32767, 30 );
	isoVEdit->setText( "" );
	isoVEdit->setMaxLength( 32767 );
	isoVEdit->setEchoMode( QLineEdit::Normal );
	isoVEdit->setFrame( TRUE );

	QPushButton* OKPushButton;
	OKPushButton = new QPushButton( this, "OKPushButton" );
	OKPushButton->setMinimumSize( 100, 30 );
	OKPushButton->setMaximumSize( 100, 30 );
	connect( OKPushButton, SIGNAL(clicked()), SLOT(setIsolinesOp()) );
	OKPushButton->setText( "OK" );
	OKPushButton->setAutoRepeat( FALSE );
	OKPushButton->setAutoResize( FALSE );
	OKPushButton->setAutoDefault( TRUE );

	QPushButton* defaultsPushButton;
	defaultsPushButton = new QPushButton( this, "defaultsPushButton" );
	defaultsPushButton->setMinimumSize( 100, 30 );
	defaultsPushButton->setMaximumSize( 100, 30 );
	connect( defaultsPushButton, SIGNAL(clicked()), SLOT(setIsolineDefaults()) );
	defaultsPushButton->setText( "Defaults" );
	defaultsPushButton->setAutoRepeat( FALSE );
	defaultsPushButton->setAutoResize( FALSE );

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

	resize( 340,90 );
	setMinimumSize( 340, 90 );
	setMaximumSize( 32767, 32767 );

    // ------------------------ create layouts

    // main column layout for whole dialog
    QVBoxLayout* mainCol = new QVBoxLayout(this, 5, -1, "mainCol");

    // horizontal row for labels and edit boxes
    QHBoxLayout* editRowLayout = new QHBoxLayout(-1,"editRowLayout");

    // add layout to main column layout
    mainCol->addLayout(editRowLayout,0);

    // add buttons to row layout
    editRowLayout->addWidget(isoULabel,0);
    editRowLayout->addWidget(isoUEdit,0);
    editRowLayout->addWidget(isoVLabel,0);
    editRowLayout->addWidget(isoVEdit,0);

    // create row layout for pushbuttons
    QHBoxLayout* buttonRowLayout = new QHBoxLayout(-1,"buttonRowLayout");
    
    // add to main column layout
    mainCol->addLayout(buttonRowLayout,0);

    // add pushbuttons to row layout
    buttonRowLayout->addWidget(OKPushButton,0);
    buttonRowLayout->addStretch(1);
    buttonRowLayout->addWidget(defaultsPushButton,0);
    buttonRowLayout->addStretch(1);
    buttonRowLayout->addWidget(cancelPushButton,0);

	resize( 340,90 );
	setMinimumSize( 340, 90 );
	setMaximumSize( 32767, 32767 );
    mainCol->activate();
}


isoLinesOpData::~isoLinesOpData()
{
}
void isoLinesOpData::setIsolinesOp()
{
}
void isoLinesOpData::setIsolineDefaults()
{
}


syntax highlighted by Code2HTML, v. 0.9.1